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

有帮助吗?

解决方案

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

Here's the Reference -- Service

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top