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. Doughnut Build Out Already?

I'm not sure, but do you guys think this is a legitimate Google
"Doughnut" build:
http://www.youtube.com/watch?v=FKQj1xXFDSo&eurl=http://gizmodo.com/5259471/android-donut-build-for-htc-hero-caught-on-tape&feature=player_embedded

I was pointed to it from this Giz article:
http://gizmodo.com/5259471/android-donut-build-for-htc-hero-caught-on-tape

If so, what do you guys think about it?  What's going to be new /
improved on Doughnut compared to Cupcake (or more accurately the 1.5
rollout)?
--~--~---------~--~----~------------~-------~--~----~

2. Buy 1 app get 4 copies free with M$

This was interesting:

Microsoft is working on letting developers sell subscriptions to apps,
though it won't be ready by the marketplace's launch, which will take
place in 29 countries.
"I can't commit to a date, but it will be one of the first things we
do" after launch, Bouie said.

And MS developers get feedback on Market questions:
http://social.msdn.microsoft.com/Forums/en-US/mktplace/thread/8807723b-edda-4088-acd7-b530770744a1

I'm staring to believe Microsoft has really opened up :-) Try asking
questions about subscriptions or when will the Android Market be
available in country X and you will only get silence from Google...

Christer
www.mobilefootie.com




--~--~---------~--~----~------------~-------~--~----~

3. Buttons/ImageViews overlaid on a GLSurfaceView

4. How to overlay an image on a view

5. 'system.out.println' dumpage

6. Please GoogleDevTeam, work on Android Exchange Support

7. HTC Magic - Can't install driver on development PCs