will android mobile app will work on android tablet? [closed]
If I develop app for my mobile phone, is it going to work on android tablet ?
If no, what should I need to develop app for an android tablet ?
Depending on what it is that your app does the answer is yes it will run on a tablet. However if you designed that app for phone sized devices it is likely going to not be the greatest user experience for tablet if you make no changes to it. If you want to support both phone and tablet consider making tablet specific layouts so that at the very least you can make use of the extra screen real-estate.
One of the newer honeycomb features allows the user to choose zoom or stretch mode when using apps designed for phones this alleviates some of the problems but it is still best to design a layout specific for tablets.
Edit: This question has some great links to get you started working with tablets.
What do you mean?
If I develop an application targeting Android 2.2, let's say, then that application will work on all Android 2.2+ devices, so 2.3, 3.0, 3.1, and 3.2. However, if you're developing an application solely for Honeycomb/3.0+ tablets, then you should probably make use of the new features in Honeycomb for layout on tablets and such.
If you're looking to develop an app that should work on both your mobile and the tablet, you should take a look at the official dev guide.
However, before getting into that, you should probably learn a bit more about fragments (introduced in 3.0) which will give you a two-pane view on tablets.
精彩评论