Hi,
this was a typo :( I meant FXActivity not FXApplication.
You can get some hints from FXActivity.java.jfx78 source file if you
look at launchFXApplication(). But this is just an old launcher which is
not functional now. I will to give it a try when there is backport of
javafx (https://bitbucket.org/narya/jfx78) updated to latest status of
openjfx. It should be fairly easy to write launcher for dalvik.
-Tomas
On 08/07/2013 09:35 AM, Tobias Bley wrote:
Hi Tomas,
thanks for your hints. Where can I find the „FXApplication“ class? There is
only a „FXActivity“ and a „VMLauncher“ class…
Could you please give me a hint how to start to build a JavaFX launcher for
Dalvik?
Thanks,
Tobi
Am 02.08.2013 um 10:59 schrieb tomas.brandalik <tomas.branda...@oracle.com>:
On 08/01/2013 11:41 PM, Tobias Bley wrote:
Thanks Tomas,
after changing android.gradle script line "defineProperty("ANDROID_CROSS_TOOLS_VER",
"arm-linux-androideabi-4.4.3“)“ to "defineProperty("ANDROID_CROSS_TOOLS_VER",
If toolchain version changed you just need to pass property
-PANDROID_CROSS_TOOLS_VER=arm-linux-androideabi-4.6
"arm-linux-androideabi-4.6“)“ and "def toolsPlatform = IS_WINDOWS ? "windows" : IS_MAC ? "macosx" :
"linux-x86““ to „def toolsPlatform = IS_WINDOWS ? "windows" : IS_MAC ? "darwin-x86_64" : "linux-x86““ I could
successfully build OpenJFX for Android von Mac OS X 10.9!
I will have a look at it.
So now I’m trying to use Android Studio and the Emulator to start a JavaFX test
application on Android. I tried to start my activity which extends from
FXActivity class in „com.oracle.dalvik“ package. But how do I have to specify
the JavaFX application class or main method? How do I have to bind the
FXActivity with the JavaFX app (Stage / Application)? Is there any demo code
available?
The fx project for android looks like usual android project except that it
bundles with the vm image. All essential parameters (main class, debug port,
parametets etc) are in AndroidManifest.xml
If you look at FXApplication you will realize that it installs vm first and
then launches fx application on that vm. FXApplication activity does very
little just prepares a surface where to draw opengl stuff. I'm sure you see the
catch ... the vm is not available yet.
Another option to consider is to run on dalvik which I think is doable with a
rewriting the launcher and using compatibility project javafx78 (or how's that
called).
-Tomas
Best regards,
Tobi
Am 01.08.2013 um 16:00 schrieb tomas.brandalik <tomas.branda...@oracle.com>:
The latest tools should be ok sdk ver. 22 and ndk r9. I have sdk 21.1 and ndk
r7c and r8e.
http://developer.android.com/sdk/index.html
http://developer.android.com/tools/sdk/ndk/index.html
-Tomas
On 08/01/2013 03:41 PM, Tobias Bley wrote:
Which android SDK do I need? Could you please give me the URL to the correct
android SDK and NDK?
Thanks!
Tobi
Am 31.07.2013 um 16:42 schrieb tomas.brandalik <tomas.branda...@oracle.com>:
Hi Tobi,
it works on linux only right now.
Set properties for cross build and android sdk/ndk.
-PCOMPILE_TARGETS=android -PANDROID_SDK=/opt/android-sdk-linux
-PANDROID_NDK=/opt/android-ndk-r7c -PCOMPILE_GSTREAMER=false -PSKIP_JAVADOC=true
Closed source parts web and font-t2k will be missing.
-Tomas
On 07/29/2013 11:22 PM, Tobias Bley wrote:
Hi,
can anyone say something about the current state of the gradle android support?
Is it possible to build OpenJFX for Android now via gradle?
Best regards,
Tobi