简体   繁体   English

在Android 3.1上运行适用于Java的IDE

[英]Run IDE, for Java, ON Android 3.1

I am about to purchase a tablet probably a Thrive. 我即将购买平板电脑,可能是Thrive。 I need to know if I can write applications in Java, to use on a regular PC, on a tablet using Android 3.1. 我需要知道我是否可以用Java编写应用程序,在普通PC上使用Android 3.1在平板电脑上使用。 I am in school and I write a lot of applications using Java. 我在学校,我用Java编写了很多应用程序。 I need to be able to write code using a tablet running Android 3.1 Honeycomb. 我需要能够使用运行Android 3.1 Honeycomb的平板电脑编写代码。

Also if I can do this what IDE can I use? 另外,如果我能做到这一点,我可以使用IDE吗?

NOTE: I am not trying to write Android applications in Java. 注意:我不是想用Java编写Android应用程序。 I am trying to write applications in Java (for regular PC) using a IDE from a tablet with Android 3.1 honeycomb. 我正在尝试使用带有Android 3.1蜂窝的平板电脑的IDE编写Java(适用于普通PC)的应用程序。

Basically I want to: 基本上我想:

  • Install Java JDK on Toshiba Thrive 在Toshiba Thrive上安装Java JDK
  • Install IDE on Toshiba Thrive (such as eclipse, jgrasp, netbeans) 在Toshiba Thrive上安装IDE(例如eclipse,jgrasp,netbeans)
  • Run IDE and write code in Java 运行IDE并用Java编写代码
  • Save code to flashdrive 将代码保存到flashdrive
  • Use/edit code on my PC 在我的电脑上使用/编辑代码

Go to Google Play and download AIDE although it is for designing Android Apps on cell phone. 转到Google Play并下载AIDE,虽然它是用于在手机上设计Android应用程序。 It works on my android tablet and takes Java. 它适用于我的Android平板电脑并采用Java。 With a few tweaks I bet you could make it compile and run pure java. 通过一些调整,我敢打赌你可以编译并运行纯java。 Please cheak it out and let me know. 请把它掏出来告诉我。 I am working on it right now. 我现在正在努力。 I need portable java development on the go anywhere!! 随时随地都需要便携式Java开发!

You can't do that on a normal Android tablet, the best you can hope is to use Remote Desktop/TeamViewer/VNC to remotely use a normal PC an do your actual development there. 你不能在普通的Android平板电脑上做到这一点,你可以希望最好的方法是使用远程桌面/ TeamViewer / VNC远程使用普通的PC来做你真正的开发。 One option you have is to root the tablet and install Ubuntu side-by-side the Android environment, but I'm doubtful that the OpenJDK will be up to the task. 你有一个选择是根平板电脑并在Android环境中并排安装Ubuntu,但我怀疑OpenJDK能否完成任务。

On the third hand, a tablet is a device that is very hostile to text entry, and you wnt to perform an activity that is very text-heavy. 第三方面,平板电脑是一种对文本输入非常不利的设备,你想要执行一个文本很重的活动。 Are you on the right track? 你走在正确的轨道上吗? (not to menttion the question on how to perforn shift-ctrl-f on a tablet) (不要提出关于如何在平板电脑上执行shift-ctrl-f的问题)

With the latest Asus tablet that runs Android on a quad-core chip, I see this as a possibility in the near future if not now. 使用最新的华硕平板电脑在四核芯片上运行Android,如果不是现在,我认为这在不久的将来是可能的。 Essentially, it would be like a merge of iPad and MacBook. 从本质上讲,它就像是iPad和MacBook的融合。

And no AWT/SWing/etc is not a problem for me, since I will be doing server-side development (using Eclipse/tomcat). 没有AWT / SWing / etc对我来说不是问题,因为我将进行服务器端开发(使用Eclipse / tomcat)。

Now the question: How hard is it to port JDK onto Android? 现在的问题是:将JDK移植到Android上有多难?

Allen S. 艾伦·S

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

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