Hi
I need to use an B4A activity instance in a B4A library.
What is the correct way to do this?
I need an activity instance to pass for enabling foreground dispatch on that activity
public void enableForegroundDispatch (Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists)
Regards,
Tomas
I need to use an B4A activity instance in a B4A library.
What is the correct way to do this?
B4X:
public void SaveTag(ActivityWrapper activity) {
Activity act = activity.getObject(); //getObject() is a BALayout
}
I need an activity instance to pass for enabling foreground dispatch on that activity
public void enableForegroundDispatch (Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists)
Regards,
Tomas