locked
Question concerning web apps that should support mobile devices as well. RRS feed

  • Question

  • User1726917541 posted

    I am wanting to design a web application (ASP.NET with vs 2010 and the 4 framework) that should work on mobile devices web browsers as well.   Do I have to write 2 seperate web UI's or can I write 1, that is styled differently for desktop browsing vs mobile browsing?

    I am new to trying to develope for a mobile device, and a push in the right direction would be a big help.  I have googled but must not be using the right terms as what I get is not very good.


    Thanks

    Thursday, April 22, 2010 9:01 AM

Answers

All replies

  • User1419564672 posted

    The regular UI will not look the same in the reduced space of the mobile devices.  I think that what most public-facing web sites do is detect the browser and then re-direct to a mobile site, which can be just a sub-folder off of your main site.  Here are some links:

    http://articles.sitepoint.com/article/designing-for-mobile-web/2

    http://woork.blogspot.com/2008/07/tips-to-design-your-site-for-mobile.html

    Hope that it helps.

    Thanks...Chris 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 5, 2010 5:44 PM
  • User1135281112 posted

    Hello

    - No need to create seperate website. You can added mobile optimized pages to your existing website.

    - Design the content for your mobile pages. Avoid images for fast loading. Avoid complex html structure. Stick to basics

    - Add a detector process, which detects from where request is coming. If it is mobile than redirect user to mobile optimized pages.

    - Different mobile has different capabilities (e.g screen size, image support, html support, xhtml support etc.). So it is very important that you know what type of device is trying to access your website and accordingly render required HTML/XHTML supported by the mobile device.

     To fetch mobile capabilities use http://www.51degrees.mobi/Products/NETMobileAPI/tabid/86/Default.aspx it is a free ASP.NET mobile api which helps to integrate mobile devices with existing and future web sites. It makes use of WURFL device database which is widely-accepted as the most advanced and up-to-date mobile device database available.

    It has add-in for .NET web sites that'll automatically determine if a mobile device is accessing the site and redirect it to mobile specific content. You do not have to update any of your existing asp.net pages for same.

    For more details have a look at http://51degrees.mobi/Forum/tabid/92/forumid/3/postid/114/scope/posts/Default.aspx#114

    Sunday, May 9, 2010 8:58 AM
  • User1726917541 posted

    Thanks for the ideas, both where helpful.  

    I have a basic site going, but see that the MobiePage object is depricated in .net 4.0?   Anyone know of a good site that describe creating mobile websites for the 4.0 .net framework?   I have found that information hard to find.   Which seems to be because they have not released it yet??  Or some new sdk is coming soon??   Anyone have some information on this?

    Thanks

    Tuesday, May 11, 2010 8:28 AM
  • User1419564672 posted

    Just design the site, as if you were designing a regular web site (using the regular .Net framework)...avoid JS as some mobile devices might not support it, without using the mobile controls, just use CSS to style it for the limited real estate of the  mobile device world.

    Thanks...Chris

    Tuesday, May 11, 2010 10:15 AM