Retrieve buddy list from the server

by Suhas Mannar » Wed, 02 Jun 2010 07:22:39 GMT


Sponsored Links
 Hi,
        I am new to android. I am creating an application to receive
the buddy list of my gmail account. Till now i am able to connect to
the gmail account through my application.
       I have 2 different xml's in my app where 1st is used for loging
into my gmail account and the second has a slider in which i wish to
receive all my buddy lists.
       Please help me in finding out how to receive the buddy list in
the second page of my app.

--



Other Threads

1. How to lookup DATA._ID for a phone number

Given a phone number, how can I look up the _id of the DATA row for
that phone number?

I was assuming that the following query would do it:

Uri lookupUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI,
Uri.encode(phoneNumber));
Cursor c = resolver.query(lookupUri, new String[] { PhoneLookup._ID },
null, null, null);
if (c.moveToFirst()) {
    long id = c.getLong(0);
    // do stuff with id
}

... but it is returning the contact_id, not the id of the phone
record.

The official api docs for PhoneLookup indicate that _ID returns the
"Data row ID":

http://developer.android.com/reference/android/provider/ContactsContract.PhoneLookup.html

... but that appears to be incorrect.  Am I missing something?  How
can I efficiently look up the data _id(s) for a given phone number?

Thanks in advance ...

-- 

2. Updated my apps's promotional graphic, but Android Market website not showing it yet

I updated the large promotional graphic, my app's high resolution icon
and promotional icon today once I saw how the website displayed.

The high resolution icon shows up in searches for my app, but it's not
showing yet on the apps' webpage. Also, the new large promotional
graphic doesn't show on the page yet either.

Just curious, wonder how long it will take for the updated image to
appear? I've tried refreshing my browser, etc.

-niko

-- 

3. Rotating a camera view manualy?

4. ArrayList vs ArrayAdapter

5. Back Button ?what it really does?

6. can multiple activiites share an ActionBar?

7. [WTA] Map Jakarta