Wednesday, April 18, 2012

[android-developers] Tab host and the settings-app activity.

I have a tab host and I host a settings app activity, like this::


Intent tabIntent = new Intent( android.provider.Settings.ACTION_APPLICATION_SETTINGS);
tabHost.newTabSpec(blah, blah, blah, 
    .setContent( tabIntent);

The idea is the "embed" the activity inside my tab-view.

This works perfectly fine on Android 2.3.
But when I run this on an ICS device, it just crashes.

What could be the problem? And how do I solve this?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate