locked
Newbie Question on Mobile Development RRS feed

  • Question

  • I'm pretty much at Square One with mobile development. I've been developing intranet and internet applications for 10 years and would like to see if I can write something that would allow a cellphone (Blackberry, iPhone or whatever) to access a website and interact with the application. I'm guessing that this can be done using the .Net Compact Framework just as you can write a .net app that can be run on a mac or a pc with any browser. Is that right or is it necessary to target a single OS or phone manufacturer when developing for mobile machines? Any suggestions on a good site for design considerations would be most appreciated.

    Thanks

    Saturday, June 13, 2009 2:47 AM

Answers

  • Hi,

    I think you are trying for application which is independent to all platforms. In that case, as you have chosen web mobile application is perfect.

    but .Net Compact Framework is not to develop web mobile applictions. Its to develop client based applications but not browser based. Actually for developing web mobile applications you need to use .net Framework and its similar to develop web applications  for desktops. There will be a option called mobile web forms and have limited controls to place on mobile web forms.


    Check this linkes for Mobile web development:

    http://www.wirelessdevnet.com/channels/wap/features/mobilesdk2.html


    http://msdn.microsoft.com/en-us/magazine/cc301785.aspx



    Is that right or is it necessary to target a single OS or phone manufacturer when developing for mobile machines?
    Yes if the application is client based and using Objective-C then that application will only work for iPhone. In the similar way .Net compact framework application do not work for any other OS.

    Please let me know if this explanation is not clear.


    Regards,
    Malleswar

    Saturday, June 13, 2009 10:04 AM

  • For Web Applications:
    If you are trying to create a web application it is possible to create a single version that will work on most mobile devices if you target the lowest common denominators.  But this compatibility is achieved at the cost of the richness of the application.
    For Local Applications:
    As Malleswar points out if you are making an application that runs on the device there's really no single language or development language that will fit all mobile devices.  Even if you use devices that are all capable of supporting the same platform (which is .Net for the various Windows Mobile devices) you'll need to account for hardware variations and other capability differences among devices; devices can have differing screen resolutions, input methods (ex: some devices have no directional pad) and so on.  On that note it may be worth looking at the Microsoft Facebook application, Microsoft Live Search for phones, or the Microsoft Netflix application.  All of these are programs that form excelent examples of interfaces that are usable across the many forms of Windows Mobile devices.
    Joel Ivory Johnson
    • Marked as answer by warrentang Friday, June 19, 2009 2:35 AM
    Sunday, June 14, 2009 12:33 PM

All replies

  • Hi,

    You might want to take a look at the RampUp track that is available on MSDN, along with Mobile Windows Forms Development, it also has a section on Mobile Web Development :-

    http://msdn.microsoft.com/en-us/rampup/dd807370.aspx

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Saturday, June 13, 2009 7:06 AM
  • Hi,

    I think you are trying for application which is independent to all platforms. In that case, as you have chosen web mobile application is perfect.

    but .Net Compact Framework is not to develop web mobile applictions. Its to develop client based applications but not browser based. Actually for developing web mobile applications you need to use .net Framework and its similar to develop web applications  for desktops. There will be a option called mobile web forms and have limited controls to place on mobile web forms.


    Check this linkes for Mobile web development:

    http://www.wirelessdevnet.com/channels/wap/features/mobilesdk2.html


    http://msdn.microsoft.com/en-us/magazine/cc301785.aspx



    Is that right or is it necessary to target a single OS or phone manufacturer when developing for mobile machines?
    Yes if the application is client based and using Objective-C then that application will only work for iPhone. In the similar way .Net compact framework application do not work for any other OS.

    Please let me know if this explanation is not clear.


    Regards,
    Malleswar

    Saturday, June 13, 2009 10:04 AM

  • For Web Applications:
    If you are trying to create a web application it is possible to create a single version that will work on most mobile devices if you target the lowest common denominators.  But this compatibility is achieved at the cost of the richness of the application.
    For Local Applications:
    As Malleswar points out if you are making an application that runs on the device there's really no single language or development language that will fit all mobile devices.  Even if you use devices that are all capable of supporting the same platform (which is .Net for the various Windows Mobile devices) you'll need to account for hardware variations and other capability differences among devices; devices can have differing screen resolutions, input methods (ex: some devices have no directional pad) and so on.  On that note it may be worth looking at the Microsoft Facebook application, Microsoft Live Search for phones, or the Microsoft Netflix application.  All of these are programs that form excelent examples of interfaces that are usable across the many forms of Windows Mobile devices.
    Joel Ivory Johnson
    • Marked as answer by warrentang Friday, June 19, 2009 2:35 AM
    Sunday, June 14, 2009 12:33 PM
  • Thanks for the suggestions. I'm interested in developing web applications that will run on Blackberry phones which is what my company has purchased. I've noticed that Blackberry doesn't seem to like javascript or css. Dropdown menus pretty much fall apart on the Blackberry.

    Malleswar mentions mobile web forms in Visual Studio 2005. For some reason I don't have those in my Visual Studio 2005. In fact i seem to be missing alot of them since I downloaded the windows mobile toolkit.

    Joel, Are the FaceBook, Netflix, etc applications you mention something the user downloads onto their phones rather than connecting to the website url?

    Thanks for your help folks..I don't feel quite as lost now :)
    Tuesday, June 16, 2009 4:48 PM
  • Oh! i found my missing templates...I had to change the Language dropdown but I still don't see the mobile web form selection. :(
    Tuesday, June 16, 2009 4:51 PM
  • I can answer the question about FaceBook and Netflix apps - yes you download them. They interact with the internet for information but are client based. (They also work well and are surprisingly useful.

    --

    Ginny Caughey
    Device Application Development MVP
     
     
    "KansasCoder" wrote in message news:8b48f69d-3995-43b f-8e1a-9f2018a262f4...
    Thanks for the suggestions. I'm interested in developing web applications that will run on Blackberry phones which is what my company has purchased. I've noticed that Blackberry doesn't seem to like javascript or css. Dropdown menus pretty much fall apart on the Blackberry.

    Malleswar mentions mobile web forms in Visual Studio 2005. For some reason I don't have those in my Visual Studio 2005. In fact i seem to be missing alot of them since I downloaded the windows mobile toolkit.

    Joel, Are the FaceBook, Netflix, etc applications you mention something the user downloads onto their phones rather than connecting to the website url?

    Thanks for your help folks..I don't feel quite as lost now :)
    Tuesday, June 16, 2009 4:53 PM
  • Hi,

     If you need help regarding web mobile forms  try with http://forums.asp.net.

    Check the same kind of problem here:

    http://forums.asp.net/t/1191879.aspx

    Also check this video:

    http://msdn.microsoft.com/en-us/netframework/bb931341.aspx



    Regards,
    Malleswar

    Wednesday, June 17, 2009 2:09 PM