Dear All,
I have main activity that create three tabs like this
MainAct extends TabActivity{
...
onCreate(){
TabHost thost =getTabHost();
TabHost.TabSpec tspec;
....
Intent CIntent = new Intent().setClass(this, ClassB.class);
tspec = thost.newTabSpec("contact").setIndicator("Contact",
getResources().getDrawable(R.drawable.contact))
.setContent(CIntent);
thost.addTab(tspec);
thost.addTab(tspec);
}
}
and ClassB will start contact intent like this
ClassB extends Activity{
...
protected void onResume() {
super.onResume();
startActivityForResult(new Intent(Intent.ACTION_PICK,
ContactsContract.Contacts.CONTENT_URI)
, 1000);
}
...
}
but contact intent start outside tab e.g. no tab on top of it. Is it
possible to start contact intent under tab activity?
Regards,
poj
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en