broadcast

Broadcast-style IPC

Given all the options to have processes or threads interact with each other (locks, mutex, semaphores, message queues, shared memory, etc), I'm a bit lost about what's best to do what I want. I want several processes to wait for a certain event to happen. That is, I want them to block either until a certain timeout is reached, or a...

Android - Is there a system broadcast intent when an app is killed to reclaim resources?

I'm attempting to write a BroadcastReceiver to be notified when the Android OS kills an app in order to reclaim resources. I've tried filtering on "android.intent.action.PACKAGE_RESTARTED" but I never seem to receive that broadcast, even when I force close an application. So, am I using the correct intent action filter? If not, what i...

How to send a multicast ping using .NET?

How can I send a multicast ping in .NET ? So that all computers on the network respond ? ...

Android SDK ExampleAppWidget does not respond to Time zone change

I am right now running ExampleAppWidget that comes with SDK. Now I could not get the timezone change to affect the widget. It seems the ExampleBroadcastReceiver never gets called when timezone is changed. Anybody was successful in running this widget? I can provide the sample code if needed. Thanks in advance. -Sang Shin javapassion...

Android: Detect another application has started playing audio

My music application constantly plays music in the background, however I'd like to be able to detect when another application starts playing audio (such as the YouTube app) so I can pause/mute/stop the audio in my application. This will allow a user to continue browsing the web whilst listening to music, but then if they wish to watch a...

Is it possible to answer an http request sent to a local network broadcast address?

If I open a browser and send a request to http://255.255.255.255, is it possible have a web server, on the same subnet, listening and respond? ...

Numpy broadcast array

Hi, I have the following array in NumPy: A = array([1, 2, 3]) How can I obtain the following matrices (without an explicit loop)? B = [ 1 1 1 2 2 2 3 3 3 ] C = [ 1 2 3 1 2 3 1 2 3 ] Thanks! ...

broadcast receiver for missed call in android.

Hi, can anyone know what is the intent for missed call. Actually i want to send sms on missed call and incomming call in my application. ...

[Android] TelephonyManager detect voicemail on outgoing call

Hey guys, thanks again for all the help I have received here! I have written a Listener that detects when a call has ended. Furthermore I want to detect wheter the receiver picked up or I ended up on the mailbox. However, I just can't figure out how to it and can't find anything on the internet (probably searching for the wrong term, ...

Android - broadcast

Hi all, I'm starting learning android development, so my knowledge is really limited at the moment. I'm trying playing with broadcasts, but I'm stuck and I can't understand what I'm doing wrong. What I'm trying to do it's just show a simple Toast from the broadcast receiver. The Intent is a custom intent defined in the manifest: <recei...

How to find if bluetooth transfer is complete programatically

Hello, How do I inform the application that that the BlueTooth file transfer is complete? The app will be designed in such a way that it relies on a broadcast message sent from the framework after the file transfer is complete. Regards, Webgenius ...

Android Broadcast UDP Looping

Hi all, I am currently sending out a DatagramPacket on a DatagramSocket and I receive just fine.. the problem is that I am receiving the packet I sent out. If I call the receive twice then it times out. Is there a way to ignore the first packet and receive the second. Here is my code.. socket = new DatagramSocket(8001); ...

How to determine the sender of Broadcast Intent

I have an application that is at the same time a broadcast sender and receiver of standard action android.intent.action.SET_WALLPAPER. I want to do some stuff only in a case when another application broadcasted this intent. Is there any way to determine who initiated a broadcast in onReceive method of a BroadcastReceiver? ...

Linux ping broadcast switch

When using ping on virtually every UNIX system available, pinging the broadcast address is simple: $ ping 192.168.11.255 However, when this is done on Linux, a non-standard (and continually annoying!) response occurs: $ ping 192.168.11.255 Do you want to ping broadcast? Then -b This has annoyed me to no end ever since I saw it for ...

UDP broadcast of WCF Service address

Im have a lab-environment in VMware with a WS2008R2-server and a W7-client. Im trying to broadcast a WCF-service-address from the server and receive this in the client. Im using System.Net.Sockets in C# .NET and I can successfuly send data from the server. I looks okay with WinDump at least. But when I try to receive this on the client i...

Audio Broadcasting Live to internet

I am trying to develop an application related to Live Audio Broadcasting on internet.I already seen application like Ustream and ipadio.My query is How they are creating a web address to each users..?Is it a server side coading..?any information please ...? I Implemented AQRecorder.mm class to my application for recording and taking as a...

broadcast audio over HTTP like a radio station

Hi guys, I'm tearing my hair out on this one so thought I'd ask over here. I'd like a PHP script that will allow me to broadcast my audio files over HTTP like a radio station. I've tried xmoovstream and its great but I can't figure out if it can be set up to broadcast audio radio-like. It currently only allows me to stream audio, i'd l...

How to send and receive broadcast message

I am trying to pass data between two activities that are inside of tabs. I am trying to use the sendBroadcast. With breakpoints set I never reach the OnReceive. manifest : <activity android:name=".WebResults" android:label="@string/app_name"> <intent-filter> <action android:name="com.toxy.LOAD_URL" /> ...

how to broadcast/multicast a service over the network for clients to discover without any need for server IP

how to broadcast/multicast a service over the network for clients to discover without any need for server IP? how to let other clients discover the service from a server, without the client requiring the IP address of the server, similar to DHCP IP acquiring. broadcast? multicast? how do i implement the same in ruby or any other langua...

Understand when user is speaking at the phone

(Android) Some days ago I saw a way to register a broadcast receiver to understand when the screen goes black or the inverse. Now i'd like to find a way to understand when the users is speaking at the phone but i don't find a broadcast for this case, so how can i understand if the user is at the phone? (Possibly without always running a...