Questions tagged as 'broadcastreceiver'

3
answers

Alarms get lost when cell phone is turned off and on!

How do you prevent alarms from getting lost? Ex: If I create a AlarmManager that calls a Broadcast , if I reboot the phone the alarm will no longer be released.     
asked by 05.06.2014 / 22:38
1
answer

"java.lang.SecurityException: Permission Denial" on Android 6 Marshmallow (API 23)

I'm trying to register a broadcastreceiver so I can check out a new sms that might arrive on the device. I'm getting an error only in android marshmallow in the following snippet of code from my fragment: public static final String BROA...
asked by 30.03.2016 / 22:28
0
answers

Hide the APP icon

Good afternoon, guys. I need to create a service-type APP with no icon or any trace of it running. I've been able to hide everything I need and everything works fine. However, I'm using BroadcastReceiver to load the app automatically at...
asked by 25.08.2016 / 21:29
1
answer

Inflate a warning in the view from a BroadcastReceiver

I have an application where it is necessary to monitor, and warn the user when he is without an internet connection available. To solve this, I created a BroadcastReceiver and show a toast when this happens. But I need to update this class so th...
asked by 04.09.2015 / 16:26
1
answer

BroadcastReceiver ACTION_SETTINGS. Does not intercept

Good evening, everyone. I would like my application to be called when the user clicked "Settings" on his device. So I tried to use a BroadcastReceiver to intercept android.provider.Settings.ACTION_SETTINGS and put my application as t...
asked by 14.09.2015 / 05:52
1
answer

Dynamic notifications, via parameters, on Android

I want to create a dynamic notification on Android, where I can change the title and text that is displayed, via parameters . I'm currently doing this: Home.class @Override protected void onCreate(Bundle savedInstanceState) { su...
asked by 03.09.2014 / 17:23