Hi,
It is not possible to get information from one application to another,
unless exposed by contentproviders, due to security concerns.
Browser.SEARCHES_URI only returns strings the user puts in the GOTO box and
picks Google Search. To get all the urls visited, you could use
Browser.BOOKMARKS_URI.
Thanks,
Megha
On Fri, Apr 18, 2008 at 5:12 AM, Dorothy <[EMAIL PROTECTED]> wrote:
>
> I've tried:
>
> String[] mColumnStrings =
> { Browser.SearchColumns._ID,
> Browser.SearchColumns.URL,
> Browser.SearchColumns._COUNT,
> Browser.SearchColumns.DATE
> };
>
> Cursor c = getContentResolver().query(Browser.SEARCHES_URI,
> mColumnStrings, null, null, null);
>
> But the return is always null, I don't understand...
>
> Someone can help me?
>
> Thanks
>
> D
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---