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. Android Automation

I work for a company that makes Bluetooth headsets.  I test the
software on the headsets.  Our testing is currently completely manual,
meaning I press the buttons on the headset and see whether it does the
right thing.  I am looking to ways to automate some of the testing and
am investigating whether Android is an appropriate platform for
automation.  The idea would be to have a system that can control the
phone via a script of some sort.  The system would have a desktop
component that reads the script and then sends commands to the phone
and receives status information from the phone.  Some examples of
commands might be to make 100 phone calls, waiting 95 seconds between
calls.  Status information might be to indicate if the Bluetooth link
to the headset is broken.  Ideally the system would be interrupt
driven so that the script would not have to continually poll for new

Such an automation system would be complex.  It would require
technical expertise on all levels from low level hardware event
detection up through script parsing and user interface design.  I have
taken a class on Android development and know about the basics such as
Activities and Intents.  I don't know about the lower level details
such as how to detect that the Bluetooth link has been broken.

I know there are automation tools available.  The software automation
tools are geared toward web or desktop applications.  There are
hardware automation tools, but those don't support control of a mobile

Any thoughts in this area would be greatly appreciated.


2. Database Sync

Hi all,

How can we do database sync from android app to sql server.

Thanks in advance.


3. Feedback on "Embedded Help" solutions for Android apps.

4. Verify runtime exception

5. Problem with 9 patch image as background

6. Validity term of getProperty('am.current.package') in monkeyrunner

7. fake call