JavaFXComposerWindowsMobile

(Difference between revisions)
(Created page with '= How to set up Windows Mobile emulator/device = == Installation == Prerequisities first * Download and install [http://www.microsoft.com/downloads/details.aspx?FamilyID=04d264…')
Line 5: Line 5:
Prerequisities first
Prerequisities first
* Download and install [http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&displaylang=en Virtual PC (the emulator uses network drivers from VPC)]
* Download and install [http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&displaylang=en Virtual PC (the emulator uses network drivers from VPC)]
-
* Download and install [[http://www.microsoft.com/windowsmobile/en-us/downloads/microsoft/activesync-download.mspx][Active Sync 4.5]] (on XP) or [[http://www.microsoft.com/windowsmobile/en-us/downloads/microsoft/device-center-download.mspx][WMDC (Vista or 7)]]
+
* Download and install [http://www.microsoft.com/windowsmobile/en-us/downloads/microsoft/activesync-download.mspx Active Sync 4.5] (on XP) or [http://www.microsoft.com/windowsmobile/en-us/downloads/microsoft/device-center-download.mspx WMDC (Vista or 7)]
* [[http://www.microsoft.com/downloads/details.aspx?FamilyID=20686a1d-97a8-4f80-bc6a-ae010e085a6e&displaylang=en][Download and install the emulator images 6.5]]. I usually install both, standard and professional.
* [[http://www.microsoft.com/downloads/details.aspx?FamilyID=20686a1d-97a8-4f80-bc6a-ae010e085a6e&displaylang=en][Download and install the emulator images 6.5]]. I usually install both, standard and professional.

Revision as of 08:52, 20 April 2010

Contents

How to set up Windows Mobile emulator/device

Installation

Prerequisities first

Basic how-tos (to save my time) [[2]] and [[3]]

How to get a file to the device

There are two possible options - shared folder and ActiveSync.

Shared folder/WMDC

First, run the emulator Start | Programs | Windows Mobile 6 SDK | Standalone Emulator Images | <Language> | WM 6.5 Professional. It will take some to boot up. Then in the emulator window go to File | Configure. Specify share folder. Whatever you add to this folder on your machine will appear in Storage Card on the device.

Active sync

Plus minus described in the how to above.

Networking

If you have set up networking as described in the how-to above, the emulator probably got an IP from your DHCP server. I use vxUtils to find the IP. Download from here [[4][vxUtil]]. Run the installer. The application will get installed as soon as you connect the emulator to the ActiveSync (see the howto above).

As soon as you know the IP, try to ping it. Note it may not work while you're connected to ActiveSync.

Another option is to use loopback network adapter and assign fixed IP on both your machine and device. The advantage is that the IP won't change if you connect your machine to another network, on the other hand you won't be able to test applications that access web services running on other than your machine.

Use the device emulator with JavaFX SDK/JavaME SDK

First, run the JavaFX environment on the device (just find the JavaFX icon and click on it).

In the emulator directory run emulator/bin/device-address.exe add ip <ip_address>. It it has been successful, you see JavaFXWinceDevice1 in the list of devices in NetBeans or when using
emulator -Xquery
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo