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).

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


<script type="text/javascript">var dzone_style = '2';</script> <script language="javascript" src="/rakeshmenonp/resource/JavaFXMobile/zoneit.js"></script>

Comments:

Coooool!!!

Posted by Raghu Nair on July 27, 2009 at 02:15 AM IST #

JavaFX!!! I Love JavaFX!

Thx for the tutorial!

Posted by William Antônio on July 28, 2009 at 03:11 AM IST #

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

Posted by Rakesh Menon on July 28, 2009 at 03:35 AM IST #

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

Posted by boybawang on August 03, 2009 at 02:00 PM IST #

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

Posted by Rakesh Menon on August 04, 2009 at 09:24 AM IST #

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.

Posted by BoyBawang on August 04, 2009 at 11:14 PM IST #

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?

Posted by ee on August 06, 2009 at 08:34 PM IST #

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

Posted by Rakesh Menon on August 12, 2009 at 05:07 AM IST #

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?

Posted by mov_ax on August 24, 2009 at 08:39 AM IST #

@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"

Posted by Rakesh Menon on August 25, 2009 at 03:49 AM IST #

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?

Posted by mov_ax on August 25, 2009 at 10:33 AM IST #

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.

Thanks.

Posted by Kishor Yadav. on September 25, 2009 at 04:38 AM IST #

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!

Posted by Gostewitz on October 18, 2009 at 09:32 PM IST #

@Gostewitz Thanks! :)

Posted by Rakesh Menon on October 23, 2009 at 09:20 AM IST #

Can we access windows mobile database using javaFX application?

Posted by Madan on October 27, 2009 at 07:44 AM IST #

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.

Posted by Rakesh Menon on October 27, 2009 at 08:41 AM IST #

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.

Posted by Madan on October 27, 2009 at 09:14 AM IST #

@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..

Posted by Rakesh Menon on October 27, 2009 at 09:33 AM IST #

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.

Posted by Madan on November 04, 2009 at 05:58 AM IST #

@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..

Posted by Rakesh Menon on November 04, 2009 at 08:52 AM IST #

Hi!
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.)

Posted by Madan on November 04, 2009 at 09:19 AM IST #

@Madan You can start from here
http://blogs.sun.com/clarkeman/entry/javafx_async_task

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...

Posted by Rakesh Menon on November 05, 2009 at 10:46 AM IST #

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?

Posted by Siva on November 06, 2009 at 03:21 AM IST #

@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..

Posted by Rakesh Menon on November 06, 2009 at 06:59 AM IST #

@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:
http://code.google.com/p/javafxdemos/source/browse/#hg/JavaFXAsync/src/javafxasync

Posted by Rakesh Menon on November 11, 2009 at 02:03 AM IST #

Hi Rakesh,

Thank you for providing code. I will check it once.

Posted by Siva on November 13, 2009 at 02:46 AM IST #

Hi Rakesh,

Is that possible to run JavaFx on Symbian S60 ?

Posted by Omkar on April 01, 2010 at 05:40 AM IST #

@Omkar Not at this point of time. As of now runtime is available only for Windows-Mobile

Posted by Rakesh Menon on April 01, 2010 at 06:32 AM IST #

Thank you for information.

Posted by Omkar on April 01, 2010 at 08:02 AM IST #

Post a Comment:
Comments are closed for this entry.
About


The views expressed on this blog are my own and do not necessarily reflect that of my organization

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today