Android Question JAR file - Where to start

Rich Blackmore

Member
Licensed User
Longtime User
Looking to see if this is possible.

I have purchased this SIP java client.

https://www.mizu-voip.com/Portals/0/Files/documentation/jvoip/index.html#Using as a library

It is a Java JAR library file can this be embedded into B4A and used by some means anyone have any ideas or direction they could point me in ?

Can I use a compiled JAR file or does the JAR need to be compiled just for B4A with custom code. I remember reading somewhere but can't find it now that I have to create another JAR file to act as a wrapper to then call the functions in this compiled 3rd party JAR file.
 
Last edited:

OliverA

Expert
Licensed User
Longtime User
put the .jar file in the Additional Libraries folder. You set up that path in Tools->Configure Paths. You can use the library than either via
  1. JavaObject and/or Reflection libraries
  2. Inline Java code
  3. Creating a wrapper/library for B4R
or a combination of the above.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…