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...
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 can I send a multicast ping in .NET ?
So that all computers on the network respond ?
...
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...
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...
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?
...
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!
...
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.
...
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, ...
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...
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
...
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);
...
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?
...
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 ...
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...
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...
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...
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 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...
(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...