Questions tagged [receiver]

An object that receives some messages.

An object that receives some messages.

389 questions
-1
votes
1 answer

UDP signal from Matlab to C++

I want to send random trigger signals (A and B) from Matlab to a C++ Code. The point where I stuck now is, that whenever I am not sending this trigger signal/message, the C++ Code keeps waiting for it and doesn't continue its process. How can I make…
mcs
  • 1
  • 3
-1
votes
1 answer

Has anyone translated this to MicroPython - IR receiver reader

This website http://www.esp32learning.com/code/esp32-and-infrared-receiver-example.php uses Arduino code to read the data from an IR transmitter (remote control/wand). Has anyone done the same for MicroPython?
-1
votes
1 answer

Android app that opens inbox SMS

I am using an SMS manager in my app, so when a button is clicked, an SMS is sent, btnPaket.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { String phoneNo = "0977"; String…
Goran
  • 1,239
  • 4
  • 23
  • 36
-1
votes
2 answers

Golang, function pointer to function with value receiver, does not call that function with the changed receiver, when called for the second time

package main import ( "fmt" ) type vector struct { x int y int } func (u vector) add(v vector) vector { fmt.Println("received: ", u) u.x += v.x u.y += v.y return u } func main() { vecA := vector{x: 5, y: 10} …
-1
votes
1 answer

Do receivers identify which method to apply?

A Tour of Go: https://tour.golang.org/methods/9 package main import ( "fmt" "math" ) type Abser interface { Abs() float64 } func main() { var a Abser f := MyFloat(-math.Sqrt2) v := Vertex{3, 4} a = f // a MyFloat…
snowpeak
  • 797
  • 9
  • 25
-1
votes
3 answers

Service and Receiver don't work when app is closed

i'm in a project to schedule a task with an calendar and do the job in the specific hour, the hole code is alright, working, but if i force close my app in android in the specific hour i puted in the begin of the aplication don't do my task it give…
Rafael Nonino
  • 180
  • 4
  • 15
-1
votes
2 answers

Boost UDP multicast receiver: set_option: The requested address is not valid in its context

I am following Boost's UDP Time server tutorial here . I modify the code with these for predefined values: short multicast_port = 13; // (in class receiver) and in main(): //if (argc != 3) and the code for argv that follows are commented out …
CaTx
  • 1,421
  • 4
  • 21
  • 42
-1
votes
1 answer

How to receive images via Bluetooth

I want to receive images via Bluetooth and display that image in Image View.I know how to pass image from one activity to another activity but i don't no how to receive images using Bluetooth.
user9
  • 1
  • 4
-1
votes
1 answer

Bluetooth leaked IntentReceiver. Are you missing a call to unregisterReceiver()?

I was following a tutorial and trying to build a small android bluetooth app. I followed the exact steps but encountered an error while trying to run the app. The code has been attached below. Please help me to fix this unregistered receiver…
noob-dev
  • 59
  • 1
  • 7
-1
votes
1 answer

How to stop receiving same SMS multiple times?

I have built the following Receiver class within a messaging app, which receives SMS messages anytime: public class Receiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { Bundle extras =…
-1
votes
1 answer

Can't click on Android widget after app process dies

I've coded an Android widget with two buttons. If i start the "Activity" all works fine and i can click on those buttons. But if i lock the phone, the process dies after a few seconds and i try to click on those buttons again, nothing happens,…
Sebastian Schneider
  • 4,896
  • 3
  • 20
  • 47
-1
votes
1 answer

citrix receiver connection bar

I started a Citrix Published App on my IPad and get a citrix receiver toolbar which contains the Icons home, Active keys, ... Pointer, Magnifier on top of the screen. On my Windows 10 tablet device, after setting ConnectionBar=1 in ica file, I also…
-1
votes
2 answers

In golang, how do you access a method that takes a pointer receiver and is also in a different package?

package tests import ( "testing" "strconv" "dir/model" ) type TestStruct struct { ID int a string b string c string d string ac bool ad bool } func TestUpdate(t *testing.T) { t.Log("Updating") …
Healy Fuess
  • 117
  • 8
-1
votes
1 answer

Stoping background broadcast from another application

I have an application that launches a stream, if i turn on the music playback in any other application then it plays the two tracks in parallel. How can I prevent this?
-1
votes
1 answer

Managing LocalBroadcastManager when a class is not yet created

I have a basic level at android, and I still have problems understanding the life cycle of apps. So I'm doing this test. Let's say I have an app that has three classes: the MainActivity, class A and class B. Class A receives "external" intents. I've…
1 2 3
25
26