Android Question use of third-party libraries .aar

Angelo Messina

Active Member
Licensed User
hi, I was wondering if there are more exhaustive examples for the use of third-party libraries .aar, although I know a bit of methods I can not figure out how to use them.
example:
GetSN
public java.lang.String GetSN ()
Returns:
Serial number of device

Thank you
 

DonManfred

Expert
Licensed User
You also can access the AAR using
B4X:
#AdditionalJar: YourAAR.aar
and use the methods using JavaObject. Example.
It requires some java knowledge.
 
Upvote 0

Star-Dust

Expert
Licensed User
thanks, I just wanted a help with a method, since the example Picasso from a 404 error
Open another thread for this new question.
Present the problem and you will receive help
 
Upvote 0

OliverA

Expert
Licensed User
It requires some java knowledge.
This is the key. You'll need to look how the method is implemented in a Java project and depending on the complexity you can probably replicate the use with the JavaObject or the Reflection library. There are a ton of posts on this forum with examples. That is how I learned how to use JavaObject/Reflection (a lot of post reading and a lot (I mean a lot) of failed attempts before getting a hang of it). It does help that I "know" some Java. Another alternative is inline Java, but then you really need to know some Java.
 
Upvote 0
Top