10. Mobile Applications

The promise of JavaFX to target different screens (desktop, mobile device, or TV) is possible because JavaFX has separate profiles for each platform. Each profile can, and eventually will, have separate extensions that leverage a target device. JavaFX also offers common elements, guaranteed to work with any profile. With this division of runtime systems, you can prepare an application to work anywhere. Alternatively, you can tailor an application for a specific environment.

Preparing an application to run on a mobile device requires two areas of attention. First, make sure your application fits a mobile device form factor. Second, don’t use code outside the common profile.

What You Will Learn

•   JavaFX common profile ...

Get Essential JavaFX™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.