How do I start my app when the phone starts on Android?
I tried using the sample code in this tutorial but it seems outdated and it did not work. So what changes do I … Read more
I tried using the sample code in this tutorial but it seems outdated and it did not work. So what changes do I … Read more
I am developing an android broadcast receiver for checking internet connection. The problem is that my broadcast receiver is being called two times. … Read more
I need to check if my registered receiver is still registered if not how do i check it any methods? 17 Answers 17
Is there any reliable way to get a Context from a Service? I want to register a broadcast receiver for ACTION_PHONE_STATE_CHANGED but I … Read more
I’ve been trying to start a service when a device boots up on android, but I cannot get it to work. I’ve looked … Read more
How to use/locate LocalBroadcastManager as described in google docs and Service broadcast doc? I tried to google it, but there is no code … Read more
Well here is a complete example of an AutoStart Application AndroidManifest file <?xml version=”1.0″ encoding=”utf-8″?> <manifest xmlns:android=”http://schemas.android.com/apk/res/android” package=”pack.saltriver” android:versionCode=”1″ android:versionName=”1.0″> <uses-permission android:name=”android.permission.RECEIVE_BOOT_COMPLETED” /> … Read more