Converting JavaFX based desktop app to mobile platforms

Hello all
I'm in the process of building a java desktop application using JavaFX and FXML as the front end code platform. However I'd like to be able to port this to mobile platforms with the least amount of code modifications, and was told that JavaFX would work for this. Does anyone have any advice on how this could be achieved ?

I would love to know this too.
Lots of info going around about mobile possibilities.
I do not have an answer, but I do have a point to start looking at.
I came across the following ORACLE blog written 2013-11-12.
Hopefully someone can explain it better or give easier steps to follow on how to achieve android compatibility as explained on this page.
To me it looks like you can actually run JAVAFX on android phones by using this.
If anyone understands this article then please write an easy to understand howto.
Would love to know how to incorporate this into Netbeans, but any other easy to understand way will work.
This will be a killer function for JAVAFX :
https://blogs.oracle.com/jfxprg/entry/how_to_build_open_javafx

Similar Messages

  • Include Air ( desktop app ) inside Mobile app permited by Apple / Android?

    Include Air ( desktop app ) inside Mobile app permited by apple / android?
    This is my question....:
    I need a "viewer" app run in a desktop machine... via p2p... ( done and working )
    I will like to include it in my iOS / Android Release, an then by example move it to the documents folder.
    Run iTunes and then copy the file from the shared document folder.
    Is this permited by apple / android / adobe ?
    Thanks....

    just tracing some kind of tests I'm doing.
    A couple of hours ago I left working 2 instances of my Application, leaving alone this computer: one instance is the Mac desktop version and the other one is the Web version. In this case both versions were running on the same computer (an iMac with OS X Mavericks):
    1) the AIR/Mac version have been recompiled yesterday with the new AIR4(.0.0.1619 - AIR 3.8 is used to fall in a equivalent way - no changes)
    2) the Web version have been compiled targeting FP 11.8 and it is running on Chrome browser with PepperFlash NOT disabled (which reports version MAC 13.0.0.80, the latest)
    I left working both the Mac and the Web versions of the Application opened on the pc screen (= not minimized) but kept totally behind some Terminal/ssh windows (= not on OS focus and the system is not asked to update any screen area of the app for sure).
    I came back after about 2 hours and I got the browser version connected&running (but it is not a rule) and I also found the AIR-based Mac version disconnected (uau, usually I found the app disconnected but with the screen freezed at last user look ->) which rapidly reconnects upon my click on the Apple dock icon (bring to front).
    Why these different behaviours? I ask to myself.
    The two versions of the software are TOTALLY the SAME application: except for the first Flash file (a 24kb swf file for the Web version and a 170kb dmg file for the Mac version), basically a platform-dependent loader, both versions loads the same remote swf modules. Of course t is AIR (or my first Flash file?).
    I attach the source code of the Mac version of the [first file] AIR-based application at the following url:
    http://92.63.230.100/others/others/wtstarter_mac.as.txt
    _Adobe_, is it a bug? isn't it?
    mc

  • Converting desktop app to mobile app

    hi i have developed a simple java desktop app for making currency conversions, now i want this to work on my mobile, what are the steps to take to convert it, or do I have to start from scratch? thanks

    I think it'll be easier to start from scratch. Java ME classes, even those with the same package and class names, are not the same as their Java SE big brothers.
    Here's a link to a [J2ME Tutorial|http://today.java.net/pub/a/today/2005/02/09/j2me1.html].
    If you have any Java ME related questions, please post them to the [CLDC and MIDP forum|http://forum.java.sun.com/forum.jspa?forumID=76].
    luck, db

  • Compilling Air Apps on Mobile Platforms

    Hello world!
    Sorry to ask this question (maybe because i will be stupid)
    But I am making a app in HTML and JS (With Adobe Air),
    But i didn't anderstand who can it be compile on mobile platforms ?
    like:
    -Androïd
    -IOS
    -Blackberry tablet
    -TV ?!?
    Please help ME !, thank you

    The JavaFX on iOS using Maven and RoboVM article of Aug 1st 2013 is a good article of where the technology currently stands today with regards to JavaFX and mobile platforms (at least iOS anyway).
    http://www.zenjava.com/2013/08/01/javafx-on-ios-using-robovm-and-maven/

  • Flash app converted to AIR/desktop app: actionscript not running

    Hi there,
    I have a flash app that runs on a browser useing actionscript and webservices for getting data, converted to a AIR desktop app. It access a local database for data. I have opened the .fla file and changed the publishing setting to AIR and set the document class to the Main.as. Also, I have added the following .swc files - framework.swc and rpc.swc. While trying to debug it is showing that "Your swf does not have action script to debug". While running it, I am getting a blank screen. Could you guys please help me out in what I am missing or doing wrong ????????
    HELP PLEASE!!!

    Hi there,
    I have a flash app that runs on a browser useing actionscript and webservices for getting data, converted to a AIR desktop app. It access a local database for data. I have opened the .fla file and changed the publishing setting to AIR and set the document class to the Main.as. Also, I have added the following .swc files - framework.swc and rpc.swc. While trying to debug it is showing that "Your swf does not have action script to debug". While running it, I am getting a blank screen. Could you guys please help me out in what I am missing or doing wrong ????????
    HELP PLEASE!!!

  • Debug and release desktop app as mobile

    I built an app in Flash Pro where I could easily export an AIR app for desktop and an Android app.
    I have now moved it to Flash Builder and am not sure how to accomplish this.
    It is currently a Desktop app that bilds a release fine.
    Now, how to get an Android version from it?

    The difference between an AIR application and a browser
    application is very small. Take a look at the Adobe training video
    on this subject.
    http://www.adobe.com/devnet/flex/videotraining/?sdid=DYOCT
    In particular, the last part of day three. It's quite clear
    and you can download the test setup for free. Be careful! I believe
    that the Flex Builder configuration info is out of date, because
    the paths for installation of LCDS have changed. I found a fix.
    My notes, maybe a bit cryptic:
    Make sure when you install LCDS, choose the Tomcat option.
    This will install the server application.
    If you're using the new version LiveCycle Data Services ES
    2.6, you'll have to adjust a few things:
    When you install LCDS, click the Tomcat option and continue
    with the installation.
    Instead of unzipping to C:\lcds\jrun4\servers\default.. use
    this folder to unzip the server.zip file instead to
    C:\lcds\tomcat\webapps\odt
    Original adobe forum post:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=833&threadid =1387349&enterthread=y
    Also, instead of using port 8700, the new version uses 8400.
    1. Start the Server: Programs > LiveCycle Data Services ES
    2.6 > Start LiveCycle Data Services Server. Allow the server to
    start up.
    2. Point your browser to
    http://localhost:8400/ to test
    the start page.
    3. Your URL for this example will be
    http://localhost:8400/odt/
    Flex
    I found that in many places you cannot use $(ENV_VARIABLE)
    successfully.
    Enter the exact string.
    c:/lcds/tomcat/webapps/odt - for the training apps
    Always, instead of /lcds/jrun4/servers/default/odt, use
    /lcds/tomcat/webapps/odt
    Start the data base
    cd c:/lcds/sampledb
    startdb.bat
    LCDS local URL
    http://localhost:8400/odt/adobeODT-debug/AdobeODT.html
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=833&threadid =1387349&enterthread=y
    He knew what he was talking about. Thanks to rsadwick.

  • Splash screen for a desktop app (non mobile app)

    I'm using fb4linux, 4.5.1A SDK, I'm developing a non-mobile (i.e. desktop application) and I would like to add a splash screen to it.
    I've added mobilecomponents.swc to the library path, and the application starts like this:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx"
       width="400" height="400" xmlns:local="*"
       preloader="spark.preloaders.SplashScreen"
       splashScreenImage="@Embed('assets/splashscreen.png')"
       splashScreenMinimumDisplayTime="1500">
    When I debug it, no splash scren is shown and I get the following error:
    ReferenceError: Error #1065: Variable flash.display::StageAspectRatio is not defined.
        at spark.preloaders::SplashScreen/prepareSplashScreen()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src\spark\preloaders\SplashScreen.as:340]
        at spark.preloaders::SplashScreen/Stage_resizeHandler()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src\spark\preloaders\SplashScreen.as:407]
    The problem seems to be triggered by the line that sets the preloader, because if I remove it, the error is gone (although no splash screen is shown either).
    Any ideas how to make it work?
    Thanks!

    import [install folder]\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\mobile to your build path
    Note: You must add the frameworks\libs\mobile\mobilecomponents.swc to the library path of the application to support the splash screen in a desktop application.

  • Can we login to web app from the desktop app?

    I have a link in a wing based desktop app. That link is related to ticket of some bug tracking tool.
    Is that possible to navigate to that page in a browser (with login) by clicking the link in desktop app?
    Thanks in advance,
    Bachchu
    Edited by: Bachchu on Mar 30, 2012 2:42 AM

    http://docs.oracle.com/javase/6/docs/api/java/awt/Desktop.html#browse%28java.net.URI%29 will open the System browser on the page designated by the specified URI argument.
    If your bug-tracking webapp enables to browse directly to the given page, you probably just have to put the right URI (maybe with app-specific additional arguments to support direct login).
    In most cases, the webapp will detect you're not logged, and first insert a login page then redirect you to the target page after login in.

  • Is there a way to convert a fillable form to a mobile app?

    I have a business process that involves a network of affiliated people collecting data via a particular document which they then sign and return to me.  This could be something like a customer filling in a complex order entry form and returning it to me to place an order.  You could also imagine this like the IRS which provides forms for individuals to fill in and return.
    I would like to offer, as an alternative, a mobile app (iOS and Android) that is based on the same forms.  Imagine, for example, the IRS forms: there are desktop apps (such as TurboTax) that put a GUI form on screen, collect the data, and produce the forms necessary to print out and/or submit electronically.  I want to present my forms in a mobile app using 'native' UI widgets.
    Is there an Adobe tool that can do this conversion process?  I know I can use Acrobat and convert documents from Word to fillable PDF form.  And I believe I can use Adobe DC to convert fillable PDF forms to web forms.  Is there something similar to take me from fillable PDF to mobile app?

    TurboTax or H&R Block Tax software only print a copy of the inputted data to a PDF for the client's records. The input screens and data storage are all independent of the PDF printer.

  • Mobile vs desktop app

    After having gained some familiarity with the jQuery Mobile framework (which is fantastic), it appears as if we would need to maintain 2 versions of the Apex application, one optimized for a desktop browser and another for a mobile device. A homepage would redirect to the appropriate version depending on the device accessing it using some modern detection library like Modernizr
    But looking at other technologies like ASP.NET that implement the MVC framework, it looks like there is a way to cleanly separate content from the presentation layer. This is something Apex is unable to do because component templates cannot be changed at run-time.
    Maintaining 2 versions of the same Apex application is not something that I am looking forward to. Surely there is some clever way to have your cake and eat it too.
    Any ideas? Am I missing something? Thanks

    Hello Vikas,
    >> I am not sure I concur with your assessment above since presentation in Apex is determined by templates which are fixed for a given application
    Presentation is indeed determined by templates, however, template parsing is performed per page request (for simplicity sake I’m ignoring APEX cache). I’m pretty sure you are using conditioned regions. Conditioned regions actually mean that the logic of the page can determine the way it will be rendered. Let’s go back for a moment to the translation mechanism. APEX 4.0 introduced the p_lang parameter, as part of the f?p URL. This parameter instructs the APEX engine in which language to render the first page, before any session state actions has been taken. We can use a similar parameter, e.g. p_media, which will set a built-in substitution string, e.g. APP_MEDIA, that you’ll be able to use to condition your page regions. As a single page can include various regions, each with its own template, you’ll be able to control which region will be the one to displayed – optimized for desktop or optimized to mobile.
    The point I’m trying to make is that when APEX saves your logic – report SQL queries, list of items, etc. – it doesn’t saves with it the way these elements are displayed. This information is kept separately. You can easily change the entire application theme without any logic changes; you can transform a classic report to IR, etc.
    >> short of designing to the lowest common denominator (mobile), I still don't see how it is possible to have ONE Apex application that would look different on a mobile vs desktop device, see the points in my earlier post.
    I believe that we all agree that in some cases you need to design your page differently, according to the target media it’s going to use. For example, I have an application that includes a phonebook. Each phone record has about 30 possible information items. When invoked from a desktop, all the fields are displayed (including, for example, the empty ones). When invoked from a mobile platform, only about, or up to, 8 fields, which contain data, are displayed (BTW, one can claim that this is a pure logic issue and not only presentation issue, as you need to determine which fields are going to be displayed). Anyway, I’m having a single application which includes different pages for different medias. At the time, my options were not as wide as the ones we have with 4.1, and remember that we are only at the beginning of the road.
    >> Thanks for your example on apex.oracle.com but I know that Apex allows 100% control over the templates used to render content and 4.1 has some improvements in this area but I am not sure it is germane to this discussion
    The point I was trying to make is that even with the current 4.1 version, which doesn’t include official mobile support, the APEX engine is already equipped with (almost) everything we need to generate HTML code that is compatible with JQM demands, and that we can do it on a single page.
    >> [On a related note - When Form Items in Table is set to No, I am guessing table-based item layout attributes like Begin on New Line, Rowspan/Colspan would be ignored. So how would item layout in the region be controlled? Using pure CSS techniques like float, clear, etc? I am not a CSS expert, I guess I can't see how the region template and label template interact to produce the desired layout]
    You are correct. When Form Items in Table is set to No all the declarative layout fields are void. I updated my demo page to show an example of a region – the second one - where we are using a DIV based layout without any CSS. The third region shows an example of the same region, this time with the use of a very minimal CSS.
    DIV based layout is neither declarative nor simple, at least for now. It requires a lot of CSS code, and not in the basic level. Compared with the current table based layout options, which are highly declarative, and can give you quite complex layouts (sub- regions, etc.) we have a very long way to go with the DIV based layout. However, you need to remember that in the mobile arena, layout demand tends to be much simpler.
    >> Case in point - Report region since that is the primary component used to display content … even if you build a 100% DIV-based report and region template, I don't know if JQM can use DIVs exclusively to format content. As per the JQM docs, it needs the UL element to provide some semantic meaning to the markup.
    You keep getting back to the UL element, and I’m not sure why. I agree that when you need to format lists, this is an important element (which APEX also uses), however, JQM also supports grid layout, which based on DIVs - http://jquerymobile.com/demos/1.0b2/#/demos/1.0b2/docs/content/content-grids.html. I believe this can be used with reports.
    As Marc confirmed in one of his threads, much of the ways APEX will support mobile applications will be determined by the JQM technologies and options. For now, and I believe mainly to allow future (relative easy) backward compatibility, the current 4.1 version of the APEX engine includes options to accommodate the most obvious JQM demand. As we all know, the development team is very open to new ideas and suggestions (as the new 4.1 translation mechanism clearly shows) so we can hope that they will consider all options to make our life as developers simpler and easier. I’m sure they are aware, just like us, of the growing trend of mobile development. I’m sure they will devote a lot of thinking to the subject. I never spoke with Joel about that (as you know, Oracle doesn’t publish its future plans and strategies, and I have to respect that), but my impression is that where APEX is concerned, the only thing carved in stone is the use of JQM. Everything else is open.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • USB communication AIR desktop and AIR mobile app

    Hi! Does somebody know the possibilites of USB communication between and AIR desktop app and an AIR mobile app. I need to send files from an desktop application to the external memory on an mobile device. Is it possible for the desktop app to recognise when the mobile is connected. And is it possible for the mobile app to send commands the desktop app? So I need a two way communication. Anybody who has any ideas?

    Really old thread, checking in.

  • I'm an active subscriber for creative cloud photography plan. However, I can not connect with lightroom mobile. On my desktop app or on iPad app I get the message ˜trial expired˜. Please, what is going on?

    I'm an active subscriber for creative cloud photography plan. However, I can not connect with lightroom mobile. On my desktop app or on iPad app I get the message ˜trial expired˜. Please, what is going on? Thanks for the help.

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Convert HTML/javascript AIR app to flex-based AIR app?

    Hi all,
    I've already built an AIR app using HTML/javascript that I
    would like to monetize.
    I would like to use O2app's E-Commerce framework, which right
    now only supports Flex-created AIR apps.
    My question: Is there a simple way to "convert" an
    HTML/javascript AIR app to Flex 3 format? I'd rather not have to
    rebuild the app from scratch in Flex 3 if I don't have to. :)
    Thanks,
    Al

    Hi,
    There's no simple way to convert an HTML AIR app to flex.
    But it is possible to create HTML Root windows from a Flex
    AIR App. By root window, I mean the same kind of window that is
    launched when you launch an HTML AIR App.
    For more info, look at the HTMLLoader.createRootWindow()
    call. (This will be available from a Flex AIR app as well)

  • Does Apple still use a checksum hash (or take other steps) to prevent Songbird media player desktop app from opening?

    Hello. I've downloaded and installed Songbird for Mac desktop three times. When I try to open the application its icon briefly appears in the dock, but after several seconds it crashes without opening. My MacPro meets and exceeds the listed software requirements. Any ideas why the app won't open? According to http://www.zdnet.com/blog/open-source/what-might-end-apples-open-source-pass/313 0, "For those unfamiliar with the story, Apple began "protecting" its iTunesDB file (necessary for syncing) with a checksum hash in September 2007. This kept people from using other music programs like Winamp and Songbird, alongside iPod files." That's ancient history now, and Apple does even allow the Songbird mobile app for iPhone. There is no Songbird app in the App Store though, and attempts to open the desktop app file downloaded from Songbird's site result in the problem described.
    Possibility: I have a large iTunes music library - 16K+ songs - would Songbird refuse to open due to potential stability issues with importing a library that size?
    Found a similar issue on the Songbird support boards here: https://getsatisfaction.com/songbird/...
    Based on that info I opened Terminal and entered
    /Applications/Songbird.app/Contents/MacOS/songbird -ProfileManager &
    This opened a small dialog box that allowed me to specify a default user (but would not allow the default user name to be re-named). I was then able to go through several windows and opt to have my iTunes library imported, to have several Songbird apps imported, and to not provide user details. The window then closed, and the Songbird icon again disappeared from the dock. Crash.
    Meanwhile, the Terminal app now displayed
    this.addToLibrary is null in SBPlaylistCommand_AddToLibrary ?!!
    I then entered the original command again, opened the default user box again, but then the default user dialog box closed and again the Songbird icon disappeared from the dock. Crash.
    Attempted to open Songbird from the Applications folder with the same result: the default user box appeared briefly, then closed and the Songbird icon disappeared from the dock. Crash.
    Any other ideas that might help this to open, or does Apple feel threatened and is therefore preventing users from accessing the app?

    In Theory wrote:
    Any other ideas that might help this to open, or does Apple feel threatened and is therefore preventing users from accessing the app?
    Songbird working exactly how it should here under Mountain Lion 10.8.2  Maybe try uninstalling as per manufacturer's instructions and reinstalling most recent version. I would be hesitant to muck around with a non responsive program as such with Terminal before exploring other Troubleshooting Paths such as other Third Party conflicts. Have you installed any anti-virus software? MacKeeper, Little Snitch or similar? Can you post a crash report. That may help further.But definately working as it should here.
    Cheers
    Pete

  • Sap Mobile platform Tutorialst

    Hello,
              I need to consume the sap backend in android,this can be possible by using the "SAP Mobile Platform and SAPR3<>NetWeaverGateway<>SUP-ODP<>RelayServer<>Device".I already registered with the open sap, i have done  the self study for the course SAP mobile Solution Development for Enterprise,so now i got some information on it i need to learn it very depth.
    I have few questions.
         1.Is their any other online training  courses available on sap mobile platform ?
         2.Open Sap will soon start any training courses on sap mobile platform ?
    Thanks in advance sorry for bad english
    Regards,
    Navaneeth prodhutur

    The architecture you given uses Odata exposed from NW gateway and SMP will be an online data proxy. Relay server can be used for more security. To know how to develop android apps in this architecture follow this,SyBooks Online
    Other types of applications that you can develop using SMP include Object API based (as Jitendra mentioned, Developing SAP Android Mobile app from scratch), HWC apps (HWC mobile app development for dummies), apps using third party frameworks (http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01942.0230/doc/pdf/smp_tutorial_hybrid_app_package_devel…) and rest apis (http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01926.0230/doc/pdf/smp_devguide_rest_api_applications.pd…).
    Helpful links,
    http://scn.sap.com/thread/3205550
    http://scn.sap.com/thread/3436603
    http://scn.sap.com/docs/DOC-36056

Maybe you are looking for

  • Use Time Capsule as default for photos and files

    How can I change my Macbook Pro to save files/photos when downloading from my camera in iPhoto using my Time Capsule as a default place to save instead of on the Macbook hard drive?

  • [PX6-300D] Access permissions problem with shares

    Hello, Let me explain the problems. When i try to connect one share to PC by mapping network device everything is normal - we have access to the storage and so on, but when i try to simply type the \\address\share in explorer i'm receiving "\\address

  • Sorting and deleting in SQ01..plz reply soon

    Hi all, i am developing ABAP query through transactions SQ01, SQ02 and SQ03. first i went to SQ03 then to SQ02 and then to SQ01. When i am going to SQ01, i want to sort the output based on one field. It shown there that if you want to sort on the bas

  • Business packages for SAP Portal 7.3

    Hi, as far as I know at the moment there are no business packages existing for SAP Portal 7.3. Is this correct? If yes, how are the different business packages scheduled? Bye, Timo

  • Regarding IR components........

    Hi all, Can anyone please send me a blog that gives a detailed explanation about all IR components that are present in a namespace??i mean including fault msg types,context objects,adapter objects etc. Thanks in Advance