简体   繁体   English

我可以使用相同的插件为Android手机和平板电脑开发吗?

[英]Can I develop for Android Phones and Tablets using the same plugin?

I'm new to mobile development and am a little confused. 我是移动开发的新手,我有点困惑。 I've downloaded and installed the Android Eclipse plugin and the JDK. 我已经下载并安装了Android Eclipse插件和JDK。

I want to develop Android tablet apps as well as Android phone apps. 我想开发Android平板电脑应用以及Android手机应用。

Can I do this with the same plugin? 我可以使用相同的插件吗? That is to say is development for both devices done through the same Eclipse IDE or do I need something else? 也就是说,通过相同的Eclipse IDE完成两个设备的开发,还是需要其他东西?

是的,两个设备的开发都是通过eclipse IDE完成的。

You will also have to install the SDK Starter Package . 您还必须安装SDK Starter Package Once this is installed from Android SDK and AVD Manager you will be able to install the platforms you require (in your case SDK 11 for tablet development). 从Android SDK和AVD Manager安装后,您将能够安装所需的平台(在SDK 11中用于平板电脑开发)。 See Step 4 on this page . 请参阅本页的第4步。

When you create a new android project in Eclipse you select the version of the SDK you want to develop for. 在Eclipse中创建新的android项目时,选择要为其开发的SDK版本。 All you have to do is select a version supported by the tablet you want to develop your application for. 您所要做的就是选择要为其开发应用程序的平板电脑支持的版本。

Because of the way android works, an application is not developed either for a phone or a tablet, but simply for android. 由于Android的工作方式,一个应用程序不是为手机或平板电脑开发,而只是为Android。 An application written for Andriod 2.2 will for instance run on the Galaxy Tab, with to changes. 为Andriod 2.2编写的应用程序将在Galaxy Tab上运行,并进行更改。

uvesten is right. uvesten是对的。 If you want to start programming Android, here is what you need to see https://stackoverflow.com/questions/2869338/where-to-start-to-learn-android 如果你想开始编程Android,你需要看到https://stackoverflow.com/questions/2869338/where-to-start-to-learn-android

ohh you changed the question title and its description. 哦,你改变了问题标题及其描述。 my answer is not at all true now. 我的答案现在完全不正确。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM