Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Android Browser
Hi Friends,
 
my app need to access browser histories from a android phone?? how can i access it..
 
pls help me....
Posted 6-Oct-12 21:27pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

i solved.
 
Cursor mycur = managedQuery(Browser.BOOKMARKS_URI, Browser.HISTORY_PROJECTION, null, null, null);
        int count = mycur.getCount();
        mycur.moveToFirst();
        if(mycur.moveToFirst() && count>0)
        {
            while(count>0)
            {
                Log.e("title",mycur.getString(Browser.HISTORY_PROJECTION_URL_INDEX));
            //  histories[j]=mycur.getString(Browser.HISTORY_PROJECTION_TITLE_INDEX);
                j++;
                count--;
                mycur.moveToNext();
            }
        }
  Permalink  
Comments
Sandeep Mewara at 7-Oct-12 3:43am
   
Great! :thumbsup:
Have 5 for reporting the solution.
ridoy at 7-Oct-12 3:47am
   
good..+5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

See if the following discussion help: Android read browser historyAndroid read browser history[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

  Permalink  
Comments
Rajesh Sanandiya at 22-Nov-12 8:43am
   
Thank you,
if you have Idea about ,get time of PageLeave From Browser.i can get pageLoadTime.
 
if you have any idea about watch on Browser pageLoad Event Backround using Service?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.150326.1 | Last Updated 7 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100