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. Help with ACTION_SEND

Hi there,
              i'm writing a image uploader that takes the send intent... i
want to provide support for bulk send...
that is i should be able to attach many EXTRA_STREAM's to the intent... how
can this be done???

George Bernard 
- "A government that robs Peter to pay Paul can always depend on the
support of Paul."


2. Accessing android DB(Created by Android media app) using Native code.

Hi All,

I need to access media's(which is stored on SDCard) metadata which
android keeps in database file created by its media app. Android keeps
separate db file for each sdcard at the location /data/data/
com.android.providers.media/databases by associating sdcard id to
filenames e.g. external-<sdcard-id>.db

Now I need to read this db file but due to permissions(rw-rw----) I
dont be able to do that. If I excecute Native code as a root then
Obviously I'm able to access it but when I trigger my Native code
using some UI It's not able to access this db.

Could anybody throw some light on this?
How can I be able to access the db associated to sdcard using Native
code(which is triggerred thru some UI) ?


3. Wait for activity finishes

4. Surface flinger - overlay

5. Getting Android Market data

6. Getting Current Location on my Device works on emulator but not on my device

7. 1.5 *did* fix my bugs (gloat, gloat)