« News from JavaOne:... | Main | Land Rover S1: Xtree... »
 20090612 Friday June 12, 2009

JavaFX Mobile looking Up

     Click on arrow to PLAY.  Click on picture to PAUSE/RESUME.  Note: If 
     video playback is blank or slow, reload the page and make sure 
     QuickTime 7.6 is installed on your system.


Wouldn't it be cool if JavaFX Mobile were on all handsets now and you could watch movie trailers from any cell phone?

Programming your cell phone to play a video would be trivial.


Code snippet:

var player = MediaPlayer {
  autoPlay: false
  media : Media {
    source : "{__DIR__}up-trailer.flv";
  }
}

var view:MediaView = MediaView {
    visible: true
    mediaPlayer: bind player
}



It's getting closer...

[Java ME and J2ME] ( June 12, 2009 04:49 PM ) Permalink Comments [6]


Comments:

Hey Hinkmond,

Does JavaFX mobile support streaming video yet?

Thanks,

Bruce

Posted by Bruce Hopkins on June 13, 2009 at 07:19 AM PDT #

Hi Bruce,

On desktop, yes JavaFX does support streaming video. However on JavaFX Mobile, streaming video can only be supported if the mobile device itself and the wireless carrier can support streaming video. So far, there are very few phones in combination with a wireless carrier that does support true video streaming. Instead, many times chunky video downloading is used to simulate streaming video (Ex. one type of MobiTV solution). So, although it is technically possible, there are non-technical issues that may block full support of streaming video for JavaFX Mobile to use on a mobile device.

To get around this, Sun will be offering the StreamStar product on the server side to provide video streams for JavaFX Mobile devices. This might be a good solution for wireless carriers eventually.

Hinkmond

Posted by Hinkmond Wong on June 15, 2009 at 11:34 AM PDT #

Hi Hinkmond:

So, who's going to end up with the lion's share of mobile apps? I know Java ME still has by far the largest share worldwide, but where does Java FX and Android fit in?

Posted by asj on June 17, 2009 at 02:41 PM PDT #

Hi Airlan,

Well, if I knew the answer to that question, I think I'd be working at either Kleiner Perkins Caufield & Byers or Sequoia Capital. :-)

The real answer is probably: It depends. It depends if you are talking about just smartphones, just feature phones, or both. And it depends on why you ask. ;-)

My _guess_ is that out of the about 1.2 billion (that's billion with a "b") cell phones that ship every year for the next couple years, 80% will be Java ME enabled devices, 1% will be iPhones (somewhere about 12-14 million), 0.5% will be Android, and not applicable yet will be JavaFX phones (still emerging), possibly really, really cool JavaFX phones, but limited runs (hope that I'll be proved wrong and someone ships millions of JavaFX phones instead!). The rest (~19.5%) will be Windows Mobile, BREW, and other non-Java cell phones.

Now, it's important why you ask what you do with those numbers. If you become the #1 iPhone app and your app is downloaded 500,000 times per month for $0.99 for 3 months, you won't really care that out of the 1.2 billion cell phones that ship, only 1% are iPhones. You just won the lottery. But, the odds are about 1 out of 50,000 that you will write the next blockbuster iPhone app, so don't get your hopes up. Better odds than Lotto, but still not really the odds you want to bet the farm on.

Instead, Java ME tech will for some time to come still be a slow and steady money maker for cell phone games. Lower risk, but you will have a harder time finding the right distribution for your mobile app. Hopefully, the Java Store will help with that.

Disclaimer: Again, don't believe anything I write, since I don't work for either Kleiner Perkins Caufield & Byers or Sequoia Capital

Hinkmond

Posted by Hinkmond Wong on June 17, 2009 at 06:11 PM PDT #

Hinkmond, one thing I'm hoping for is that JavaFX runs more consistently across the device lines that it's embedded into. Java ME has some real quirks when going from device to device.

The other thing I'm hoping for is that more people realize they can do more with their cells than call and text. Most people using that billion cells running Java ME only use their phone for the minimal functionality, and once you get into the smaller number of smartphone users, Java ME may not be able to compete against platforms designed specifically to make use of the higher smartphone functionality.

This was in a sense a failure on Java's part, the failure to get CDC going, where it was instead supplanted by such Java-based platforms as Android.

Posted by asj on June 18, 2009 at 02:46 PM PDT #

Hi Airlan,

Good comments! I'll be sure to pass that feedback along to the JavaFX Mobile team. I wouldn't count so much on Android supplanting more than just mindshare quite yet, though... Interesting to watch, but still less than 0.5% of the cell phone market. It takes more than the Google name to make a device that will not be just another Sharp Zaurus or Nokia N770/N800. Those devices were supposed to be the next great device to supplant all others, had a good spike of interest for a time (just like Android currently) but in the end fizzled. No staying power. Will Android be the same way? We'll have to watch and see...

Hinkmond

Posted by Hinkmond Wong on June 18, 2009 at 10:15 PM PDT #

Post a Comment:

Comments are closed for this entry.



Theme originally based on design by Bryan Bell