locked
How to create mobile application RRS feed

  • Question

  • User1392654446 posted

    Hello,

    I m starting to learn create mobile application using asp.net and also a javascript.

    can give me some suggestion or any reference website for guide for begineers.


    Saturday, December 18, 2010 6:26 AM

Answers

  • User1135281112 posted

    Hello,

    You can do following

    - Create standard ASP.NET website with standard "Web Forms"
    - Design the content for your mobile pages based on device family that are going to access your website. For e.g. iPhone, Andriod
    - 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. 

    Please use http://51degrees.codeplex.com for mobile detection and redirection

    Below is the sample code how easily you can redirect iPhone and Nokia device to the actualy pages to be rendered.

    <redirect firstRequestOnly="true"
    mobileHomePageUrl="~/Mobile/Default.aspx"
    timeout="20"
    devicesFile="~/App_Data/Devices.dat"
    mobilePagesRegex="/[Apple|RIM|Nokia|Mobile]/">
    <locations>
    <!--Send iphone to their own home page.-->
    <location url="~/Apple/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="Apple"/>
    </location>
    <!--Send blackberry to their own home page.-->
    <location url="~/RIM/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="RIM"/>
    </location>
    <!--Send nokia to their own home page.-->
    <location url="~/Nokia/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="Nokia"/>
    </location>
    </locations>
    </redirect>




     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 20, 2010 10:13 AM

All replies

  • User-1659704165 posted

    Hi,

    There was Good Mobile control till Vs2005 but Knowdays mobiule browser Quite advance they can support html TAGS..

    for javascript

    You can use

    http://jquerymobile.com/


    Saturday, December 18, 2010 12:51 PM
  • User1135281112 posted

    Hello,

    You can do following

    - Create standard ASP.NET website with standard "Web Forms"
    - Design the content for your mobile pages based on device family that are going to access your website. For e.g. iPhone, Andriod
    - 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. 

    Please use http://51degrees.codeplex.com for mobile detection and redirection

    Below is the sample code how easily you can redirect iPhone and Nokia device to the actualy pages to be rendered.

    <redirect firstRequestOnly="true"
    mobileHomePageUrl="~/Mobile/Default.aspx"
    timeout="20"
    devicesFile="~/App_Data/Devices.dat"
    mobilePagesRegex="/[Apple|RIM|Nokia|Mobile]/">
    <locations>
    <!--Send iphone to their own home page.-->
    <location url="~/Apple/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="Apple"/>
    </location>
    <!--Send blackberry to their own home page.-->
    <location url="~/RIM/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="RIM"/>
    </location>
    <!--Send nokia to their own home page.-->
    <location url="~/Nokia/Default.aspx">
    <add property="MobileDeviceManufacturer" matchExpression="Nokia"/>
    </location>
    </locations>
    </redirect>




     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 20, 2010 10:13 AM
  • User-333223682 posted

    Hi,

    Only through this forum, you can get proper knowledge about mobile application development. Furthermore, Roopesh provided excellent reference. It would be better to directly coordinate with mobile apps developers.

    Wednesday, December 22, 2010 3:30 AM
  • Wednesday, December 22, 2010 3:33 AM
  • User-199600924 posted

    I just spent lots of bandwidth downloading

    Samsung_Windows_Mobile_SDK_2.2.0_Installer.msi (for W6.5

    Samsung_Windows_Mobile_SDK_1.2.0_Installer.msi  (for W6.1)

    Loaded and installed fine.

    Instructions said it needed:

    2.  System Requirements
    To install and use the SDK, you need:
    •   A PC with the following:
    o  Windows XP SP2 (or later service pack) or Windows Vista
    o  Visual Studio 2008 Professional edition (or above) or Visual Studio 2005 Standard
    edition (or above)
    o  The Windows Mobile 6 SDK Refresh
    (http://www.microsoft.com/downloads/details.aspx?FamilyID=06111a3a-a651-4745-
    88ef-3d48091a390b&DisplayLang=en)
    o  ActiveSync 4.5 (for Windows XP) or Windows Mobile Device Center (for Windows Vista),
    to connect your Windows Mobile 6 devices to your PC
      To download and install ActiveSync:
    http://www.microsoft.com/windowsmobile/en-
    us/help/synchronize/activesync45.mspx

    etc.....

     then proceeded to Windows Mobile 6 SDK Refresh.  OK. Downloaded that.

    Run the install and it needed more... Did that.

    When eventually 1G++ later, it said as highlighted above. I only had VS2008 Enterprise.  Damn.

    Where the hell do I find VS2005 Standard Edition, or is all this just to warp and tie the programs together?

    I don't want, or need the 90 DAY, 1.5G VS2008 professional.

    I just want to try and write a few simple apps, to make use of my crappy (IM not so humble opinion) Samsung i900 gps, can't view in the sunlight phone with W6.1 mobile on it.

    Is there some other OS to make this more friendly and to make this camera work as a phone? The human interface is awful, and you need your reading glasses to answer the damn thing.

    Help.....


    Wednesday, January 5, 2011 3:15 AM