broadcastreceiver
broadcast receiver issue need help ?
I try to create a broadcast receiver in inner-class of AsyncTask class here my code public class sendData extends Activity {[详细]
2023-03-24 09:57 分类:问答Access a database from Broadcast receiver?
I cant access my SQlite database from my broadcast receiver. Is it even possible? I keep getting a NullPointerException.In the onReceive of the BroadcastReceiver I call[详细]
2023-03-24 09:53 分类:问答Android AlarmManager details?
I\'m working on my first Android application and I\'m having problems using AlarmManager. My application schedules an alarm to check a few URLs for data. Well, sometimes when the alarm runs, I get an[详细]
2023-03-24 05:18 分类:问答Android Development: How To Add App To The Application Chooser?
Basically I want to add my application to the application chooser list for files with the type .php, .java, .js, .html etc. so that users can browse for a file using any file browser and use my app to[详细]
2023-03-24 02:58 分类:问答How to distinguish the screen on/off status while incoming call?
My app uses the TelephonyManager.ACTION_PHONE_STATE_CHANGED for some actions. But I want a different action while the phone rang when the user was present (screen was on) and different action when the[详细]
2023-03-23 16:24 分类:问答How to respond for onConfigChanges in one of my tabs?
I have tab layout in portrait mode. Now I have to respond for onConfigChanges happened in one of my tabs. Following research on google I made this code:[详细]
2023-03-23 13:28 分类:问答Listen to internet availability in service in android
I already create receiver to test network availability so I can receive when the android has or no network, but how can we listen to internet availability?[详细]
2023-03-23 13:03 分类:问答Update a currently running BroadcastReceiver (pass it new values) from and Activity
Is it possible to update a currently running Broadcastreceiver from an Activity? For example: Say the user enters a string...and then hits submit...I want the broadcast receiver to be updated with t[详细]
2023-03-23 04:12 分类:问答Service and Wake Lock Policy
As stated by the AlarmManager docs: http://developer.android.com/reference/android/app/AlarmManager.html#RTC_WAKEUP[详细]
2023-03-23 03:06 分类:问答Cannot read currentTimeMillis in BroadcastReceiver
I\'m trying to measure how long each Bluetooth discovery process takes place. I assign currentTimeMillis to startTime and stopTime. When I put the BroadcastReceiver class as inner class, I can read bo[详细]
2023-03-23 03:04 分类:问答