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. Camera Access through WebView

Hi All,

Is it possible to invoke the camera through a WebView instance?

Can HTML5 be used? I want to have a Android Web App which can access
the Camera Hardware in the Android phone. Can this be done?

Regards,
Perumal

-- 

2. VERY SLOW!! Streaming HTTPCORE WEB SERVER

I tried to use APACHE HTTPCORE to build a streaming web server, that
generate the data on-the-fly, and response using the InputStreamEntity
with a PipedOutputStream.

Tested with 1MB size of data, and it uses more than 1 minute to
finishe the transfer.

Here is my source code:  http://tinyurl.com/4tfxu64

note: this demo will open the 8080 port on your android as an web
server.
"adb forward tcp:8080 tcp:8080" will forward the port from your
android to your desktop.
then, open a browser from your desktop, and open this URL: "http://
127.0.0.1:8080/"


-- 

3. textNoSuggestions fails on emulator

4. Emma Failed to dump coverage data on 2.3 emulator

5. OCSP and Android

6. WebView not working

7. Ajax comunication between web browser and service