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 :?

Was it helpful?

Solution

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

Here's the Reference -- Service

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top