-2

Now I am trying to develep a browser app in android using webview. But I have trouble now, I don't know how to create new tab in webview like the same chrome or firefox or when I click any link, it will open a new tab (new webview). I am a newbie, please help me. Thanks all!

dev4life
  • 1
  • 1
  • 2
  • possible duplicate of [Android Browser: open several URLs, each on new window/tab (programmatically)](http://stackoverflow.com/questions/4119084/android-browser-open-several-urls-each-on-new-window-tab-programmatically) – GabrielOshiro May 24 '15 at 03:51
  • @GabrielOshiro thanks – dev4life Jul 20 '15 at 02:35

1 Answers1

0

First write code for adding tabs in your activity, then write references for xml in java file and or creating tabs for webview u can use Tabspec ts=ts.setContent(new Intent(this,webview.class)); to start your webview in that tab.