Skip to Content

Mobile Webdynpro (Connecting Webdynpro Applications with Pocket PC Emulator)-II 

Introduction

            My ultimate aim of this blog is to explain about , how to execute our webdynpro applications in Pocket PC emulator. I have already explained that how to connect to with BlackBerry simulator, as that we can connect here with Pocket PC emulator.

Mobile Webdynpro(Accessing Webdynpro Applications in Mobile Devices)

As I have mentioned in the above blog, we can use this in the Ordering the products, order approval, leave request etc…

What is Pocket PC emulator?           

The Pocket PC is the original intended platform for the Windows Mobile operating system. These devices consisted of both standalone Pocket PC devices without mobile phone capabilities, and those that included mobile phone capabilities. Here I am using Microsoft Device Emulator version 1.0 to achieve my target.

Pre-Requisites:

1.Microsoft Device Emulator version 1.0(Standalone Emulator)

2.Emulator Images for Windows Mobile 5.0 with Messaging and Security Feature Pack

3.Virtual Machine Network Services Driver 

1.Microsoft Device Emulator version 1.0(Standalone Emulator)

First, we need to Install Microsoft Device Emulator version 1.0(Standalone Emulator) from the site http://www.microsoft.com/downloads/ 

2.Emulator Images for Windows Mobile 5.0

Then, we need to install Emulator Images for Windows Mobile 5.0 with Messaging and Security Feature Pack.

3.Virtual Machine Network Services Driver 

Then we have to install Virtual Machine Network Services Driver 

Microsoft Device Emulator     

The Microsoft Device Emulator version 1.0 is a desktop application that emulates the behavior of a Windows CE- or Windows Mobile-based hardware platform. Using the Device Emulator, you can run, test, and debug a run-time image without the need for a physical device. 

System Requirements:

·   Processor 600MHz Pentium·   

·  System Memory 256MB   

Emulator Images for Windows Mobile 5.0 with Messaging and Security Feature Pack 

System Requirements: 

·    Supported Operating Systems: Windows Server 2003 Service Pack 1; Windows XP Service Pack 2Windows XP (with SP2)
Windows Server 2003 (with SP1)

Virtual Machine Network Services Driver 

The virtual machine network driver is an intermediate driver that virtualizes a physical network card (or connection). The Virtual Machine Network Driver allows the Device emulator’s OS (or even the Virtual PC OS, as the case may be) to emulate its own network connection. Because the physical network interface on the host machine is now “virtualized,” you have a way to get two IP Addresses – one for the host PC, and one for the operating system that is running within the Device Emulator (or Virtual PC).  

System Requirements:·  

Supported Operating Systems: Windows Server 2003 R2 (32-Bit x86); Windows Vista; Windows XP ·  

Embedded Service ·   Pack 2 Standard X86 machine with network card; Windows XP/Windows Server; Visual Studio .NET 2003 or Visual Studio 2005 for development 

Create a simple webdynpro application as follows:

1. Create your Webdynpro application for executing that application in the Pocket PC handheld device. Here I am creating my simple webdynpro application for leave request form with the name PocketPcApp. 

2. Create a component with the name PocketPcComp with the default views.

image

3.Create an application with the name PocketPcApp with the existing component PocketPcComp.

4. Create the context with the name of Details with the attributes name, no, days.

image

5. Design the UI elements in the layout as mentioned below.

image

6. Store the details of the given inputs to the table “Table_Details “.

image

7. Execute the application and get the URL. Now we need to start our PocketPc engine.

As we have already installed the Pre-Requisites, We have to  run the PocketPc engine.

 A)Start your Device Emulator Manager in the start menu. Once you started Device Emulator Manager windows will open as like the following.

You can close window as it will running in the background. (you will get a message that device manager is running in the background)

image

B) Then start your PocketPC engine in the same folder which you have started the Device Emulator Manager. (Under this you can find the PocketPC with the name PocketPC-ColdBoot) 

image

C)Once you started your Pocket PC , it will take some time to get loaded. After that , it will open as like the following.

image

D) By selecting Start menu->Settings

image

E) Settings->Connections Tab

image

F)Connections Tab->Advanced Tab

image

G) Advanced Tab->Select Networks

image

H)In that page you can see two dropdown boxes. Change both the dropdown to MyWorkNetwork option. Then click ok. 

I)Then Click start menuàInternet ExploreràGive your Application URL.

J)The output screen will appear in the PocketPC emulator with the clear vision. You can execute your applications in the browser. image

K) Executing our applications by giving the values. Now we can execute our applications in PocketPC  as like the method which I have been explained above.

We cant access all the Webdynpro UI elements in PocketPC emulator. We can achieve this in the latest versions. 

Hope this will be helpful for the people who are all having interest on working mobile devices.  

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply