Run Eclipse with Android - Android Software Development

Hey guys,
I am nearly about to buy a Tablet like the "Transformer Prime", but then it came to my mind, it has no sense to buy it because Eclipse wouldn't work on it. However, there is also Eclipse for Linux. Isn't there a project of people who tried to run eclipse on Android? Or is it at least possible?
Thanks in advance.

The problem is, that it's written in Java.
Sounds good you might think because Android-Apps are written in Java, too.
The big problem here is that it uses the sun-libraries like the ones for the SWING-gui.
Unless you are able to port swing to android I think this can't be done
Another thing you could do would be running Debian/Ubuntu with real sun-java and linux-eclipse in an chroot-environment. You can connect to x-server via VNC-client and it should work.
The problem here is that you will need a very good cpu and enough RAM to work with this.

An alternative might be this: http://forum.xda-developers.com/showthread.php?p=19229860
Eclipse has it's uses but I'm happy enough to use vim+tmux+btep for my programming needs and deal with cross compilers or terminalling in to other stuff when x86 is needed.
Sent from my Transformer TF101 using Tapatalk

Related

Linux Bounty

I'm really excited by the possibility of running linux on my x7501. While WM6 is fine in its own right, I'm a linux/bsd guy at heart (I'm even a Zaurus defector). I don't think I'm the only one interested in getting a usable Linux or BSD port.
In any case, there doesn't seem to be any/much progress being made on Athena's linux port, so I'm willing to go out and recruit an opensource bounty hunter. I hope we can find someone who already has an Athena, but this community has raised enough to buy a couple devices for windows mobile developers so maybe we could do it again for a linux dev. I'm willing to put some money in the pot and do the organizational leg work if there is any interest.
Let me know what you think... Go or No GO?
Thanks
,Cal
Edit: I'm afraid I gave up on my Athena. Sold it today. I've gone back to my Zaurus, window mobile doesn't work for me, and I found myself not using the phone because of it. Good luck to everyone.
linux port
BTW, I have my own ideas, of which I'll list a few below, but I'm willing to get behind any community effort that puts linux on Athenas
My wish list
Linux
X11
Debian (http://wiki.debian.org/ArmEabiPort)
fluxbox for geeks like me(comes with debian)
GPE / QPE for linux newbies
Custom Setup / PDA tools (ie Touch Screen calibration)
Personally I would like to see a BSD ported. I tried it on my Zaurus C1000, and I really liked it. There is already an arm port of OpenBSD for Zaurus that works well, and NetBSD is known for porting the OS to everything.
the problem is, that for a lot of us, the ameo is a device used for productivity (probably entertainment,too)
i'd also prefer linux to wm6, but really need navigation and working gsm,wlan,bt,umts, fast standby ....
so only if _all_ of these things work i'm able to install linux there.
(i do have installed slackware and ubuntu on my home comuters)
mojo2000 said:
the problem is, that for a lot of us, the ameo is a device used for productivity (probably entertainment,too)
i'd also prefer linux to wm6, but really need navigation and working gsm,wlan,bt,umts, fast standby ....
so only if _all_ of these things work i'm able to install linux there.
(i do have installed slackware and ubuntu on my home comuters)
Click to expand...
Click to collapse
To have a good kernel running and KDE would be pretty damn good (obviously im a linux n00b big time.....but in my defence ive been running suse since version 7.1 )
It wont be as big-of a pain in the ass as the hermes etc... since its pretty close to the other devies which have linux ported to them (uni...etc..)
mojo2000 said:
need navigation and working gsm,wlan,bt,umts, fast standby ....
Click to expand...
Click to collapse
I don't see any of that as impossible, but some items will take more work then others. Its a matter of will and resources. Most of it already exists and works on the Zaurus and other HTC devices for that matter.
Either way linux isn't a solution for everyone, it especially won't be at first. Maybe a dual boot solution is needed.
I have taken the switch to linux on my home desktop and laptop and absolutely love it. There would be nothing better than to get a working linux on my athena. I'm in for donating and support.
Count me in on this, too....
would be great to have linux option....
mee too
me too will love. I use mine at uni and could need a lot of linux software on mine

programming ON device

Hi,
i wonder if it's possible to code right ON an android device, such as the upcomming tablets?
plz correct me if i'm wrong, but i'm dreaming of coding and compiling direct on the tablet. (on my old wm6 device i did so by using basic4ppc, but it would be great to do so without using fring.)
Is this realistic or am i simply dreaming?
thanks for any reply to my silly noob question
your's
pedro
P.S.: by the way,do you gurus think there will be things like video-editing (similar functionality to pinnacle studio/vegas) and vst support for android?
No reply at all??
PLZ boys....can JDK and eclipse be run on an android device????
The only thing I'm aware of at the moment is the project (formerly) known as "Android Scripting Environment"
http://code.google.com/p/android-scripting
Among other things, it gives you Perl
Sent from my SPH-D700 using XDA App
Well, Eclipse is a Java application, so in theory it should be port-able onto an Android device. However, I imagine there would be so many things to fix/work-around that it just wouldn't be worth it. For example, I don't think Android has the Swing/AWT components, which Eclipse probably uses, so you'd have to rewrite all the UI display classes to use the Android libraries.
Much more realistic would be simply a syntax-highlighting text editor, which would let you write (but not compile, of course) on the go. I looked around for one of those a while ago but couldn't find one. I started writing one, but then decided that my urge to program on my phone wasn't strong enough for the amount of effort it would take to write such a program...
NEWS
i've read today good news..... basic4android (basic4ppc) announced a basic4android version (early beta) and "maybe" an on-device-programming version
infantilo said:
i've read today good news..... basic4android (basic4ppc) announced a basic4android version (early beta) and "maybe" an on-device-programming version
Click to expand...
Click to collapse
Hello,
it will probably be no version to program with B4A on the device. The IDE runs in conjunction with windows. Net.
Cu
Amalkotey
Basic4Android-Betatester
Steven__ said:
Well, Eclipse is a Java application, so in theory it should be port-able onto an Android device. However, I imagine there would be so many things to fix/work-around that it just wouldn't be worth it. For example, I don't think Android has the Swing/AWT components, which Eclipse probably uses, so you'd have to rewrite all the UI display classes to use the Android libraries.
Click to expand...
Click to collapse
These issues are not the only issue i see...
What about javacc wouldn't this need to be ported as a java application as well?
Which i dont see how you can develop a java compiler in java if you can i'll be amazed.
we'd have to wait for the native library imports to do that from my current knowledge
Please someone correct me if im wrong
I know this thread is old, but if anyone come across this thread search for Aide in the play store.
i think AIDE is the best way to coding ON the tablet/phone!
Try AIDE It's free on Google Play.
AIDE is a good choose if you can buy premium key. I personally did and I'm satisfied. I use aide when I'm away of my PC and get an idea
Free version allows only projects with 5 or less java files. Excluding R.java and BuildConfig.java that's 3. I doubt that anyone can write anything serious with 3 java files.
Sent from my Evo 3D GSM using Tapatalk 2
pedja1 said:
AIDE is a good choose if you can buy premium key. I personally did and I'm satisfied. I use aide when I'm away of my PC and get an idea
Free version allows only projects with 5 or less java files. Excluding R.java and BuildConfig.java that's 3. I doubt that anyone can write anything serious with 3 java files.
Sent from my Evo 3D GSM using Tapatalk 2
Click to expand...
Click to collapse
+1 for AIDE you can't go wrong with premium especially if your projects are big (lots of files)
AIDE also supports ssh git and dropbox sync last I checked. It also features an auto complete kinda like in eclipse.
Although I always begin my projects on a computer especially for the ui design (I'm a noob this way)
as for C there is C4droid although I'm not sure if its possible to link it with android java code.
But c4droid beats having to set up the proper toolchains if your creating a pure native application.
Sybregunne said:
+1 for AIDE you can't go wrong with premium especially if your projects are big (lots of files)
AIDE also supports ssh git and dropbox sync last I checked. It also features an auto complete kinda like in eclipse.
Although I always begin my projects on a computer especially for the ui design (I'm a noob this way)
as for C there is C4droid although I'm not sure if its possible to link it with android java code.
But c4droid beats having to set up the proper toolchains if your creating a pure native application.
Click to expand...
Click to collapse
+1 for AIDE
I has AIDE+PasGUI+C4Droid on my device and I quite satisfied with it, though it's difficult to manage with interface
DoR2 said:
+1 for AIDE
I has AIDE+PasGUI+C4Droid on my device and I quite satisfied with it, though it's difficult to manage with interface
Click to expand...
Click to collapse
pasGUI - will try that now. Thanks

Is it possible to natively run Linux rather than on top of Android for Nexus One?

I've bought a new phone however I do not want to waste my Nexus One. The idea came to my mind firstly was to make it a small 'server' running at home.
Technically I bet it's possible however I don't have a clear path to do that... I've googled for a while and I saw a lot tutorials about how to run Ubuntu on top of Android. However what I want is to get rid of Android and run Linux directly on the hardware.
I think that should have been done by some guys... any help thanks in advance!
zhangxiao83 said:
I've bought a new phone however I do not want to waste my Nexus One. The idea came to my mind firstly was to make it a small 'server' running at home.
Technically I bet it's possible however I don't have a clear path to do that... I've googled for a while and I saw a lot tutorials about how to run Ubuntu on top of Android. However what I want is to get rid of Android and run Linux directly on the hardware.
I think that should have been done by some guys... any help thanks in advance!
Click to expand...
Click to collapse
IIRC, Android is Linux.
If you mean the computer OS, I have no idea.
Theshawty said:
IIRC, Android is Linux.
If you mean the computer OS, I have no idea.
Click to expand...
Click to collapse
Yes I understand that - However I meant Linux such as Ubuntu or Arch distribution...
zhangxiao83 said:
Yes I understand that - However I meant Linux such as Ubuntu or Arch distribution...
Click to expand...
Click to collapse
Running Ubuntu has been deemed possible.
Yes, but why and who will make a port (isn't this simple)? And not all drivers are open source and available to public.
BTW, android is linux and you can even port some applications (a time ago sometime is talking about porting glibc to android, don't remember if this get done, but I think is useless somehow).
It will happen
Word on the street is that Android drivers are being merged back into the development branch of the Linux 3.3 kernel. It's not too surprising considering Android developers were working with the Linux kernel developers until the 2.6.33 Linux kernel.
I bet we will see Debian or Ubuntu running on our N1s eventually. The N1 has a great developer backing since it was pitched as a developer phone, so I bet one of the many talented developers out there will eventually cook up a native Linux ROM. Besides, there are native ports for other devices out there so they can't be too far off.
You can currently install Ubuntu on your N1 but honestly it's pointless. Yes There are great apps to use but compatibility isn't 100% on the phone AND the apps run too slow to actually be useful.
You'd have better chances developing an app for android to do what you want lol.
If this helped hit THANKS
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/ Check this link for a how-to.

Development Using an Android Tablet (e.g. Transformer Prime)

Let me preface that I am familiar with developing Java web apps in both Linux and Windows, but I am just starting to delve into developing Android applications. Forgive me if this has been addressed somewhere else - I couldn't find anything on this subject.
How viable would it be to use a tablet for development, specifically for developing Android applications? To be clear, I'm not talking about writing apps for the tablet - I'm talking about setting up a development environment on the tablet and using it to develop stuff with. Has anyone successfully done this? It seems like something like the Transformer Prime would be a good candidate for this. Are there IDEs for Android, or anything that could be ported over?
The IDE used by most Android developers is eclipse, which isn't available in Android. Not sure if it's possible on the Prime yet, but you would need to install a full blown OS (like Ubuntu). Once that was done it could be used for development.
EDIT: check out javaIDEdroid in the market. I haven't used it, but it claims to allow exactly what you're looking for.
Sent from my SPH-D710 using XDA App
ioos said:
The IDE used by most Android developers is eclipse, which isn't available in Android. Not sure if it's possible on the Prime yet, but you would need to install a full blown OS (like Ubuntu). Once that was done it could be used for development.
EDIT: check out javaIDEdroid in the market. I haven't used it, but it claims to allow exactly what you're looking for.
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
That's cool, I'll check it out.
I primarily use Eclipse. I wonder if it could be recompiled to run in Android? Or maybe the best solution is just to dual boot the thing with Android and Ubuntu.

IDE of choice for newcommers

Hello,
i have recently decided getting into android application development and now the first big question arises.
Which IDE should i start on if i have no previous experience ?
I m guessing that all of them are pretty much equal to what they are capable on and it mostly goes down to developers preference so i assume i will not find a definate answer here but perhaps an upside/downside comparison for some of them.
As i have found out as of Google I/O 2013 the Android team has moved to IntelliJ Idea with the new Android Studio IDE.
Even if its not superior to the IDEs currently available it might be in the future so my choice is swinging towards Android Studio with no valid arguments why.
I would like to hear some opinion about Android Studio if there are any major downsides compared to other IDEs available and if its a good idea to give it a shot without previous experience.
Thanks in advance,
D
Hmm. Nobody use Android Studio?
druvisk, I think Android Studio is a good choice for you.
Android Studio should be okay for beginners I suppose.
I looked at it a while ago, and as far as I could tell, there was no support for native code/the NDK, and I need that for my apps, so I'm just sticking with Eclipse.
I'm using eclipse i think it's not that hard for beginners (i am a beginner too)
I think you should seriously consider using a multi-platform development environment, so that your final product can work on both Android and iOS, hopefully also on Windows Phone (or maybe even desktop PC). There are tons of those - affordable and high quality. Use google to find those. From the top of my head: Cocos2d/3d, Moai, Marmolade, Corona, Unity, Gideros, GameMaker, and many more....
Hi, I think that you have to go ahead with Eclipse.
You only need to download it in the android developers main web and you can already follow some official tutorials without searching the options on the Android Studio IDE. (That can be different)
After you get some experience you can go with Netbeans or the Android Studio itself.
Only TRUE cross development tool
druvisk said:
Hello,
i have recently decided getting into android application development and now the first big question arises.
Which IDE should i start on if i have no previous experience ?
I m guessing that all of them are pretty much equal to what they are capable on and it mostly goes down to developers preference so i assume i will not find a definate answer here but perhaps an upside/downside comparison for some of them.
As i have found out as of Google I/O 2013 the Android team has moved to IntelliJ Idea with the new Android Studio IDE.
Even if its not superior to the IDEs currently available it might be in the future so my choice is swinging towards Android Studio with no valid arguments why.
I would like to hear some opinion about Android Studio if there are any major downsides compared to other IDEs available and if its a good idea to give it a shot without previous experience.
Thanks in advance,
D
Click to expand...
Click to collapse
I recommend Gingee IDE. Super easy to use, and most important - helps you to use one code to generate an app in any desired OS, with no extra optimization needed.
Let me know if you need to hear more details. Or just go to gingeegames dot com.
Android Studio is great for those who haven't really been into Android before
Sent from my SM-N9005 using XDA Premium 4 mobile app
I'm working with Eclipse since the beginning and I'm quite happy with it. You can install ADT plugin, control the SDK manager and even profile your app with DDMS view.
I'd vote for Eclipse ...best IDE for beginners..
Eclipse. Android Studio still needs improvements from what I hear. Stick with Eclipse and you'll have everything you need.
RED_ said:
Eclipse. Android Studio still needs improvements from what I hear. Stick with Eclipse and you'll have everything you need.
Click to expand...
Click to collapse
This is correct.
Eclipse is the best right now.
Android Studio may be the best but Google really isn't in a rush to help developers out.
adrian.adamiak said:
I think you should seriously consider using a multi-platform development environment, so that your final product can work on both Android and iOS, hopefully also on Windows Phone (or maybe even desktop PC). There are tons of those - affordable and high quality. Use google to find those. From the top of my head: Cocos2d/3d, Moai, Marmolade, Corona, Unity, Gideros, GameMaker, and many more....
Click to expand...
Click to collapse
Like the original poster I'm also a newcomer with only basic knowledge of coding. I'm looking for a multi-platform dev environment thats more a GUI possibly with drag and drop features so I don't have to code. I see there are plenty of app making websites available but rather than cloud based I'm wanting a programme I can download.
Gingee looks good and one of it's features they're marketing is that you can "build your app/game without writing one line of code". Would the options mentioned above be similar to Gingee or do you have any other recommendations to meets my criteria?
I would go with Android Studio, since it's under heavy development, and Google is replacing Eclipse with AS, so you won't have to switch to an other IDE in the future.
I think IntelliJ Idea is the best IDE for Java developers. I tried Eclipse several times, but still can't understand, why would anyone switch from IntelliJ Idea to anything else.
andras_k said:
I would go with Android Studio, since it's under heavy development, and Google is replacing Eclipse with AS, so you won't have to switch to an other IDE in the future.
Click to expand...
Click to collapse
AS replacing Eclipse, I dont see that happening ever. Google never dedicates time and effort into anything, and an IDE is a big project.
I use netbeans with ndk for android c++ development
http://forum.xda-developers.com/showpost.php?p=53586100&postcount=4
Stick with Eclipse
I would recommend sticking with Eclipse as there is not many examples on using Android Studio for the newbies ... Now this is if you are looking to build native android applications.
I would not recommend any IDE that states you can build a application without coding ... Learn to code would be my honest suggestion.
Livecode??
I am disappoint.
Not one mention of LiveCode!
For anyone who has EVER used HyperCard on an old school Mac, you'll know how to use LiveCode. And they have a community open source edition, and can deploy to pretty much any target, save for Windows Phone.
I've written all kinds of one off custom apps with it.
To code for Android I have only been using Eclipse until now, and it meets all my needs. I think it's a very good tool ... as long as it's working, and to be honest this is not always the case. There where some incompatibilities of the ADT some month ago with the current licensing library, so I downloaded the very new version of Eclipse and ADT this month. Eclipse found some weird errors in Google's very own appcompat library ... I guess this is not my fault at all. Frequently Eclipse simply gets stuck loading content, and the only way to get rid of this problem is rebooting Windows. I don't know if such weird stuff is also occurring on Android Studio.

Categories

Resources