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. ddms and emulator

I'm new to eclipse and android, so I have not the correct experience,
by now.
I'd like to know which are the tipical debugging methods.


I'd like to do step-by-step using eclipse-rcp, emulator and ddms.

I can see in DDMS perspective the thread of Helloworld example

I change perspective to debug and I set breakpoint, but the
application doesn't stop.

I'm doing something not correct?

2. GMail App Intents

Hi, unfortunately app-specific intent protocols are not very documented at
this point...  but please note, you should -not- be relying on looking at
the implementation of applications.  If something isn't documented, you
should assume it may change in the future.  It may change in a platform
update, or a manufacturer may customize an application and change or or ever
outright replace the app with their own that doesn't use the same intents.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


3. How to notice deprecated fields/methods

4. Make different instances of a widget behave different based on their appWidgetId

5. application with root permssion

6. Maps API Add-Ons Device Support?

7. Webview with progress and url overriding