Since Eclipse can run in Linux and this tablet has the new Honeycomb (Linux Kernel), can Eclipse IDE run in Android Honeycomb ?
I know that isn't pretty much comfortable coding in a tablet, but I'd want to use for UML modeling.
Android (despite its Linux roots) is far from capable of running Eclipse IDE as is. Not only is the hardware inadequate for supporting such a large application, but Android lacks a full Java SE JVM (Dalvik is a subset) and SWT (Eclipse UI framework) implementation for native Android UI controls does not exist. On Linux, SWT implementations exist only for GTK and Motif.
You may be interested in project Orion, which is an effort at eclipse.org to create Eclipse-like experience in the browser. I understand that people have been able to use Orion from a mobile browser on devices such as the one on the iPad.
http://mmilinkov.wordpress.com/2011/01/11/introducing-orion/
No you can't.
But who forbid you to connect to your computer using VNC? You can access your Eclipse or whatever application you want.
You can't run Eclipse but you can try AIDE:
https://market.android.com/details?id=com.aide.ui
It is compatible with the Eclipse project file format, has a fast editor with syntax highlighting and supports the full edit-compile-run cycle.
1.) The latest Android tablets ARE now powerful enough to run software like the Eclipse IDE in fact they are more powerful than the Intel and AMD processor machines that Eclipse was originally developed to run on.
2.) The tablet is a useful tool for graphical modelling techniques and the addition of an external wireless keyboard can improve input of code in a text editor.
3.) There is a lack of support for Java SE runtime for Android.
4.) Limited Android root access on the standard commercially supplied Tablets make it impossible to access OS features and install, compile or access development tools without additional 3rd party applications.
5.) AIDE does provide a method to write and run code on Android but the free version is extremely limited and the commercial (paid) version is nowhere near as powerful or comprehensive as the freely available Eclipse for Windows or Linux.
You can use DroidDevelop.
DroidDevelop allows to create native Android application on your mobile device. You don't need to install Android SDK, Eclipce and an other desktop program for Windows or Linux to start programing for Android.
https://market.android.com/details?id=com.assoft.DroidDevelop
http://en.assoft.ru/droiddevelop
Short answer, no.
Long answer, although Honeycomb is based on Linux, you'd have to do a lot of hacking to get to the point where you can have a full blown IDE installed on it. Android works with apps. There isn't an Eclipse app, so you can't have Eclipse.
There was actually a version of Ubuntu for Android, you could do the Ubuntu install for Eclipse on your tablet if you were running it.
As for running Eclipse on an android OS? Not so much since Android has no real JVM.
The Eclipse downloads page lists packages for Windows, Linux, and Mac OSX.
Android is not listed as one of the supported OSes for installation of the IDE.
Are you talking about actually running Java code with Eclipse APIs on the device? It's not impossible, but you will be doing most of the work yourself. The difficult part will be getting SWT to run and appear as native Android objects while supporting the full range of controls that Eclipse users expect.
There have been Eclipse projects in the past to get a workable subset of the APIs to run in an embedded space. One such project was eRCP, by IBM. I'm not aware of any activity to make a similar effort on Android, but there's no requirement to announce such work to the Eclipse community.
Its not possible to install Eclipse directly to Android OS but you can run Eclipse on your Tablet via Linux Deploy Application. But first you need to get Linux setup on your Android and use VNC viewer for display. That's how I did it.
See screen shot of Linux on Android running Eclipse.
Related
Can someone tell me why Linux knowledge is needed for Android jobs ?
Many of the Android jobs have Linux as a prerequisite.
I can very well develop an Android app from a Windows machine right ?
I would say it might be because they prefer to work on Linux and thus you need at least to know the basic installation of the Android Tooling (SDK, eclipse etc..).
On the other hand Android is based on Linux Kernel and uses some UNIX conventions. A knowledge of how things works is a plus. Processes, commands, packaging are among the ones you should know.
You don't have to be a Linux guru to know this.
But still i believe the most important is the knowledge of Android development which is the same for all platforms.
Android uses DVM (Dalvik Virtual Machine) which is based on linux kernel at the bottom. Hence to have the idea about linux helps in developing android application. You can develop android applications on windows OS as well using android SDK.
I know the IDE question has been asked before, but I'm hoping there are new IDEs/options available to developers. Eclipse is too slow/unstable, even with my 8 GB of RAM.
Also, do we have any other options for emulators? The Android emulators, aside from being slow, I find is not a real world simulator of an Android device.
This is my first post on Stack Overflow, and hopefully by opening up older questions I haven't broken any of the rules.
I have 4GB on Windows 7 x64, AMD PhenomX2 and Eclipse it is not slow. I would suggest modifying eclipse.ini to give more RAM memory to eclipse :
-Xms512m
-Xmx768m
-XX:MaxPermSize=768m
You could also have a look at this blog post : Eclipse and memory settings.
As for the AVD, the emulators run better than before, but still if you want to simulate an 3.1+ Platform Device, you'll be in serious problems, since it is very slow. So as you said, it's 2012, you should probably test on some real devices.
There are other IDEs and emulator solutions out there.
For IDE Check : http://www.jetbrains.com/idea/
Other Emulation Option : http://www.android-x86.org/
By the way, I use eclipse and AVDs! :)
I'm hoping there are new IDEs/options available to developers
Nobody is forcing you to use an IDE. I wrote three books on Android application development using a plain ol' text editor and the command line. The only reason I use Eclipse now is because it's drag-and-drop GUI building support now makes it so compelling to developers that I feel I have to cover Eclipse more in my books.
Also, do we have any other options for emulators? The Android emulators, aside from being slow, I find is not a real world simulator of an Android device.
The closer you get to hardware, the more the emulator will behave like an emulator. Outside of that, it is as "real world" as you are going to get. For things where the emulator is insufficiently "real world" or is too slow (e.g., tablets, video playback), test using an Android device. All devices that legitimately have the Android Market on them are capable of serving as app development test devices.
Its true that eclipse is very slow and unstable but I still work on eclipse due to its Drag and drop design support. If you don't need that feature then go for IntelliJ IDE, It was the first IDE that I used for android development and is really better than eclipse in terms of stability, debugging and launching emulator.
As of the emulators, there are many new emulators available like Youwave, BlueStacks etc. but still you have to stick to android sdk emulator as it can be easily integrated with development and debugging.
Eclipse is probably the most used IDE by developers.
By providing Android plugins for Eclipse you don't have to ask developers to learn how to use a new environment (key bindings, windows, perspectives, buttons, ...).
I'm pretty happy to develop Android applications using the same IDE I use for other Java, C and C++ projects.
Regarding performances issues, I use it on Ubuntu and with 4GB ram and an i5 processor I don't find it slow or sluggish.
A 'vanilla' Eclipse install with Android Development Tools runs fine for me (I run it on an i5 with 4GB of ram and also on Core Duo2 with 8GB of ram).
You can also use a simple text editor for your Android projects if you want, or IntelliJ Idea community edition which is free and comes with Android support.
The problem with Eclipse (for me) is the number of plugins you've installed, if you just keep it down to the basics (java, c++) it works quite fast, some plugins are just CPU HOGS (FlashBuilder, STS ...)
I'm a happy user of Eclipse on Mac and have been developing for Android for years now. Prior to that I was doing JSP/JAVA in Eclipse using the built in support for Tomcat - awesome stuff.
It's priceless that one IDE can help you do WEB, Dynamic WEB (JSP/JAVA), Mobile development (Android) all with the same UI. No need to learn new stuff - how can you go wrong with that!!
Android Studio by Google. Is much better than Eclipse. It makes life easy and improves speed beyond your imaginations.
I have a Red Hat Linux (RHL) system on which I'd like to run Android apps. How would I do this? Is there an open-source port of the Android Runtime for linux? Kind of like a VM?
If not, what steps will I need to follow to port the runtime to RHL (with the Dalvik VM etc) so that I can run the android apps built by all android developers?
I am new to android so I am trying to understand if there is an application virtualization support for it from anyone. Thanks in advance!
You need to use dex2jar to convert an APK file to a JAR and then you need IcedRobot to run the Android stack above OpenJDK. Maybe I will try to emulate AndroidGL with JOGL 2.0 (it supports both OpenGL and OpenGL-ES). Keep in mind that it is not trivial.
The emulator of Android SDK is quite slow but you just have to enter adb install my_file.apk to install your application.
You can run android-x86 in VirtualBox or Live Android from a Live CD as Dimitri suggested but I'm not sure it is what you want.
P.S: The most promising solution seemed to be AndroVM.
P.S 2: ARChon Runtime works very well on 64-bits systems. This tutorial is very helpful to make it work.
P.S 3: App Runtime for Chrome Welder is even more promising, it's currently in beta. The final version will support all Android APIs in Google Chrome under GNU Linux (including Chrome OS), Mac OS X and Windows.
I know there is a project for porting Android on x86 platform. You can find iso to download and you can install on LiveCD : http://code.google.com/p/live-android/. You can find more information here
You can't just run Android apps - you will need the entire underlying Android operating system. That goes beyond a simple JVM. EDIT: There is actually a project in the works that aims to do that, see Dimitri's link.
But you're in luck - the Android SDK comes with an emulator that should fulfill your needs (although it's a bit on the slow side - if you're developing Android apps, you definitely want to use a physical device instead). The SDK is available here.
Run Bluestacks on Windows on VMWare on Linux. Easy.
I know I could use my Desire Z as a test phone, but what if I want to develop for 3.0 Honeycomb? What's an alternative for the emulator since it's so slow?
http://www.bluestacks.com/
This site has been getting some press recently. It seems that they are going to launch a windows runnable version of android later this year. This will be another alternative to using devices or emulators for testing I would imagine.
A general solution to the slowness of processor-emulation based emulators is to run a build of the embedded environment compiled for the same processor and general architecture as the hosting machine, in virtual machine software which can run most of the code native, and only has to trap and emulate privileged/hardware-related actions.
In other words, you run the x86 build of android in VirtualBox, vmware, or whatever, and dispense with the overhead of emulating an arm processor.
In quick web searching I'm not getting a confident answer if there's a working build of Honeycomb for x86 yet, but presumably there will be a build of that or a later android version at some point.
The only alternative is to have a physical device with Android 3.0 imaged on it.
Try this one for a change it actually provides an eclipse plugin and it uses cloud i guess it is faster than the emulator comes with android by default http://www.genymotion.com/features/
I've seen some references to actually using Windows 7, however I expect that a Linux partition on my Laptop would be a better choice. Other than the Andriod SDK, what other dev tools are "essential" for Android?
I'd also be interested in knowing the system requirements for a reasonable IPad development system and "essentials" software beyond OSX and XCode. Plus what is the difference in the learning curves for the two platforms.
Eclipse + ADT is everything you need. OS makes no difference.
Depends:
If you're planning on creating your own fork of Android, or committing patches to the Android Open Source Project, then you need either a Linux distro or a case-sensitive partition on OS X. There are setup instructions for OS X and Ubuntu Linux on the Getting The Source of the AOSP site.
If you're planning on writing apps for Android, then it really depends on personal preference and development style:
If you're going to use Eclipse + ADT Plugin: Windows, Mac, and Linux will all work just fine.
Building from the command-line: You might be better off with OS X or Linux (you don't need to restrict yourself to any single distro) as they tend to have more command-line development tools pre installed.
Ubuntu is the one that springs to mind simply because getting help is easy and Canonical has been trying to make it easy to use. But as long as you can install a JVM, you're good to go. Remember, Java makes it possible to run apps (Eclipse in this case) without worrying about the OS.