americosfacebook / googletv-issues

Automatically exported from code.google.com/p/googletv-issues
0 stars 0 forks source link

manageQuery should support more ContentProvider Uri #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I want to run managedQuery for the Google quicksearchbox. I found after running 
dumpstate, in the "Registered ContentProviders" section, that the Content_Uri 
is : "com.android.quicksearchbox.google".

But when I use that URI in a query:

Uri uri = Uri.parse("content://com.android.quicksearchbox.google");   
Cursor mCursor = managedQuery(uri, null, null, null, null);
I receive an "Unknown URI" error message.

It works with a YouTube content_uri:

Uri uri = 
Uri.parse("content://com.google.android.youtube.googletv.SuggestionProvider");  
Cursor mCursor = managedQuery(uri, null, null, null, null);

please enable content://com.android.quicksearchbox.google and other 
Content_Uri's to be queried.

thanks,
yuval.

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by yuvzo...@gmail.com on 19 Apr 2012 at 12:20

GoogleCodeExporter commented 8 years ago
content://com.android.quicksearchbox.google is not a valid content URI. Its a 
provider declared in Manifest but is not used by anything.
Please describe what your usecase it and how GoogleTV can provide it.

Original comment by mjo...@google.com on 19 Apr 2012 at 6:06

GoogleCodeExporter commented 8 years ago
my usecase is to query the content of the database held by 
com.android.quicksearchbox.google everytime the user is searching something.
i want to achieve some kind of parental control.
GoogleTV can provide this by supporting manageQuery request for this ContentURI.

yuval.

Original comment by yuvzo...@gmail.com on 19 Apr 2012 at 7:23

GoogleCodeExporter commented 8 years ago
This is a feature request for the Android framework. Please add this to Android 
issue tracker:
http://code.google.com/p/android/issues/list

Original comment by mjo...@google.com on 7 May 2012 at 9:19