Results 1 to 6 of 6

Thread: mobile/tablet programming

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    mobile/tablet programming

    It's like mobile and tablet now very popular these days for web development. How do you guys do it? Meaning what technology in C# and asp.net that you implement to make your site works with those devices too?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: mobile/tablet programming

    You don't have to do anything to make a web page work with a mobile device. Any device with a browser can view any web page. The difference with mobile devices is that they usually have low-bandwidth connections to the internet, so complex pages take some time to download. Many sites provide mobile-specific versions of their pages that are simply lighter, i.e. contain less data to be downloaded. That's all the difference. It's still just HTML, like any other page, but designed to be as simple as possible so as to download quickly.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Re: mobile/tablet programming

    How do you detect if it's mobile or tablet to redirect them to mobile site? and how to convert a site to a mobile site?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: mobile/tablet programming

    Quote Originally Posted by vbbit View Post
    How do you detect if it's mobile or tablet to redirect them to mobile site?
    I've never actually done it myself but I believe that it's a matter of looking at the Page.Request.Headers to find information about the browser and platform and then redirecting as appropriate if required.
    Quote Originally Posted by vbbit View Post
    and how to convert a site to a mobile site?
    There is no "conversion". Let me repeat what I said in my previous post: there is no specific technology difference between a web site and a web site intended for mobile devices. It's purely the fact that the pages are designed to contain less data. There are some conventions, including the site being configured with a URL like m.domain.com instead of www.domain.com.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: mobile/tablet programming

    There may be a difference if you are developing your mobile app in the mobile app language, meaning if, p.e. you are creating and android java application with web features, you usually go with eclipse suite. Now if you want to create the full application there and call on line routines then you will use the eclipse framework (nevertheless you are still creating html - xml code ) as the creating tool. If you want to create your web site on line somewhere and call it from mobile then you may use an available web browser control in eclipse and load your data there. Similar on how you will do so in .net .
    I am starting on learning android development but i still do not know what is the preferred way to go. My first application used a web browser to call an internet site designed for mobile devices.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: mobile/tablet programming

    Quote Originally Posted by sapator View Post
    There may be a difference if you are developing your mobile app in the mobile app language, meaning if, p.e. you are creating and android java application with web features, you usually go with eclipse suite. Now if you want to create the full application there and call on line routines then you will use the eclipse framework (nevertheless you are still creating html - xml code ) as the creating tool. If you want to create your web site on line somewhere and call it from mobile then you may use an available web browser control in eclipse and load your data there. Similar on how you will do so in .net .
    I am starting on learning android development but i still do not know what is the preferred way to go. My first application used a web browser to call an internet site designed for mobile devices.
    I have to admit, I don't know how things work on other platforms and whether they provide tools intended for sites built for mobile devices. This thread is in the ASP.NET forum though, so the OP should probably read this:

    http://msdn.microsoft.com/en-us/libr...vs.100%29.aspx

    That was the first result when I Googled asp.net mobile site development.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width