[libbluray-devel] JRE for Android part 2

Petri Hintukainen phintuka at users.sourceforge.net
Mon Jan 25 21:07:28 UTC 2021


ma, 2021-01-25 kello 22:21 +0200, Shaya Potter kirjoitti:
> to be more specific, they said the android port doesn't support
> "headfull awt" presumably because it doesn't have a framebuffer to
> write to.   That would presumably (though we know what assume means)
> mean it supports headless awt.  the question would be, is headless
> awt sufficient for libbluray.  Basically, how does libbluray draw?

There's no need for Android AWT. Libbluray implements own AWT (so that
graphics can be passed to the application). But java.awt.* classes are
still required in the java runtime libs.

I've just built this JDK, and it seems to have all required AWT
classes.

> I should note in digging into it, it seems there acually is a
> supported android port of java now which they are based on
> 
> http://openjdk.java.net/projects/mobile/android.html
> 
> 
> 
> On Mon, Jan 25, 2021 at 9:32 PM Roald Strauss <mr_lou at dewfall.dk>
> wrote:
> >  
> >  Lemme pitch in, if I can do that by just replying this mail.
> >  AWT = Abstract Windowing Tools, as far as I remember.
> >  It is the framework used for drawing stuff in old Java, and yes,
> > it is very much needed for Blu-ray Disc Java. It's the only way
> > developers can draw stuff to the screen.
> >  
> >  
> >  
> >  
> >  Den 25.01.2021 kl. 20.12 skrev Vitor Dall'Acqua:
> >  
> >  
> > >  
> > > Got a reply! 
> > >  
> > >  So, launcher already has all the components of JRE (except for
> > > headful AWT, of course), but it was built with ndk-r12b (i
> > > think?) 
> > >  
> > >  
> > >  @Petri what is AWT and is that needed for libbluray?
> > >  
> > >  
> > >  Is it too lazy of my end to ask the guy to compile it with a
> > > newer ndk? O:) 
> > >  
> > >  
> > >  
> > >  
> > >  On Mon, Jan 25, 2021 at 3:52 PM Vitor Dall'Acqua <
> > > veggav at gmail.com> wrote:
> > >  
> > >  
> > > >  
> > > > Well.. wish me luck  
> > > >  
> > > >  https://github.com/PojavLauncherTeam/PojavLauncher/issues/713
> > > >  
> > > >  
> > > >  
> > > >  Later, I'll give a go with his JRE files and see what
> > > > happens. 
> > > >  
> > > >  
> > > >  
> > > >  On Mon, Jan 25, 2021 at 3:27 PM Shaya Potter <
> > > > spotter at gmail.com> wrote:
> > > >  
> > > >  
> > > > >  
> > > > > this actually includes source code
> > > > >  
> > > > >  see
> > > > >  
> > > > >  https://github.com/PojavLauncherTeam/PojavLauncher
> > > > >  
> > > > >  Java Runtime Environment (JRE)
> > > > >  
> > > > >  JRE for Android is here, also the build script here.
> > > > >  Follow build instruction on build script README.md.
> > > > >  You can also get CI auto builds.
> > > > >  Spliting JRE and put to the launcher: coming soon.
> > > > >  
> > > > >  I'd reach out to that guy, ask him if he would be interested
> > > > > in trying to get his android work integrated into kodi
> > > > > android build for libbluray usage. 
> > > > >  
> > > > >  
> > > > >  On Mon, Jan 25, 2021 at 7:30 PM Vitor Dall'Acqua <
> > > > > veggav at gmail.com> wrote:
> > > > >  
> > > > >  
> > > > > >  
> > > > > >  Received a notice that the e-mails were getting really big
> > > > > > and blocked. 
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  So, look another thing I found:
> > > > > >  
> > > > > > https://github.com/PojavLauncherTeam/PojavLauncher/releases
> > > > > >  
> > > > > >  
> > > > > >  Minecraft launcher built for Android that uses JRE. 
> > > > > >  
> > > > > >  When you install this apk it will place the files are
> > > > > > normal /data/app/appname/lib and no JRE there.
> > > > > >  After it runs for the first time it will put files here:
> > > > > >  
> > > > > >  
> > > > > >  /data/user/0/net.kdt.pojavlaunch/jre_runtime/lib/aarch64/s
> > > > > > erver/libjvm.so
> > > > > >  
> > > > > >  
> > > > > >  So I took that put in a zip file and added to mega so you
> > > > > > guys can take a look
> > > > > >  
> > > > > > https://mega.nz/file/XNly2ZgB#DFyM8xq4mEAQQ1d3ERF1GFoTqzIOcuESZXjuGdIguek
> > > > > >  
> > > > > >  
> > > > > >  It seems many use JRE on Android.
> > > > > >  And as you can see it's very similar to the way it's
> > > > > > present in Termux.
> > > > > >  
> > > > > >   
> > > > > >  _______________________________________________
> > > > > >  libbluray-devel mailing list
> > > > > >  libbluray-devel at videolan.org
> > > > > >  https://mailman.videolan.org/listinfo/libbluray-devel
> > > > > >  
> > > > > > 
> > > > >  
> > > > >  _______________________________________________
> > > > >  libbluray-devel mailing list
> > > > >  libbluray-devel at videolan.org
> > > > >  https://mailman.videolan.org/listinfo/libbluray-devel
> > > > >  
> > > > > 
> > > >  
> > > >  
> > > > 
> > >  
> > >  
> > >  
> > >  
> > > _______________________________________________
> > > libbluray-devel mailing list
> > > libbluray-devel at videolan.org
> > > https://mailman.videolan.org/listinfo/libbluray-devel
> > >  
> >  
> > _______________________________________________
> > libbluray-devel mailing list
> > libbluray-devel at videolan.org
> > https://mailman.videolan.org/listinfo/libbluray-devel
> _______________________________________________
> libbluray-devel mailing list
> libbluray-devel at videolan.org
> https://mailman.videolan.org/listinfo/libbluray-devel




More information about the libbluray-devel mailing list