iperez_geniua
Lurker
I have followed the setup instructions from this web page
Tab Layout | Android Developers
there were some minor typos which i have ammended but i can't run the code because i have one error that i can't solve.
the last line in the onCreate function that lives in the main java file
tabHost.setCurrentTab(getIntent());
has an error.
The method setCurrentTab(int) in the type TabHost is not applicable for the arguments (Intent) HelloTabWidge.java
the suggestion is to change it to
tabHost.setCurrentTabByTag(getIntent());
but this receives exactly the same error.
So i can't run my app until this is resolved. can anyone help me out with this.
Ilan
Tab Layout | Android Developers
there were some minor typos which i have ammended but i can't run the code because i have one error that i can't solve.
the last line in the onCreate function that lives in the main java file
tabHost.setCurrentTab(getIntent());
has an error.
The method setCurrentTab(int) in the type TabHost is not applicable for the arguments (Intent) HelloTabWidge.java
the suggestion is to change it to
tabHost.setCurrentTabByTag(getIntent());
but this receives exactly the same error.
So i can't run my app until this is resolved. can anyone help me out with this.
Ilan