Questions tagged as 'broadcastreceiver'

0
answers

Receive and read SMS content on Android

In summary my application calls a Raspberry with GPS that cuts the call and answers with an SMS with the coordinates in which it is. With my code I can call it, but when I receive the SMS I can not get my APP to detect it and read the content. I...
asked by 25.07.2017 / 21:24
0
answers

Doubts with BroadcastReceiver on Adroid

I am using the following code: private boolean statusUSB = false; private final BroadcastReceiver usbReceiver = new BroadcastReceiver() { public void onReceive(Context context, Intent intent) { final String action = intent.getAct...
asked by 23.10.2018 / 21:29
1
answer

BroadcastReceiver reconnected during delay

Hi. I have a BroadcastReceiver and it responds well. I am using a custom layout in case there is no connection that after 10 seconds the google dinosaur does not appear.  Now it turns out that in addition to completing the 10 seconds. if the con...
asked by 27.11.2018 / 05:41
0
answers

Broadcast in service does not work

I tell you, I have android 8, so the broadcasts do not work declared from the manifest and that's why I have to insert them programmatically ... The process is easy, I show you my service where I add it (extends from Service) @Override...
asked by 15.11.2018 / 14:10
0
answers

alarmManager does not work on android 8

I have an app that needs to be launching notifications 2 times a day in a specific time, as if it were a reminder. Currently this functionality I'm doing with alarmManager, the problem arises with phones with android 8 since this does not allow...
asked by 31.10.2018 / 20:11
0
answers

Exchange of information between Activity and Service (vice versa)

I am studying services on android and I have a little problem, I try to see how the exchange of information works both from the activy to the service and vice versa, I have no problems passing data from the activity to the service, but I got thi...
asked by 30.09.2018 / 18:00
2
answers

Broadcast to read volume buttons

I'm having a problem with my broadcast. I'm not able to do that by pressing any volume button (vol +/-) my Toast is displayed. This is the most important of my manifesto: <receiver android:name="Broadcast.b_Botones" > <...
asked by 21.09.2018 / 00:17
0
answers

Why is not my BroadcastReceiver capturing events?

I try to restart a servicio in case it is destroyed. First I create my servicio : public class MyIntentService extends Service { WebSocketClient mWebSocketClient; URI uri; @Override public void onCreate() {...
asked by 07.08.2018 / 17:55
0
answers

Change the time of Intent.ACTION_TIME_TICK

I have the following code that sends alerts when the expiration time is over, the problem is that it is sent every minute and it is very tedious since the ACTION_TIME_TICK sends the alert every minute, is there any way to send the same message b...
asked by 26.07.2018 / 19:53
1
answer

create a second plane listener that runs as a windows service

I currently need to create a listener that broadcasts over the network, and that listens to messages coming from any IP address on the network (it's a private network). I currently have this functionality implemented on a website through Host...
asked by 19.10.2017 / 23:00