[android-developers] Uri for accounts table in contacts db

2013-10-03 Thread Andrew Mackenzie
The contacts content provider is quite complex, with three tables for contact' raw contact and data. I suggest you read the long explanation of it in developer.android.com there the answers to your questions are provided, with a number of constants for Uris and also field names. BTW: be sure

Re: [android-developers] Uri for accounts table in contacts db

2013-10-03 Thread Giles Ian
Thanks Douglous and Andrew, What I am actually looking for is *account_id* based on *account_name* and * account_type, *and this info is only available in accounts table. On Wed, Oct 2, 2013 at 11:24 PM, Andrew Mackenzie and...@mackenzie-serres.net wrote: The contacts content provider is

[android-developers] Uri for accounts table in contacts db

2013-10-02 Thread Giles Ian
I tried with content://com.android.contacts/accounts but that does not work -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

Re: [android-developers] Uri for accounts table in contacts db

2013-10-02 Thread Douglas Drumond
Use ContactsContract.Contacts.CONTENT_URI or ContactsContract.Contacts.CONTENT_LOOKUP_URI instead of direct access. Also, don't forget to request permission uses-permission android:name=android.permission.READ_CONTACTS / See

[android-developers] Uri Selection

2012-07-11 Thread Live Happy
how to make a query content_uri to select contacst from Phone, Sim and Google im using the ContactsContract.Contacts.CONTENT_URI but what to add to the selection becasue in visible group google contact not appear and if selection is null the contact from another group facebook , whatsup and other

[android-developers] Uri of Image

2012-01-05 Thread aru padam
Hi all, I have a bitmap image from the data base. Any one could help me to create an uri of this image. Thanks and Regards Deepesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] URI-escape

2011-09-11 Thread Mark Murphy
http://developer.android.com/reference/java/net/URLEncoder.html On Sun, Sep 11, 2011 at 1:19 AM, bob b...@coolgroups.com wrote: I'm looking at this WebView function: public void loadData (String data, String mimeType, String encoding) Since: API Level 1 Load the given data into the WebView.

[android-developers] URI-escape

2011-09-10 Thread bob
I'm looking at this WebView function: public void loadData (String data, String mimeType, String encoding) Since: API Level 1 Load the given data into the WebView. This will load the data into WebView using the data: scheme. Content loaded through this mechanism does not have the ability to load

[android-developers] URI Scheme

2011-04-12 Thread perumal316
Hi All, I have registered my app in the Android system as a URI using the following code: data android:scheme=startapp / action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT/category category

[android-developers] uri

2011-04-07 Thread rahul
For using API phonecall(string uri) i need the uri for a particular contact. i am getting content://contacts/people/1 as URI but don't know how to get this 1? content://contacts/people/1 this i refers to what? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] uri

2011-04-07 Thread TreKing
How many times are you going to post the same question? http://groups.google.com/group/android-developers/browse_thread/thread/79acffdca9e1bec8/35a1f6af7bf0a50b?#35a1f6af7bf0a50b

[android-developers] URI

2011-04-06 Thread rahul
What is URI? How to get the URI of the contact? Exapmle :phoneCallNumber(Sring URI) In this case URI is what? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] URI

2011-04-06 Thread Marcin Orlowski
On 6 April 2011 11:06, rahul katoc...@gmail.com wrote: What is URI? How to get the URI of the contact? Exapmle :phoneCallNumber(Sring URI) In this case URI is what? What is google? Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...

[android-developers] uri=?

2011-04-06 Thread Anushree Selukar
what is uri? how to get the uri of a contact? phoneCall(String uri) ? Calls a contact/phone number by URI. URI=? which uri is this in this api-phoneCall(string uri) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] uri=?

2011-04-06 Thread TreKing
http://groups.google.com/group/android-developers/browse_thread/thread/79acffdca9e1bec8/35a1f6af7bf0a50b?#35a1f6af7bf0a50b http://groups.google.com/group/android-developers/browse_thread/thread/79acffdca9e1bec8/35a1f6af7bf0a50b?#35a1f6af7bf0a50b

Re: [android-developers] Uri from FilePath?

2010-09-25 Thread Dianne Hackborn
What you are doing is fundamentally not going to work. The gallery app is implemented to sit on top of a content provider (that is the content: URIs); it is not implemented to sit on top of a file system (that is a file: URI). If you stick a file: URI down into it, it will try to do things with

[android-developers] Uri from FilePath?

2010-09-24 Thread niko001
[I have asked this question on Stackoverflow, but haven't gotten any replies in 2 days] Hi, I am using the Gallery3D-Code for a test-app but want it to only display images from a sub-folder on the SD, not all of the images that are stored on it. To do this, I tried to change public static final

[android-developers] Uri withAppendedPath not finding contacts

2009-11-18 Thread Sime
I'm trying to lockup what contact belongs to a specific number. I'm sending sms from one emulator instance to another (ie. 5554 to 5556 for example) and have entered contacts with those numbers. But when running the code below my cursor doesn't return anything. The filtering seems like it's not

[android-developers] URI for the CalendarAlerts? - Not in sources.

2009-02-04 Thread code_android_festival_way
Could someone please tell me the URI for the calendar alerts? I have found the URI for the calendars in the sources but the alerts are stored in another table and I can't find the URI for the content in this table because it is stored in a class which is not available. It would be nice if some

[android-developers] Uri for a Drawable image

2008-11-30 Thread g1ster
I'm trying to set the album_art for an audio file. It requires the Uri to the image: MediaStore.Audio.Media.ALBUM_ART. How to obtain the Uri of a image in the Drable resource? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to