Lazarus

Programming => Operating Systems => Android => Topic started by: Robert Gilland on March 14, 2019, 06:29:02 am

Title: Third Party Java Libraries
Post by: Robert Gilland on March 14, 2019, 06:29:02 am
Can Lazarus for Android access Third Party Java Libraries?
Needing to access Bar Code Reading hardware. Have Java SDK for it.
Title: Re: Third Party Java Libraries
Post by: Thaddy on March 14, 2019, 10:22:40 am
Can Lazarus for Android access Third Party Java Libraries?
Needing to access Bar Code Reading hardware. Have Java SDK for it.
Yes.
Title: Re: Third Party Java Libraries
Post by: Robert Gilland on March 15, 2019, 12:17:23 am
Great News, are there any online examples for this?
Also what is the difference between Android and Android-JVM?
Title: Re: Third Party Java Libraries
Post by: Leledumbo on March 15, 2019, 01:07:21 am
Great News, are there any online examples for this?
AFAIR LAMW has a tool for generating Pascal unit from Java classes, but I'm not sure. I haven't coded Android in a long time.
Also what is the difference between Android and Android-JVM?
The former targets ARM natively (will only run on Android of the same architecture), the latter targets... well... JVM, just like what a Java compiler will produce (it will run on any Android regardless of architecture).
Title: Re: Third Party Java Libraries
Post by: Robert Gilland on March 15, 2019, 01:25:54 am
Does this mean if I compile an Android APP using Android Oreo NDK and SDK in LazAndroid, it can only work in Oreo? Oreo = Android 8.0.0
Title: Re: Third Party Java Libraries
Post by: Robert Gilland on March 15, 2019, 01:29:17 am
Who is LAMW?
Title: Re: Third Party Java Libraries
Post by: Handoko on March 15, 2019, 03:45:26 am
LAMW (Lazarus Android Module Wizard) is one of the possible way to create Android apps using Lazarus.

There are several other ways to create Android apps using Lazarus/FPC:
http://forum.lazarus.freepascal.org/index.php/topic,38777.msg264428.html#msg264428
Title: Re: Third Party Java Libraries
Post by: Leledumbo on March 15, 2019, 12:30:49 pm
Does this mean if I compile an Android APP using Android Oreo NDK and SDK in LazAndroid, it can only work in Oreo? Oreo = Android 8.0.0
Android version isn't related with any of the above. You define that in the manifest (target SDK version and minimum SDK version).
TinyPortal © 2005-2018