Android Question Convert Java code to b4x code

Chris Guanzon

Active Member
Licensed User
Longtime User
Hello, can someone help me how to convert this to b4x code?

1588769579961.png


I've already read this https://www.b4x.com/android/forum/t...h-additionaljar-and-javaobject-picasso.40904/ .

I have no idea how to use it in b4a.
 
Thanks DonManfred, I am 0 knowledge in java, but i am willing to learn and willing to do it. I just need a guidance on how and where to start. :)
 
Last edited:
Upvote 0

Post questions here:
 
Upvote 0
Upvote 0
By the way, is this actual working code? ITYSmartPosApi is an abstract java class. No java expert here, but I did not think you can instantiate an abstract class. Looks like the class you should be using is TYSmartPosApi and its located at com.whty.smartpos.tysmartposapi.impl

Source to library:

Info on Abstract classes:
 
Upvote 0
By the way, is this actual working code? ITYSmartPosApi is an abstract java class. No java expert here, but I did not think you can instantiate an abstract class. Looks like the class you should be using is TYSmartPosApi and its located at com.whty.smartpos.tysmartposapi.impl

Source to library:

Info on Abstract classes:

Hi @OliverA, is the method used in here https://www.b4x.com/android/forum/t...h-additionaljar-and-javaobject-picasso.40904/ works for me? Or i need to do a different approach?

By the way, is this actual working code?

yes it is.
 
Last edited:
Upvote 0
Upvote 0
Back
Top