Questions tagged [broadcast]

A broadcast is a one-to-many message passing interface. It is usually used in the context of a network programming or event-driven programming.

1905 questions
0
votes
3 answers

My Android broadcast receiver is never triggered

In AndroidManifest.xml I have this: My broadcast file: package com.myapp; import android.content.BroadcastReceiver; import android.content.Context; import…
0
votes
0 answers

Full duplex communication between the Activity and the IntentService

I have written an activity that create and start IntentService,the IntenteService send BroadCast messege to the Activity which received it successfully, now I want to send back data from the Activity to the IntentService, I tried by implementing i…
0
votes
2 answers

How to send broadcast on a specific UDP port? (Getting error: `sendto failed: EINVAL`)

DISCLAMER: I know there are already questions of the same topic, but the issue below is different from the other questions. I'm trying to broadcast a packet on a certain port. This does not work. My code: (I'm running this on my actual…
NonameSL
  • 1,405
  • 14
  • 27
0
votes
1 answer

UDP Sockets : 2 multicast emitters, want to listen only 1

The question is tagged with Ada, since I need to code it in Ada. However, the problem is language independent. I am in a situation where I have this network configuration. This is a given constraint, it cannot be changed for…
LoneWanderer
  • 3,058
  • 1
  • 23
  • 41
0
votes
0 answers

How to listen for presence on Laravel 5.4 backend?

Is there are some way to listen for presence channel on backend, not frontend? For example i want to execute some database operations when user joinin or leaving the channel?
0
votes
1 answer

How can we test live video streaming feature of an iOS app , to see if it is working for large audience?

There is a requirement for functionally test an iOS application which broadcasts live videos and make sure that it works for a very large audience. Please help.
Rohit
  • 3,314
  • 1
  • 13
  • 15
0
votes
1 answer

Using BroadcastReceiver to check Battery Level but App crash?

I am trying to get current battery level using broadcast receiver with intentfilter ACTION_BATTERY_CHANGED having only one TextView in my xml and setting its text property to some string+integer variable that should hold value of…
Silent Coder
  • 101
  • 11
0
votes
0 answers

What is UDP broadcast header size?

I had recently made a python program that parses broadcast messages sent from a device. I knew the structure the information was coming in and the sequence (little endian) Originally when I received the data I parsed it starting from octet one. The…
tyleax
  • 1,556
  • 2
  • 17
  • 45
0
votes
1 answer

Clear SMS Notification From Notification Drawer after deleting SMS from Broadcast

After Successfully deleting an SMS from Broadcast, i cant clear notification from notification drawer 1)when i open sms app, that sms is deleted, but in notification, shows sms with msg 2)when i click on sms notification, it opens 'sms app with…
Sagar Makhija
  • 863
  • 8
  • 9
0
votes
1 answer

construct 3d diagonal tensor using 2d tensor

Given A = [[1,2],[3,4],[5,6]]. How to use tf.diag() to construct a 3d tensor where each stack is a 2d diagonal matrix using the values from A? So the output should be B = [[[1,0],[0,2]],[[3,0],[0,4]],[[5,0],[0,6]]]. I want to use this as my…
Chris Zhang
  • 113
  • 1
  • 6
0
votes
1 answer

Sharing an array of integers in MPI (C++)

I am trying to fake shared memory currently while using the MPI library in C++. I have an array A of size n+1, where n is given from the user, and have processor 0 generate the integers for that array. I need to share the array that processor 0…
Megumi Ai
  • 3
  • 1
0
votes
1 answer

$rootScope.$broadcast is not updating on page reload?

First Controller: $rootScope.$broadcast("CallParentMethod", {}); Second Controller: $rootScope.$on("CallParentMethod", function() { $scope.getUserDetails(); }) $scope.getUserDetails = function() { HttpService.get("/customer/" +…
0
votes
1 answer

How does OBS captures OpenGL based games video on Windows?

I am trying to capture screenshots for OpenGL based games on Windows. Most answers on the internet are to make the window visible and take screenshots. But when I use OBS(Open Broadcaster Software) to broadcast my game play, it is able to streaming…
0
votes
1 answer

BroadcastReceiver not receive broadcast from correct action intent

[BroadcastReceiver(Exported=true, Enabled=true)] [IntentFilter (new string[] { "intent.action.ApiAiResponse" })] public class ApiAiVoiceReceiver : BroadcastReceiver { public const string ACTION =…
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
0
votes
1 answer

Cancel PendingIntent (Broadcast, AlarmManager) not working

I'm trying to cancel broadcast at specific event I have the following code to set the AlarmManager done.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent i=new…