4

That is, I want my browser to start with two tabs open, set to two different URLs. I have tried putting "google.com | facebook.com" into the URL but that does not seem to achieve the intended effect.

1 Answer 1

4

No, it's not possible.

How did I get such result? As always I started to google this possibility but found nothing interesting. So I decided to check Android Browser source code. If you want you can download it by typing in console:

git clone https://android.googlesource.com/platform/packages/apps/Browser

After 5-10 minutes (I'm not new in programming) of looking repository I found 2 facts:

1) The homepage is saved as one String (Java type).

2) The homepage is opening by calling this function (in Controller.java):

@Override
public Tab openTabToHomePage() {
    return openTab(mSettings.getHomePage(), false, true, false);
}

So as you see (If you know programming a bit) it returns one tab, not several (like List<Tab>).

1
  • Kudos for taking the time to read the source. I should have done that but wasn't familiar with Android source tree to quickly find the browser code.
    – merlin2011
    Commented Jan 22, 2013 at 22:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .