R rworner Member Licensed User Longtime User Jan 3, 2014 #1 I have an MK802IIIs android device basically running as a display board via a webview - similar to an airline flight arrival/departure board. Every now and then (not consistent so I can't determine the cause) the device enters the Activity_Pause routine. This app is the only app running and the orientation is not changed so I don't know why it enters Activity_Pause. I do not want to enter Activity_Pause and want to know if the following code will cause a problem. If this is not an option, is there another method to ignore a pause? Code: Copy Sub Activity_Pause (UserClosed as Boolean) If UserClosed=False then timer6.Enabled=true Activity_Resume End If End Sub
I have an MK802IIIs android device basically running as a display board via a webview - similar to an airline flight arrival/departure board. Every now and then (not consistent so I can't determine the cause) the device enters the Activity_Pause routine. This app is the only app running and the orientation is not changed so I don't know why it enters Activity_Pause. I do not want to enter Activity_Pause and want to know if the following code will cause a problem. If this is not an option, is there another method to ignore a pause? Code: Copy Sub Activity_Pause (UserClosed as Boolean) If UserClosed=False then timer6.Enabled=true Activity_Resume End If End Sub
NJDude Expert Licensed User Longtime User Jan 3, 2014 #2 There's no way to "ignore" Activity_Pause, that's how Android apps work, what you should do is search for the cause why the app goes to the background, maybe the system is killing your app? is there another process coming on?, things like that. Last edited: Jan 3, 2014 Upvote 0
There's no way to "ignore" Activity_Pause, that's how Android apps work, what you should do is search for the cause why the app goes to the background, maybe the system is killing your app? is there another process coming on?, things like that.
mc73 Well-Known Member Licensed User Longtime User Jan 3, 2014 #3 I think the question is why you want a non pausing activity? You can always set a service running all the time, doing what you want Upvote 0
I think the question is why you want a non pausing activity? You can always set a service running all the time, doing what you want