Accessing contacts ?

by Sarath Kamisetty » Fri, 19 Dec 2008 14:25:45 GMT


Sponsored Links
 Hi,

My sample application wants to display the contacts (that were
previously added) in the phone and let user pick some of them. Are
there any APIs we can use to access the contents of the contacts ? If
contacts are stored in some database, do I need to know the underlying
schema of contacts ?

Thanks,
Sarath

--~--~---------~--~----~------------~-------~--~----~



Accessing contacts ?

by for android » Fri, 19 Dec 2008 14:37:15 GMT


 You can start an intent with actionpick and set the type as People.content
type..and on the activityresultset u will get the uri with
intens.getData.From that in ur activity u have the uri frm whch u can get
the info about the contact selected.

On Fri, Dec 19, 2008 at 12:57 AM, Sarath Kamisetty <




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Accessing contacts ?

by roland » Sat, 20 Dec 2008 00:52:42 GMT


 Here is an official document which talks about the contacts.

 http://code.google.com/intl/fr/android/devel/data/contentproviders.html 


On 18 dc, 20:27, "Sarath Kamisetty" <sarath.kamise...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Alternative to category LAUNCHER for plugins?

Our users complain about the following:
"You're getting hammered by negative comments on oi voice notes
because after install it gives launch error. I suggest creating an
idiot window on launch that says this app is an addon, and to use
within other oi products."

We provide a plug-in (addon, extension,..) for our shopping list
application that is called voice notes, which should only appear in
the menu of shopping list. We do not want that plugin to be listed in
the list of all applications (as we plan to have more add-ons in the
future), so we did not specify the android.intent.category.LAUNCHER,
just the android.intent.category.ALTERNATIVE.

How can we provide an activity that is launched by the Android
installer after installation (to display a warning that this has to be
used from within shopping list), but still does not show up in the
list of all applications?

Hm, thinking about it, is it as simple as providing an intent
android.intent.action.MAIN without the category LAUNCHER? Is this what
the installer would call? (I have not downloaded the latest SDK yet,
otherwise I could probably answer this question myself by trying it
out...)

Peli
www.openintents.org


--~--~---------~--~----~------------~-------~--~----~

2. Telephony flow

Hi Is there a document which explains the internals of android like
service layer, RIL layer Telephony Managar etc.
More precisely i would like to know if any document which explains the
flow of request and response for example an MO Call setup request from
a voice call appln to the Telephony and to the modem. How the request
is routed from Appln till the modem.and how the response is given to
the application. If there is a document please share it.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

3. Epilog: Largish HTTP Post vs. ANR

4. how to send the device's browser to a specific url on android

5. Link to software on market?

6. Shutting down VM <--- No pending application record for pid 0 (Phone and acore)

7. A Non-Google 64 Bit G1 ADB Driver is available