Take a look here:
http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html

On Sat, Feb 20, 2010 at 11:59 PM, Walt Armour <[email protected]> wrote:

> I'm pretty sure that is not the desired access method.  You should probably
> use the contacts ContentProvider.
>
> In general you cannot access the data of other applications which is why
> ContentProviders exist.
>
>
>
> On Wed, Feb 10, 2010 at 16:38, Bassel Kh <[email protected]> wrote:
>
>> Hello guys,
>> I'm new to Android technology, so I need your help please.
>>
>> I'm familiar with SQL quires, so I need to use
>> (SQLiteDatabase.rawQuery) in order to query (android contact
>> database), but the question is:
>>
>> How to get reference to (SQLiteDatabase) in order to deal with android
>> contacts database (ready made DB from another application) ?
>>  I passed "\data\date\com.android.contacts\contacts" and didn't work
>>
>> In case of private database created by my application; it is easy to
>> do that, but in case of ready made applications like
>> (contacts,SMS,call logs) what should I pass to the following method as
>> path?
>>
>> SQLiteDatabase.openDatabase(path, factory, flags)
>>
>>
>> And if I give permission to read the database; will it work?
>>
>>
>> Thanks
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Beginners" group.
>>
>> NEW! Try asking and tagging your question on Stack Overflow at
>> http://stackoverflow.com/questions/tagged/android
>>
>> To unsubscribe from this group, send email to
>> [email protected]<android-beginners%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-beginners?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
YuviDroid
http://android.yuvalsharon.net

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to