XMPP service, Jabber

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


Sponsored Links
 Hi,
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.


- SLY

--



Other Threads

1. android Java code for form action

Hi ,

I did log in form in android ,

How to add the event functionality for this login form,

Now login form display,

I want to add the java code ,

That is When user enter his username and password ,

Get the value into variable and page redirect and system should show ,
you have enter this username and password ..chk the scrren shot..

http://i.imgur.com/Ncnee.gif

-- 

2. Problem with the picasa api

Hey I am new to android development. I am trying to use the picasa api
in a dummy application for which I tried running the sample code. I am
using eclipse galileo for this purpose:
I have added the following libraries :
- google api client 1.1.1
- gdata.java 1.41.5
- gdata-samples.java
- java application framework
- apache ant
- apache tomcat
- javamail

Still the following are not resolved:

import com.google.gdata.client.photos.PicasawebService;
import com.google.gdata.data.Link;
import com.google.gdata.data.photos.AlbumEntry;
import com.google.gdata.data.photos.AlbumFeed;
import com.google.gdata.data.photos.CommentEntry;
import com.google.gdata.data.photos.GphotoEntry;
import com.google.gdata.data.photos.GphotoFeed;
import com.google.gdata.data.photos.PhotoEntry;
import com.google.gdata.data.photos.TagEntry;
import com.google.gdata.data.photos.UserFeed;
import com.google.gdata.util.AuthenticationException;
import com.google.gdata.util.ServiceException;

Whats going wrong? Do we have a step-by-step guide or something else
like that?
Please help....

-- 

3. AppWidget design pattern with SQLite database

4. Question about NDK

5. How to watermark the camera picture?

6. Chilling news: Oracle sues Google over Android

7. My response to Oracle's complaint ...