tabbar - android setting default tab in tab-activity -
android tabactivity launches fragmentactivity associated first tab added in sequence before setting tabhost.setcurretntab(4); @override public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.tab_main); try { datasource.objcontext = this.getapplicationcontext(); datasource.objtabbaractivity = this; datasource.objsharedpreferences = this.getsharedpreferences("com.example", context.mode_private); if(networkstat) { new locationupdates(this); this.settabs(); } else { log.d("in tabbaractivity", "network failure"); toast.maketext(this.getapplicationcontext(), "network failure", toast.length_short).show(); } } catch(exception ex) { } } private void settabs() { addtab("clubs", r.drawable.tab_clubs, fragmentstackclubsactivity...