Questions tagged [receiver]

An object that receives some messages.

An object that receives some messages.

389 questions
-1
votes
2 answers

Finishing android app

I want to finish my app when I press a button but it terminates and the logcat throws me an error. Can you look at it? It says that a receiver is not registered, but I had. The code for the button stopService(new Intent(MainActivity.this,…
Manos Varesis
  • 145
  • 1
  • 1
  • 6
-1
votes
1 answer

How do I remove the notification if clicked?

so I'd like to know how I could remove the pending notification in the NotificationCenter after the user clicks it. Here's my BroadcastReceiver: public class MyBroadcastReceiver extends BroadcastReceiver { @Override public void onReceive(Context…
mrousavy
  • 311
  • 1
  • 8
-1
votes
1 answer

IOexception was unhandled through Arduino

so I'm doing a project where one system transmits data via Arduino and Xbee and the receiving system receives data via Arduino and Xbee. At the receiving end, i'm sending the information to Visual Studios. So, when I press the stop button to stop…
Nic
  • 93
  • 1
  • 7
-1
votes
1 answer

How to disable/enable android receiver in source code?

I hava a question about Android Receiver. I'm possible to change System app. B is the first app, when user turns on the power. But the problem is when user chooses FACTORY Mode(like setting language, google id...), B App has to be started finishing…
user3796216
  • 29
  • 1
  • 5
-2
votes
1 answer

reception of radio waves with an android phone

Good evening everybody, I would like to develop an application under android, which can receive frequencies from a radio stations. My idea is to scan the radio frequencies between two values. ie, "scan" between a minimum frequency and maximum…
-2
votes
1 answer

does Chromecast with google tv need Android TV receiver app for just casting?

Do I need to develop Android TV Receiver App to cast from existing sender app to "Chromecast with google tv" device? I thought just web receiver app would be okay for casting without registered android TV app just like Chromecast.
Sim
  • 1
  • 1
-2
votes
1 answer

How to access application class via job scheduler in background when network connect/disconnected

am developing an app which will automatically uploads data in background(which are stored in offline) to the back end when the device network connected. For this i have implemented broadcast receiver in manifest. it works fine but in above nougat…
Grace Venkat
  • 189
  • 1
  • 10
-2
votes
2 answers

Android Studio: can't add class to in AndroidManifest

I have done everything exactly as tutorial shows but I still get one error...I have created new activity SmsReceiver.java and there is everything OK but in the manifest when I try to add this // <-- this is…
-2
votes
2 answers

Declaring a receiver in the manifest file of an android Studio project

In my manifest file, I declare two BroadcastReceiver for my Activity. So far, while I was working in debug mode, the receivers were declared in the activity block and everything was fine. As my project is close to the end, I have decided to build an…
Zelig63
  • 1,592
  • 1
  • 23
  • 40
-2
votes
1 answer

android broadcast receiver not listening when app get killed

What are the pro and cons of registering the broadcast receiver via manifest file and also via code? i registered my receiver via code so that user have the option to start and stop it, somehow, i noticed the receiver is not 'listening' when the app…
ML N00b
  • 53
  • 1
  • 1
  • 6
-3
votes
2 answers

is it safe in golang 1.17 to change the pointer receiver's value with atomic swap pointer

golang 1.17 changed from stack to register to handle the params is it safe when i use atomic.SwapPointer to change the pointer receiver's value below is the code //like this func (this *A) Replace(a *A) { //other business logic //.... …
nobody
  • 1
  • 1
-3
votes
2 answers

Socket receive can't be in for loop

I want to send let's say 1GB data in 32 bits chunk so inside the for-loop I'm doing send(client_sock, buffer, tinfo->bufferSize, 0); Which is fine. But then after that, I'm receiving the response which is throwing an error(as below) after the 1st…
sapy
  • 8,952
  • 7
  • 49
  • 60
-3
votes
1 answer

Is it possible to replace Android's inbuilt Caller with Custom UI?

Android's UI that i want to replace with my own. So is it possible to replace and yes, then please suggest me some User-Permission to do so
-4
votes
1 answer

Simple abstract String receiver

I have Objects that emit Strings to listeners... The listeners extend the following class : public abstract class StringReceiver { public abstract void receive(String input); } I don't want to reinvent the wheel. My question is : what is the…
RealmSpy
  • 345
  • 1
  • 4
  • 12
1 2 3
25
26