开发者

Android running application in the background - Beginner

开发者 https://www.devze.com 2023-03-30 04:56 出处:网络
I am a beginner in Android development, and i need to know the following; I need my application to operate in the background, even if th开发者_StackOverflowe user gets a call my application should r

I am a beginner in Android development, and i need to know the following;

  1. I need my application to operate in the background, even if th开发者_StackOverflowe user gets a call my application should run uninterruptedly. Can this be done ? I have heard that android only allows 1 application to run in a given instance


To run code when your app is not in the foreground, you want to run it in a http://developer.android.com/reference/android/app/Service.html.

0

精彩评论

暂无评论...
验证码 换一张
取 消