Run JavaFX On Windows Mobile - javafx

I've a Samsung Omnia i900 that runs Windows Mobile OS. Believe it or not, but nowhere on the Internet can I find information on running a JavaFX application on it. Is it possible?

JavaFX Mobile is now available in Early Access for Windows Mobile devices. You can download the binary from javafx.com.

As far as I can tell, JavaFX Mobile hasn't been released. Some of the pre-release tools worked on Windows Mobile (judging by some blog posts) but that support was dropped from the 1.0 release.
JavaFX 1.1 is meant to have Windows Mobile support, but it looks like that's on the development side rather than on real devices - the fact that there's a mobile emulator as one of the key features for JavaFX 1.1 is quite telling.
According to the FAQ:
2.4 How can consumers get JavaFX on their handsets?
Sun is working with Mobile Device
Manufacturers and Mobile Operators to
enable out of the box support for
JavaFX content by preloading the
JavaFX Mobile runtime with their
devices
That doesn't exactly sound encouraging for being able to get it on your handset right now. I may be missing something, but I certainly couldn't find anything to download...

Related

JavaFX application to run on mobile platforms

Can we develop an application using JavaFX and run it on multiple platforms, including mobile(Android, iOS) and Desktop(Windows, Mac, Linux) as well?
Latest Oracle MAF (2.1.2) runs on both Android and iOS.
http://www.oracle.com/technetwork/developer-tools/maf/documentation/maf212certmatrix-2524539.html
Support for Windows phones it has been in talks for a while, it will won't be long until Oracle will make it available.
JavaFX is supported on Windows, Mac and Linux. It is not supported on iOS or Android although there are third party solutions provided by the community for that (RoboVM for iOS). This might be the reason you were unable to find instructions on how to set up Android Studio with JavaFX.
Generally JavaFX 8 is very reliable on all three platforms. Please note that JavaFX 1 is an entirely different thing than JavaFX 2 and 8. Not only does it rely on JavaFX Script instead of Java, it also focusses more on browsers and mobile devices.

Will a Flex app run on a mobile device?

Can a Flex application that was designed for use on a PC be run on an iPad, iPhone, or Android-based mobile device?
Seems like a simple enough question. Visiting http://www.adobe.com/products/flex.html yields a picture of a dude running a (presumably) Flex application on an Android. So at first glance, the answer would appear to be "yes." End of story.
but yet…
There is so much (mis)information out there on various tech sites that suggest Flash-based technologies simply won't run on iOS or other mobile platforms. Why is this? Perhaps they mean to say that Flex won't run "out of the box" and requires a plugin? Or do they mean it won't run at all?
Every time I think I've reached a definitive conclusion, some post on SlashDot or CNET directly contradicts it. So what's the scoop? Can one take an existing Flex application and run it on iOS/Android? (I realize there are screen size issues to consider so the app might not run effectively. I just want to know if the runtimes are available on the mobile devices to allow the Flex app to launch at all.)
Sorry for the noob question. My background is WPF / HTML5. Adobe technologies are completely foreign to me.
I wrote a lot below if you'd like to read it enjoy, if not sorry for taking your valuable bytes :) I directly answered the questions up here first:
Why is this?
It's a confusing matter read below for the why details.
Perhaps they mean to say that Flex won't run "out of the box" and requires a plugin?
Or do they mean it won't run at all?
Using the flash builder tools (the bin folder in the SDK) you can compile for native desktop application, desktop web browsers, native iOS application, native Android application. Android with FlashPlayer plugin installed will show Flash content within the web browser, iOS will only run the ones compiled with AIR, not in the the web browser but as a native app.
Every time I think I've reached a definitive conclusion, some post on SlashDot or CNET directly contradicts it. So what's the scoop? Can one take an existing Flex application and run it on iOS/Android?
Yes, if using AIR and run as a native app on all three platforms (the desktop Flex API is for the most part a superset of the web Flex API), your other points about performance and form factor are valid and should be considered though. The nice thing is you can write your model/controller code in a common library in AS3 then write separate presentation layer interfaces that all share the library.
Here's the very long version:
Using the flash compiler results in "bytecode" in the form of a file with a swf extension using the swf format, you can read a ton more about that here:
http://www.adobe.com/devnet/swf.html
To interpret the file you need some sort of run-time similar to some degree to running WPF/XAML/C# within a .NET framework context (either desktop or using silverlight on the web). In the case of adobe technologies (rough equivalence):
AS3 = C#
MXML = XAML
Flex = WPF+WCF (client side RPC not server side)
Flash Player = Silverlight
AIR (Adobe integrated runtime) = .NET
Framework Redistributable .dll(s)/.so(s) for desktop OSes
(Read this list very loosely please, I know XAML is preserved in the MSIL or whatever which is different because MXML is compiled to AS3 and only if a debug flag is set on the compiler does it include the debugging symbols, there's certainly tons of differences but I think this is an easy and correct enough model to use)
On iOS the browser does not allow for plugins in the traditional sense of netscape browser plugins or ActiveX plugins. For this reason you'll not be able to execute a plugin ie flashplayer or silverlight in the browser. Since Adobe did release a flashplayer for Android devices that does run in the browser it will work on those devices in the browser, however they have essentially thrown in the towel for supporting this long term, as they have to support the majority mobile device platform, iOS, in order to remain relevant (this was I think more a collective throwing in of the towel by Google, device manufacturers, carriers, Microsoft, all just following suit and trying to make the best business decision, WebKit and V8 or SpiderMonkey can probably do 99% of what Flash can do and better in some cases and WebKit will hopefully not splinter and will remain open source... frameworks and the browsers just need to get fleshed out and stabilized).
If the user installs AIR (or the runtime is packaged with the app) then a Flex/Flash (that is stuff coded in AS3 and/or MXML and compiled to a swf) can be transcoded/packaged to be interpreted by the run-time for that device correctly (be it iOS or Android or whatever RIM did, I don't think they have AIR for Windows Phone 7 and Win8 on ARM won't support browser plugins either). Part of the confusion is possibly from the fact that Apple denied the distribution of Apps that were "cross-compiled" which kept AIR out of the list of options for iOS for a good year, just after Adobe started announcing it was usable for that purpose (kicking Adobe while their down). Another part of the confusion probably comes from real vids of people who have 1 hacked their device or 2 were able to get open source alternatives to the flash player run-time to work on their iOS device (gnash was one I'm aware of from some occasional Linux tinkering, also possibly FAKE vids).
You can run Flex applications on mobile devices, but you cannot simply run any Flex project.
In Flash Builder ( Flex Ide) or in Flash Professional you can create mobile projects. These projects generate native applications for iOS and Android.
Last time I tried, the result and the available components where less than what I expected. So, if you can, I'll much recommend you go for something like Appcelerator.com or similar, which turns HTML5/Js code into native apps. I tried them, worked a lot better than Flex.
Short answer: No
Long answer: You can use Adobe's tools to compile your Flash/Flex app for use as a native iOS app. So you won't be able to embed the app in a web page like you normally could with Flex, but you can build it as a native app. Note you have to have Flash Builder 4.5 to do this.
It won't run on iPhone as a .swf file, but it will run on Android based devices that have adobe flash installed. It will also run on the BB playbook, which also has flash.
Flex is a framework.( Anyway it is very beutiful one which even sometime looks like complete different language ).
As soon as you are building AIR application it can run on various platforms like : Windows, iOS, Android, upcomming TV's, PlayBook, even .. into the future ( maybe/hopefuly ) on Windows Phone, plus Linux ( which AIR future is not very clear anyway ( but hopefuly Adobe will reconsider ) ).
So - application created with Flash Builder 4.5+ would probably run everywhere as soon as it is AIR application.
The compilation methoods is really simple, and you almost simultaneously compiling for everything you wanna to.
And one of the most important things here - your applications will run, work, look and feel the same way you were designed on one device. Flex is the thing which is responsible for everything to looks beutiful on each platform it is running.
For instance i am compiling currently for Android, and without even test i can clearly say that it will looks and feel the same way under iOS and Windows, and it will.

Flex applications on Windows Phone 7

I'm evaluating Flex 4.5 for use as a mobile development platform. The demo version of the IDE supports android and promises to support iPhone development in future. There's no mention of Windows Phone 7. Usually, this is the sort of thing that google excels at but in this case, I've come up empty handed. I've found many contradictory reports of Adobe supporting WP7, then not supporting it, then supporting it but not in the initial release.
Has anyone come across any official announcements from Adobe on this? I understand that companies change their priorities and business relationships change so I'm not looking for a crystal ball, I'd just like to see the latest communication from Adobe on this is.
Flex 4.5 can currently be used on Android and iPhone, however WinPhone7 is kind of out of the loop for now. There has been some demos of it shown, but who knows when Microsoft/Adobe will work together to get Flash out on Internet Explorer mobile or get to having Air on WinPhone7.
I know personally that Adobe is aiming for it, but not sure how much of a priority it is since WinPhone7 is still an underdog in this arena. My feeling is that it will come, but not just yet.
Flex/Flash hass not been mentioned on any public timelines for Windows Phone 7.
I think it's safe to assume that you won't see it any time soon.

Designing issue in JQuery mobile with asp.net

I am creating mobile application in asp.net webform targeting IPhone, Android and blackberry. I am using JQuery-Mobile for the same.
Below is my first page I have developed with jquery-mobile.
I don't have iphone, android and blackberry. So my questions are:
Best Simulator I can use on windows XP/ Windows Server 2008 for Iphone, Andriod and Blackberry
Also, when I am running the application on the browser it is looking wierd. I mean textbox size, buttons. Is this the way it looks on normal webpage or it's my faulty design?
As I am developing application in asp.net, do I need to install latest browser which support HTML5 and CSS3 because below browser is IE7.
An old IE is not the best choice to test the capabilities of a HTML5+javascript framework...
For daily basis it's quite ok to use Firefox or any WebKit based browser (chrome, safari ...)
Emulators are very helpful, but to be sure your product works well you will probably need to give it a try on an actual device. I have already seen some reports of problems that show up only when working with the real device.
A team that I do some JQM stuff for has bought a cheap old ipod touch for testing. It's the most demanding apple product you can get. It has the oldest browser, causes most problems and is the slowest. Best choice! :)
Emulator for Android
Simulators for Blackberry
I'm sure Apple has one too - but I think you need to register as a iOS developer before you can get your hands on it. I believe using third-party iOS emulators is against Apple's policy.

What does a mobile need to be able to run JavaFX?

What exactly does a mobile need to be able to run JavaFX? Can it run on any mobile that supports specific JSRs or does it have to be installed by the manufacturer?
Links
What platforms JavaFX is/will be supported on? - Doesn't go into any detail about specific mobile platforms
JavaFX/Mobile Devices - This question (February 2009) says that although manufactor support is preferred, many MSA-compliant phones will be able to handle an over the air player
It has to be installed by the manufacturer.
For development purposes you can use the developer stack for Windows Mobile.
http://javafx.com/downloads/all.jsp

Resources