1

I am about to purchase a tablet probably a 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. I am in school and I write a lot of applications using Java. I need to be able to write code using a tablet running Android 3.1 Honeycomb.

Also if I can do this what IDE can I use?

NOTE: I am not trying to write Android applications in Java. I am trying to write applications in Java (for regular PC) using a IDE from a tablet with Android 3.1 honeycomb.

Basically I want to:

  • Install Java JDK on Toshiba Thrive
  • Install IDE on Toshiba Thrive (such as eclipse, jgrasp, netbeans)
  • Run IDE and write code in Java
  • Save code to flashdrive
  • Use/edit code on my PC
BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555

4 Answers4

2

Go to Google Play and download AIDE although it is for designing Android Apps on cell phone. It works on my android tablet and takes Java. With a few tweaks I bet you could make it compile and run pure 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!!

BlackBox
  • 21
  • 2
1

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

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)

Tassos Bassoukos
  • 16,017
  • 2
  • 36
  • 40
1

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. Essentially, it would be like a merge of iPad and MacBook.

And no AWT/SWing/etc is not a problem for me, since I will be doing server-side development (using Eclipse/tomcat).

Now the question: How hard is it to port JDK onto Android?

Allen S.

Allen S.
  • 11
  • 1