B4J Question How to get Package Name?

rwblinn

Well-Known Member
Licensed User
Longtime User
One solution is to use a JavaObject and read the Packagename from jCore.jar

B4X:
Dim joBA As JavaObject
joBA.InitializeStatic("anywheresoftware.b4a.BA")
Log("Packagename: " & joBA.GetField("packageName"))
Output Example:
Packagename: com.rwblinn
 
Upvote 0
Top