src/acr/browser/barebones/activities/BrowserActivity.java
public static int newTab(final String theUrl, final boolean display) {
		Log.i("Browser", "making tab");
		homepage = settings.getString("home", HOMEPAGE);
		int finalID = createTab(theUrl, display);
		if (finalID != -1) {
			tabList.add(finalID);
			if (display) {
				currentId = finalID;
				currentTab = main[finalID];
				currentTabTitle = urlTitle[finalID];
			}

			return finalID;
		} else {
			return 0;
		}
	}
// new tab method, takes the id of the tab to be created and the url to load
new tab method, takes the id of the tab to be created and the url to load
new tab method takes the id of the tab to be created and the url to load
public static int newTab(final String theUrl, final boolean display) {
		Log.i("Browser", "making tab");
		homepage = settings.getString("home", HOMEPAGE);
		int finalID = createTab(theUrl, display);
		if (finalID != -1) {
			tabList.add(finalID);
			if (display) {
				currentId = finalID;
				currentTab = main[finalID];
				currentTabTitle = urlTitle[finalID];
			}
			return finalID;
		} else {
			return 0;
		}
	}
public static int newTab ( final String theUrl , final boolean display ) { Log . i ( "Browser" , "making tab" ) ; homepage = settings . getString ( "home" , HOMEPAGE ) ; int finalID = createTab ( theUrl , display ) ; if ( finalID != - 1 ) { tabList . add ( finalID ) ; if ( display ) { currentId = finalID ; currentTab = main [ finalID ] ; currentTabTitle = urlTitle [ finalID ] ; } return finalID ; } else { return 0 ; } }
new tab method, takes the id of the tab to be created and the url to load
new tab method takes the id of the tab to be created and the url to load