current state of gradle script for Android?
Tobias Bley
tobi at ultramixer.com
Thu Aug 8 01:05:21 PDT 2013
Hi Tomas,
yes, I was able to build JavaFX for Android, but I would like to start JavaFX on Dalvik…You said its necessary to update the jfx78 backport to the latest openjfx code changes…?
btw: I just saw your very interesting JavaOne track ;)
Am 08.08.2013 um 09:59 schrieb tomas.brandalik <tomas.brandalik at oracle.com>:
> Hi Tobi,
> shouldn't be necessary to patch android.gradle file or set ANDROID_CROSS_TOOLS_VER anymore. The latest changes resolve path to a toolchain taking into account variants of NDK. Thank you for testing it.
>
> -Tomas
>
> 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", "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!
>>
>> 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?
>>
>> Best regards,
>> Tobi
>>
>>
>> Am 01.08.2013 um 16:00 schrieb tomas.brandalik <tomas.brandalik at 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.brandalik at 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
>>>>>>
>
More information about the openjfx-dev
mailing list