Hello all,
what can I do if I need informations provided by activity objects within a service or a widget?
Example:
I need a reflector to retreive following information:
where Obj1 is a reflector.
That does not work, as the a reflector is an activity object.
Is there any solution that allows me to get such data from within a service or a widget?
Thanks for your help.
Best regards,
Carsten
what can I do if I need informations provided by activity objects within a service or a widget?
Example:
I need a reflector to retreive following information:
B4X:
uptime = Obj1.RunStaticMethod("android.os.SystemClock", "uptimeMillis", Null, Null)
elrealtime = Obj1.RunStaticMethod("android.os.SystemClock","elapsedRealtime", Null, Null)
where Obj1 is a reflector.
That does not work, as the a reflector is an activity object.
Is there any solution that allows me to get such data from within a service or a widget?
Thanks for your help.
Best regards,
Carsten