create custom browser for android
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.
精彩评论