Mashiane Expert Licensed User Longtime User Sep 24, 2015 #1 How does one get the b4j package name in code?
rwblinn Well-Known Member Licensed User Longtime User Sep 24, 2015 #2 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
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