On Mon, Apr 16, 2012 at 8:58 AM, Amit Mangal
<[email protected]> wrote:
> what is this i want to load different activity for tablet and different for
> phone how to do that ?

That is not a great idea, in general. That being said, you can find
out the screen size bucket from a Configuration object and use that in
an if() test to decide which Intent to use with startActivity().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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

Reply via email to