Android Question Use an advertising API written in Java in B4A

Serge Nova

Member
Hello dear Programmers, I have a few things that concern me, I have been using Adfly link shortener for a long time on my websites and now I would like to use their APIs to display their advertisements directly in one of my applications. I have the API (in Java) and the documentation but I don't know how to use it with B4A, I am importing the files and I will need help to use it at B4A.
Sorry for my English, I use Google Translate
 

Attachments

  • Adfly_Api.rar
    330.1 KB · Views: 73

DonManfred

Expert
Licensed User
Longtime User
One need to write a wrapper for this with java.
 
Upvote 0

MicroDrie

Well-Known Member
Licensed User
I have the API (in Java) and the documentation but I don't know how to use it with B4A, I am importing the files and I will need help to use it at B4A.
Lucky for you, the zip file contains the necessary java wrapper code. I'm not a Java expert and of course we don't know what your B4A program looks like, but the included java wrapper and Java example seem easy to use with a B4A in-line java statement. For the conversion of the JSON responses you can obtain the B4A code via the link to JSON Tree Example.
 
Upvote 0
Top