Android Question using .aar in my B4A project

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
hello

i got a native .aar SDK file
is it usable as-is in B4A or should it be converted ?
if needs to be converted - any help i can get on how to do it?

thanks
 

teddybear

Well-Known Member
Licensed User
hello

i got a native .aar SDK file
is it usable as-is in B4A or should it be converted ?
if needs to be converted - any help i can get on how to do it?

thanks
See here
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
it does not really help. Sure, it is a mandatory step; but adding the aar alone does NOTHING.

But you also need to use javaobject to work with it or alternatively write a wrapper for it.
 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
So it seems that it is useless without the wrapper

I'm not a pro when it comes with this, but I don't think this is correct.

It's more something like:

1. Either make an aar accessible with #AdditionalJar and then use it via JavaObject (here's an example).

... or ...

2. Make a wrapper - and here I can't say anything else, because I don't have a clue :)


I have read several times that if the aar is simple, the first one is preferable. If it's big and complex then a wrapper probably is better.
 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
i already wrote that in #4 :D
Yep, that's true.

I merely clarified because @Zeev Goldstein seemed to be under the impression that he actually needed a wrapper, which might not be true. It seemed friendlier to me to post a more detailed explanation in #7 rather than simply posting "you didn't fully understand #4, keep reading it until you do".
 
Upvote 0

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
guys, thank you all for your input
i find it very helpful
i will try and see if i can use it as suggested otherwise rither rethink or post a job request
once again - thank you
 
Upvote 0
Top