Android Question message app .... has stopped

MbedAndroid

Well-Known Member
Licensed User
Longtime User
i'm facing a strange issue for some time
i've build a app, all good working.
The app uses BT.
If you exit the app, all will be closed.

If some other google app will be updated, or when i work on a totally different app with the b4a bridge, all the time the message of this particular APP comes up : APP xxxx as stopped, every time 2x

It's puzzeling me a bit.
You can click the message away, next time i will load a different app with B4a the message will come back
Any clue's to solve this?
 
is there a good way to check the app service
the best way to check is to use the IsPaused command
Code: Copy
if Not(IsPaused(servicename)) then
    stopservice(servicename)
end if

And to visually debug and check if a service is running, I would put some Log inside each service's important subs like Service_Create, Service_Start, Service_Distroy printing its name and the name of the sub
 
Upvote 0
if i look in os monitor, the app is in sleep.... but the activity has been closed when exit was done
Sub mnuExit_click
pincodepassed=False
Serial1.Disconnect
Serial1.StopListening
StopService(blth)
StopService(newinst2) <--apupdater
Activity.Finish
PWK.ReleaseKeepAlive
End Sub
 
Upvote 0
it the moment i dont see the app in sleep, nothing left in os monitor
Still when i load a totally other app with b4a bridge the message comes up, every time 2x
strange.....
 
Upvote 0
Back
Top