broadcastreceiver
How to unregister BroadcastReceiver
My app uses a BroadcastReceiver to get sms in this way: SmsBR.java public class SmsBR extends BroadcastReceiver {[详细]
2023-04-05 18:52 分类:问答AlarmManager and BroadcastReceiver: is this right approach? (need to repeat task every X mins)
My application should send some data to the remote database. The problem is that sometimes there is no internet connection available (for example, there are no Wi-Fi and GSM signals). In this case I s[详细]
2023-04-05 18:13 分类:问答How to invoke a broadcast receiver inside a background activity
I have a broadcast receiver declared inside an activity which is in background.I want this broadcast receiver to receive a message which i send from another foreground activity.I know that the activit[详细]
2023-04-05 14:47 分类:问答BroadcastReceiver vs Service
Well, in android, what is the difference between doing something in broadcastReceiver and calli开发者_开发知识库ng another service in broadcastReceiver? I think they both run in background,right?[详细]
2023-04-05 10:41 分类:问答Accessing an activity instance from a BroadcastReceiver
Taking the sample code from http://developer.android.com/resources/samples/SipDemo/src/com/example/android/sip/IncomingCallReceiver.html:[详细]
2023-04-05 05:46 分类:问答Get a response when I use "adb shell am broadcast"
I have an Android app with a receiver that li开发者_Go百科stens for 2 intents, 1 that spawns a thread to write to a file and 1 that spawns a thread to upload the same file to a server.[详细]
2023-04-05 05:45 分类:问答Intent from Broadcast receiver to an activity?
I have an app, that send SMS when button is clicked. After thet I am expecting a answer SMS, so it goes like this:[详细]
2023-04-04 19:01 分类:问答close() was never explicitly called on database
I need to store sms in a sqlite database, when one is received. I\'m using these classes: DBHelper.java[详细]
2023-04-04 18:46 分类:问答Reading only specific SMS messages?
I have a SMS reciver that listens incoming SMS messages and saves text from SMS into File on sdcard. I want to listen all incoming messages, but only specific messages, taht begins with word \"Nemas\"[详细]
2023-04-04 12:05 分类:问答How do I keep track of multiple broadcast receivers
I have 2 different files that need to initiale the same broadcast receiver. I am having problems with retrieving the results.Somehow I\'m getting null values on occasion which is a result of not being[详细]
2023-04-04 10:58 分类:问答