Android Tabactivity with different apk's

101 Views Asked by At

i found that when using android TabActivity to open tabs where each tab is an activity works fines. (used the android example HelloTabWidget)

But when i try activating one of the tabs as an activity from a different apk, it causes a crash.

do you know if it even possible, and if so what are the requirements for that to succeed?

thank for you help

1

There are 1 best solutions below

1
On BEST ANSWER

You cannot embed activities from another application in your TabActivity.

Also note that embedding activities in a TabActivity has been deprecated in general, so you should start considering other strategies, such as using fragments.