Home > javafx > JavaFX for Windows Mobile (EA)

JavaFX for Windows Mobile (EA)

Early access of JavaFX Mobile 1.2 for Windows CE OS is available. I have tried installing JavaFX applications on mobile before. Just thought of trying out the released binaries. The version is tested on HTC Diamond and LG Incite.

I tried to install on Sony Ericsson XPERIA. Given below is the set of steps to install JavaFX on Windows Mobile. I have taken the screenshots from desktop using – MyMobileR

Download and unzip JavaFX Mobile 1.2 for Windows Mobile. Connect mobile to desktop. Copy SUN_JAVAFX.CAB to storage card. Open storage card folder in “File Explorer”. Double click on SUN_JAVAFX entry. It will launch the installer. Click “Yes” and continue with installation.
Choose the location to install. I selected “Storage”. Click on “Install” to continue. Installing JavaFX..
Installation complete.. Open “Programs”. It will have a new icon “JavaFX”. Double click on icon to start JavaFX.
By default it shows a menu with pre-installed samples. Select and double click on “Calculator” sample. Its same as one available at http://javafx.com/samples/Calculator/ Launching Calculator sample…
Calculator launched
I also installed the animation sample. Just copy the *.jad and *.jar file to storage card. Double click on .jad file to install the application. Select the folder to install. Launch “JavaFX” from “Programs”. Now the menu will have entry for new application. Double click to launch application. It runs fine as shown below (video is taken directly from mobile screen).

Please refer to Terrence Barr’s Blog for screencast and deployment of Mosaic sample on mobile.

var dzone_style = ‘2’;

Categories: javafx Tags: ,
  1. July 26, 2009 at 8:45 PM


  2. July 27, 2009 at 9:41 PM

    JavaFX!!! I Love JavaFX!
    Thx for the tutorial!

  3. July 27, 2009 at 10:05 PM

    @Raghu Nair Thanks!
    @William Antônio Thanks! I could read your blogs (using Google Translate) Keep up the good work.. πŸ™‚

  4. boybawang
    August 3, 2009 at 8:30 AM

    But sadly, it doesn’t run JavaFX apps in fullscreen because the Windows Softkey bar is always present at the bottom.

  5. August 4, 2009 at 3:54 AM

    @boybawang I’m not sure if there is anyway to do that, ‘ll try to find info on that..

  6. BoyBawang
    August 4, 2009 at 5:44 PM

    It’s annoying I can’t run Java apps in fullscreen. The WM softkeybar at the buttom always stay present in the foreground. In fact it covers the bottom portion of some javaFX apps like "project manager" sample app that I downloaded from javaFX website.

  7. ee
    August 6, 2009 at 3:04 PM

    Hi Rakesh
    I tried to install the JavaFX runtime for pocket pc in an Axim x51v with Windows Mobile 6.1 classic using the instructions of the Installation Guide, but whenever I try to execute the javafx.exe file I get the following error:
    "The file ‘JavaFX’ cannot be opened. either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file"
    I already tried reinstalling and hard reseting my device but it simply doesnt work.
    Can you help me with this?

  8. August 11, 2009 at 11:37 PM

    @ee and BoyBawang I have forwarded your query to mobile team, I’ll get back to you.

  9. mov_ax
    August 24, 2009 at 3:09 AM

    Hi @all!
    I have the same problem like "ee", it doesnt work on my ipaq114, win mobile 6.0 classic
    What can I do to make it run?

  10. August 24, 2009 at 10:19 PM

    @mov_ax Sorry, I could not find a workaround for this issue. General response I received was that the security of that mobile is not allowing to execute installer properly from "unknown publisher"

  11. mov_ax
    August 25, 2009 at 5:03 AM

    Hi Rakesh!
    Mhhhh… this is bad, i have only this device.
    Is there a possibility to make it a "known publisher" by importing a certificate or so?

  12. September 24, 2009 at 11:08 PM

    Hello Sir,
    I am new to JAVAFX. I am developing one application in that I have to open webpage in device. How could I do this. Please help.

  13. Gostewitz
    October 18, 2009 at 4:02 PM

    Thank you very much! It’s very usefull information for me! I find how install my application on mobile device and I finded this here!

  14. Rakesh Menon
    October 23, 2009 at 3:50 AM

    @Gostewitz Thanks! πŸ™‚

  15. Madan
    October 27, 2009 at 2:14 AM

    Can we access windows mobile database using javaFX application?

  16. Rakesh Menon
    October 27, 2009 at 3:11 AM

    JavaFX does not have any specific APIs for this. Can you connect to this database from java (CLDC+MIDP)? If yes, you can use the same approach for javafx.

  17. Madan
    October 27, 2009 at 3:44 AM

    Hi Rakesh…
    Thanks for you reply. I am new to mobile applications. So I don’t have much idea on javaFX.
    I think CLDC+MIDP comes under J2ME. Am I right?
    My requirement is I need to store/access windows mobile database from a javaFX application. Can you help me?
    Thanks again in advance.

  18. Rakesh Menon
    October 27, 2009 at 4:03 AM

    @Madan Yes, its J2ME. I think it will be better to check with J2ME forums, since it uses those APIs and specific to J2ME. I’ll try to get some info from mobile team as well..

  19. Madan
    November 4, 2009 at 12:28 AM

    Hi Rakesh!
    CLDC+MIDP and JavaFX is working. Thank you. I have one more question. Can we run a javaFX application in backgoround of windows mobile. I mean whenever a user starts a FX application, it should be running in background until the mobile user stops it from services or switch off the mobile.

  20. Rakesh Menon
    November 4, 2009 at 3:22 AM

    @Madan Async API may be of help? http://java.sun.com/javafx/1.2/docs/api/javafx.async/javafx.async.JavaTaskBase.html Can you also share info about your device, just for my information..

  21. Madan
    November 4, 2009 at 3:49 AM

    I am using windows mobile 6.0. From my FX application I am calling a midlet which maintains RMS(tables) to store the data. I am reading the same whenever I required.
    Can you give me an example for Async API/ background service? (Background service means I will close the UI completely. I may open another application.)

  22. Rakesh Menon
    November 5, 2009 at 5:16 AM

    @Madan You can start from here
    Now I understand the requirement, I have tried background on desktop, I’m not sure how it behaves on mobile. Need to try it out…

  23. Siva
    November 5, 2009 at 9:51 PM

    Hi Rakesh,
    I read the blog about javafx.async package, in your last comment. I have the similar requirement. Can you please provide a sample for mobile.And i have one more question: After starting the service on mobile, i have to come out of service application(but still it have to run until user closes it)and work with another javafx application.Is it possible?

  24. November 6, 2009 at 1:29 AM

    @Siva I will provide a sample using async-apis. But there is difference between running in background (Eg: RSS/ATOM feed reader, HttpRequest handler etc) and as service. I haven’t tried running as service, need to check if that is feasible or not on Mobile..

  25. Rakesh Menon
    November 10, 2009 at 8:33 PM

    @Madan, Siva I have written a sample using async APIs. Its working as expected on desktop and emulator, but fails on Sony-Ericsson-X1. So need to check for other requirements (if any) to execute on mobile.
    Sample Code:

  26. Siva
    November 12, 2009 at 9:16 PM

    Hi Rakesh,
    Thank you for providing code. I will check it once.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: