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
精彩评论