开发者

Run an activity in background

I'm using an activity to get MMS attachment once a MMS is received. I have completed the MMS listener for this and it will call the activity, which will use getCo开发者_如何学PythonntentResolver() to grab the attachment. I want the activity to run in the background, without showing the empty UI to the user. Is there anyway to do it?


You will want to use a service to make this happen. It is basically an activity without a view. Check out the link below for more info.

http://developer.android.com/guide/topics/fundamentals/services.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜