Android Question Current "module" name

LucaMs

Expert
Licensed User
Longtime User
Can we get, via Reflection or JavaObject, the current "module" name?

The aim is to create a routine for logs.
I would like to avoid using a variable at module level.

' ModLogs module
Public Sub LogW (ModuleName As String, SubName As String, LogMsg As String)


' Main Activity
modLogs.LogW(GetModuleName, "Activity_Resume", "Can't do that")
 
Last edited:
Top