On firebase service i need to pass some data from a new message received to currently running activity if any, if not to Main activity (callsubdelayed2)
I did tried this: https://www.b4x.com/android/forum/t...ctivity-from-a-code-module.68666/#post-471623, no luck
Log says: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
I intend to implement just a sub with a simple MsgBox function, but I have no idea how to code this once and display in any of the many posible running activity, except creating this sub in all the activities.
Your help is appreciated.
I did tried this: https://www.b4x.com/android/forum/t...ctivity-from-a-code-module.68666/#post-471623, no luck
Log says: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
I intend to implement just a sub with a simple MsgBox function, but I have no idea how to code this once and display in any of the many posible running activity, except creating this sub in all the activities.
Your help is appreciated.
Last edited: