XMPP service, Jabber

by SLY » Wed, 21 Apr 2010 14:19:40 GMT

Sponsored Links
I am currently working on a project which requires a server to request
data from the devices which are currently connected to the server.
Meaning, first the server finds out which devices are connected to the
server and then sends an application specific message to the client
device which should wake certain functionality present on the client,
like for example send out its current location.

I was looking into XMPP service which looked promising since it works
as a PUSH notification. The <presence> in XMPP can be used to check if
the device is currently connected and has subscribed to the server.
Since every android user has a gmail account, I was thinking of using
the gmail xmpp service to connect /subscribe to the server. Then send
specific message to the client, i.e x...@gmail.com. But if a message is
sent this way the client app gets the message as well as the native
gtalk client. So how do I go about intercepting this so that it
doesn't show up on the gtalk client but my app still gets it.

I want the PUSH notification to work, not PUSH.

Please do comment on the above approach. If there is another way to do
this, please do suggest.



Other Threads

1. Patent award to Jobs, et al - impact on scrolling by gesture?

Just picked this one up at slashdot:
"Apple Awarded Patent For iPhone Interface"

Sounds to me like (among other interactions), zooming through long
lists with a swipe of a finger is now patent-"protected".


2. How to run the unit tests of the APIDemo at the command prompt


In the source AllTests.java of ApiDemos, it said:
 * To run just this suite from the command line:
 * $ adb shell am instrument -w \
 *   -e class com.example.android.apis.AllTests \
 *   com.example.android.apis.tests/

So I get the error 'device not found'
$ cd /Users/meryl/Programs/android-sdk-mac_x86-1.0_r2/samples/ApiDemos/

$ /Users/meryl/Programs/android-sdk-mac_x86-1.0_r2/tools/adb shell am
instrument -w -e class com.example.android.apis.AllTests
error: device not found

The location of my source is in /Users/meryl/Programs/android-sdk-
and the bin directory is where eclipse puts the class files.

Can you please tell me how to get the command line execution to work?

Thank you.


3. ANN: DroidEx Android device projector, version

4. Need help in running the android junit test case for andriod APIDemo in eclipse

5. Rendering the G1 screen on a computer screen via VNC software?

6. Install Android on Windows/Ubuntu Possible?

7. Problems in running ADT on eclipse on Mac