Hi,
I react on a notification by calling an activity:
On one device, it runs as desired. On 2 other devices, the activity, whiich downloads and unpacks a file, is called again and again, see the protocol below. It acts as if I would shake the device all the time.
As a result, no work gets done and the app crashes eventually.
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
I react on a notification by calling an activity:
B4X:
Sub MessageArrived (Intent As Intent)
Dim nb As NotificationBuilder
nb.initialize
...
nb.setActivity(Synch)
nb.AutoCancel=False
nb.Notify(2)
On one device, it runs as desired. On 2 other devices, the activity, whiich downloads and unpacks a file, is called again and again, see the protocol below. It acts as if I would shake the device all the time.
As a result, no work gets done and the app crashes eventually.
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **
** Activity (synch) Resume **
** Activity (synch) Create, isFirst = false **