Question

I am making an Android APP that connect to my server (VB6), everything is working perfect, but I have a small problem I want the APP stay able to receive data even when the Activity_pause occure I notice that the APP will receive the data when the user resume the application

its something like viber, the program is able to receive events even when the UI is not loaded how :?

Était-ce utile?

La solution

You probably need to implement a Service to receive message on background when your Activity is onPause.

Here's the Reference -- Service

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top