开发者

create custom browser for android

开发者 https://www.devze.com 2023-02-17 09:35 出处:网络
I\'m developing a browser for android. I simply need to create one search editbox with a history button.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消