[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jakarta.ee-community] Help wanted - Android expert?
|
That's too big a hurdle. I'm not going to tell people who have
chosen to develop an application for an Android device that if they
want to use Jakarta Mail they have to forget about Android and
rewrite their application using "real Java". It will never happen.
So, I'm still looking for an Android expert...
Johan Vos wrote on 3/7/20 12:31 PM:
Hi Bill,
I suggest using real Java on those Linux-based Android devices.
Sample that show this is at [1].
This is using OpenJDK Mobile [2] (the diff with upstream is
very small, and I hope to bring it to 0 soon), together with
GraalVM [3] .
The sample docs explain how a maven plugin [4] is used that
will invoke the GraalVM compiler to compile your Java 11+
bytecode into native AArch64-code that runs on Android
devices.
You can easily use JavaFX to create a nice UI.
No "Android/fake java" code is required, no restrictions
about being limited to Java 6/7.
I didn't try the Jakarta Mail on Android yet with this
real-java approach, but it's an interesting idea.
- Johan
Anyone
out there consider themselves an Android expert?
I am not. :-( To make Jakarta Mail work on Android requires
some
workarounds for the ways that Android is not real Java. Now
it
appears that the Android implementation has changed and my
workaround
no longer works.
I'd love to have some help tracking down the Android source
code and
testing any workarounds. Is there anyone who can help?
Thanks!
_______________________________________________
jakarta.ee-community mailing list
jakarta.ee-community@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakarta.ee-community
_______________________________________________
jakarta.ee-community mailing list
jakarta.ee-community@xxxxxxxxxxx
To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/jakarta.ee-community__;!!GqivPVa7Brio!LKAgHq6ycvh16jX5-P5ZLVKwN-8bdKBnmYJkMt8qzfxDolco8i1zTjRqBDGm6uI_HA$