Hi,

I m having problem with the TabHost. I want to set activity
"com.android.phone.action.TOUCH_DIALER" inside my tab. I can
successfully set my activity that i crated.

 Intent listintent = new Intent("com.hellotab.action.LIST_CONTACTS");
 listintent.setClass(this, list.class);
 mTabHost.addTab(mTabHost.newTabSpec("tab_test3").setIndicator
("Test3",getResources().getDrawable(R.drawable.icon)).setContent
(listintent));

But when I set com.android.phone.action.TOUCH_DIALER activity to the
host , it crashed. But I can start it by calling , startActivity
(dIntent).

 Intent dIntent = new Intent("com.android.phone.action.TOUCH_DIALER");
mTabHost.addTab(mTabHost.newTabSpec("tab_test4").setIndicator
("Test3",getResources().getDrawable(R.drawable.icon)).setContent
(dIntent));

Thanks for reading and I really appreciate any help.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to