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
   to 0


Bikkanati Prabhakar.


Re: Retrieve the Starred Contacts

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


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

Good luck,


Sponsored Links

Other Threads

1. static context access

I'm trying to handle exceptions at a global level.  My understanding
is that the only way to do this is with an UncaughtExceptionHandler.
However, this reduces one to the primitive java file and network i/o
packages.  I'd like to be able to broadcast an intent or bind to a
service.  Is there some way to interact with the android packages to
retrieve a context in a static manner?  I could probably do some hack
workaround with a thread local, weak-referenced context set at the
time of the exception handler, but I'd rather avoid that nastiness.


2. android 3DOF controller - call for developers

Just a thought -- why only 3 degrees of freedom? You've got these nice
accelerometers...they can do more than sense a gravitational field...

I've bookmarked it to have a look at your code. I'll keep you in mind
if I have anything to contribute at some point.


3. Inadvertent breakage by SDK going forward

4. Broadcasting Real Time Voice using RTP

5. Smaller tabs, such as the Facebook official app

6. DOMException while cloning XML Node

7. Host is unresolved