Retrieve the Starred Contacts

by Parbhakar Bikkaneti » Tue, 17 May 2011 16:41:46 GMT


Sponsored Links
 Hello everybody,

Please provide me a code/suggestions for performing the following tasks.

   1. Display a list of all the Starred contacts to the user.
   2. When user selects a contact, setting the
ContactsContract.Contacts.STARRED
   to 0

Thank-you.
-- 



Regards,
Bikkanati Prabhakar.
E-Mail: prabhakar.9...@gmail.com
Blog:     http://LetsXploreIT.blogspot.com 

-- 



Re: Retrieve the Starred Contacts

by Ali Chousein » Fri, 20 May 2011 03:52:54 GMT


 Prabhakar,

So far I've done some programming with Android contacts. I have much
sample code except the starred contacts. However it should be
straightforward. Check the link below. Personally I found it possible
to get everything running by following the documentation of
ContactsContract. There is good amount of sample code on the web as
well.

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

Good luck,
-Ali

-- 


Sponsored Links


Other Threads

1. how to use com.android.internal.telephony

hey i need to use com.android.internal.telephony package for my
development. but i am in a doubt whether i would use
android.internal.telephony package or how????????

Please tell me about it?

-- 

2. multiple gmail login + gtal

Hai rekans,
as subject, setelah googling dikit tadi saya jadi tau bahwa kalau mau setup
lebih dari satu akun gmail di android, caranya yang satu di amplop merah dan
yang lain di aplikasi android emailnya. Cuman mau make sure aja, tidak ada
workaroundnya ini ya? Akan sangat convenient sekali kalau amplop merahnya
bisa banyak :)

Terus soalan gtalk mau tanya nih, apakah aplikasi gtalk bawaan hanya bisa
dipake untuk account yang dipake login pertama di android (sama dengan yang
di amplop merah)?

Thanks in advance
anima

-- 
I design websites and I'm good at it - http://priapurnama.me/

-- 
"Indonesian Android Community [id-android]" 

3. RGB565 -> RGB888

4. XmlPullParserException: expected: START_TAG

5. SOLD WTS Nexus One new 6,88jt

6. Query related to adding a new flag in the WindowManager (Similar to FLAG_IGNORE_CHEEK_PRESSES)

7. Batere N1