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. Detect language of text

i am writing a dictonary apps.

i have some problem, hope here have some advance level developers to
help me.

1.  i want to detect the language of text
like i have a string a = "japanese"
pass string a into a function, return the language.
japanese than japanese,
english than english.
PS

is there any api or internal function i can use?

2. have you use any electronic dictionary before.
in the past , i can control the screen easily by lower level language.
i can highlight some word than cross search another dictionary.

but now what i can do is,
i have a button to turn on something.
then the user can highlight some word,
then the apps will copy the highlight word,
then user click the cross search button.

what i want to do is.
the user dont need to click button to turn on this function.
they can directly highlight the word then click the cross search.

Regards

-- 

2. Micro SDHC Transcen

Siang, numpang benwid buat jualan.

Micro SD class 6, merk Transcend.
- 4gb, 130rb
- 8gb, 230rb
- 16gb, 560rb
Full pack, plus adapter, lifetime warranty (syarat dan ketentuan berlaku), 
garansi dari omega..
Barang di kirim senin, posisi barang di Surabaya.

Harga di atas belum termasuk ongkir yah...
Untuk tanya2 ato nego bisa langsung japri aja via email ke shee...@gmail.com

NB: khusus 10 pembeli pertama, dapetin free FD transcend sesuai dengan 
kapasitas micro sd yg dibeli...
Makasi mods buat jalumnya...
sent from stylish black 'n white label with 'Tab'
Gtalk: francisca.articonet
twitter: fra_ncis_ca

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

PING'S mobile
Email: sa...@pings-mobile.com  Ph. (021) 96087100
---------------------
Yopie Ratjoen
Email: yo...@ratjoen.com  Ph. 08977726681
--------------------
Gila original
Email: i...@gilaoriginal.com  Ph. (031) 91555898
--------------------

Aturan Jual/Kloteran ID-Android  http://goo.gl/azW7

3. Inflate layouts with different density

4. Garmin Asus A5

5. Updated procfg.txt

6. Paket data unlimited

7. Paging Om Dolly Perihal XL Unlimited