I'm developing a browser for android. I simply need to create one search editbox with a history button.
When the user clicks 'history' button, up to five recent visited webpages should be presented.
I don't know where to start... Because I have no idea on how to do this...
You don't need a custom browser for that. You can embed a WebView in your app.
http://developer.android.com/reference/android/webkit/WebView.html
In this, you can get last 5 pages from History using JavaScript and display those URLs.
You should check WebView in android
http://developer.android.com/reference/android/webkit/WebView.html
If you want to customize it , extend webview class and you can go ahead from there.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.