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. addJavaScriptInterface method in WebView

WIth the addJavaScriptInterface method in WebView, what types can be
returned by the Java methods?  And, what types can be sent as
parameters?

Can a Java method return a complex type like another Java class
object?

In JavaScript, could I actually instantiate the Java class exposed to
JS?

-- 

2. Repost [*] WTS: HTC Magic 32A White

As subject,

-  Kelengkapan fullset handsfree charger + Silikon Putih + Memory 1GB
 kondisi mulus, rooted

Model
HTC Magic
Firmware version
2.1-update 1
Kernel version
2.6.34-cyanogenmod
r...@pershoot-ubuntu#66
Mod version
CyanogenMod-5.0.8-DS-test4


harga drop 2.700.000 nett




COD posisi Jakarta Barat.
yang mau nanya foto dan lain2
japri ke
judo.sab...@gmail.com <lutfi.hidayat.ramdhani%40gmail.com> atau sms ke
0818496900


thanks,

Judo Sabiro

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

3. Anyone with a Samsung Vibrant?

4. Speech to Text (STT) Support on Android Keyboard

5. Can dialog only deactivate part of screen

6. sendBroadcast() does not work with Intents that have component name set

7. Speech recognition without connecting to google?