Steps to Create Mobile Aplication in ASP

Embed Size (px)

Citation preview

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    1/15

    Steps to Create Mobile Application in

    ASP.NET 2.0

    1) Create a File System Website.

    2) Create a folder by the name of Mobile

    3) Add a new mobile web user form.

    4)

    5) Rename Default.aspx with a new name otherwise it will clashes with the

    normal website default.aspx webform. Im renaming this with

    Mobile_Default.aspx

    6)

    7)

    8) Design View of Mobile Web Form.

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    2/15

    9) You have to use only the Mobile Web Forms tools from toolbox.

    10)

    11) Design view of my mobile web form.

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    3/15

    12) To Run The mobile application on mobile devices you have to configure

    the IIS in your machine.

    13) Start Control PanelAdministrative Tools Double click on internet

    information service.

    14)

    15) Cross check that IIS is working in your computer or not. (You can type

    the url: http://localhost/iishelp/iis/misc/default.asp )

    16) Also check the default web site shouldnt be stopped. If its stopped

    then right click on default website and choose an option start.

    17) Now Right Click on Default Web Site and go to properties.

    18) Choose Home Directory Tab:

    19)

    20) Replace the Local Path from C:\InetPub\wwwroot to your application

    path.

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    4/15

    21) Go to cmd and check your IP Address and Machine Name.

    22)

    23) Go to internet explorer and type the following url:

    http://localhost/Your Application Name

    http://172.23.22.189/YourApplicationName

    http://00210-E8/YourApplicationName

    24) If its working fine then first step is over.

    25) Go to your mobile application now.

    26) Go to Tools Menu Options Devices Pocket PC 2003 SE Emulator

    Go to properties

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    5/15

    27)

    28) Click on Emulator Options.

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    6/15

    29)

    30) Cross check that all three above options should be unchecked.

    31) Cross Check Microsoft ActiveSync is installed or not. If not then

    install it.

    32) Now go to Tools Menu Click on Device Emulator Manager.

    33)

    34) Right Click on Pocket PC 2003 SE Emulator then connect.

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    7/15

    35)

    36)

    37) Right Click on Pocket PC 2003 Emulator and click on Cradle

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    8/15

    38)

    39) This will automatically State The Synchronization with Microsoft

    Async

    40) Cross check the settings of Microsoft Async

    41)

    42) Go to File Click on Connection Settings.

    43) Do the Appropriate Changes

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    9/15

    44)

    45) Click on Ok.

    46)

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    10/15

    47) Click on Start and click on settings

    48)

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    11/15

    49)

    50) Click on Connections

    51)

    52) Double Click on Connections

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    12/15

    53)

    54) Click on Advanced

    55)

    56) Click on Select Networks.

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    13/15

    57)

    58) Choose My Work Network and Click on Ok.. Ok... and Ok.

    59) Click on Start and then go to Internet Explorer

    60) Type the URL

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    14/15

    61)

    62) Type the specified URL and run application.

    63)

  • 8/8/2019 Steps to Create Mobile Aplication in ASP

    15/15

    64) Note: Connecting to Microsoft Async it will propmt to configure

    Microsoft Outlook just ignore that part.

    65) Note: Properly shutdown the Device Emulator first do uncradle then

    shutdown then close the device emulator.