IDE for Android - android

I used to lug my huge laptop all over the place, but now I have a Galaxy Tab 10.1. Im loving the lighter baggage and I can do everything I can do on my laptop, expect for the most important thing, develop. The main reason for this is because i cant find a decent ide that runs on Android, so I'm putting the question out there. Is there and ide i can run on the Android platform?

AIDE supports the full edit-compile-run cycle for Android Apps and has a great editor. It works fine on my devices (Transformer Prime and Samsung Galaxy S2).

Directly on android? No I don't think so.
However it is possible to install ubuntu on a tablet. Then you could use eclipse or any other linux IDE, I suppose. Heres a video showing you how to install ubuntu on a tablet.
http://www.youtube.com/watch?v=agYEOefFfto
UPDATE
Terminal IDE allows for full java/android development on your android device (no root required). I believe C and C++ support is in the works as well. Project is open source and includes the following executable's:
javac, java, dx, proguard, aapt, apkbuilder, signer, ssh, sshd, telnetd, bash 4.2, busybox 1.19.2, vim 7.3, nano 2.2.6, midnight commander 4.8, htop 1.0, TMUX 1.5, rsync 3.0.8, git 1.7.8, BitchX 1.1.
You'll definitely need a bluetooth keyboard to get any real productivity out of it, but its a great app.

Related

Platform Windows , the code give back Linux, debugging app on Visual Studio 2019

i've a really strange situation.
I'm developing with xamarin a mobile application on Windows 10 Pro 21H2 64bit, i've also tried on 22H2 64bit machine.
When the debug reach this code it give me back OSPlatform.Linux.....
var OSVersion_dep = Environment.OSVersion.Platform;
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
return OperatingSystem.Windows;
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
return OperatingSystem.Unix;
if(RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
return OperatingSystem.MacOSX;
The motivation is the one below:
because the android os is linux, and your code is running in a android emulator (linux virtual machine)
OK,
but the others who run the application on Windows OS, how do they debug the code, if they don't use the Android emulator (Linux VM)?
What I mean is, how do others who use a wrapper (like Tesseract) on Windows systems that need to load dynamically libraries (with extension .dll for Windows OS) related to the OS system does test it?
If then in debug the pointed system is always Unix (with libraries extension .os for Unix OS)?
Excuse me, but i'm new to the develop of Application on mobile.
I've seen that on VS2019 there are two option in the Visual Studio Installer, perhaps i've installed the wrong one (the one in yellow color), i've to install the one circled in red, or i've to install Android Studio?
Many thank in advance.

Eclipse 3.7.2 + Cordova 1.9 on OSX Lion

I am trying to get a web app comipled for Andoid on my macbook. I have alread a number of apps published on the Apple store so I sort of know what i'm doing from a global perspective wise.
The thing is, all tutorials are based on older versions of Elicpse and Phonegap, now Cordova.
The 2 specific problems I am having are:
I cannot tell Eclipse to connect to an Android device over the USB. I have to run the app in the AVM simulator.
I managed once only to get the Hello world app to run on the simulator.
More details:
When i copy across the .jar and .js files from the android folder in the Cordova download, they do not show up in the directory tree on the left hand side/project browser in Eclispe; but they are there I know cz I put a copy of them there. They do show up, occasionally after a few restarts for Eclipse.
I cannot add the .jar file to the Build path. I right click on it but i do not get the option. Please refer to the tutorial below:
http://www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-eclipse-for-android.html
The 2 specific questions are:
Will I be able to run the app on an Android device over the USB cable using mac osx and Eclipse, or i need to work on the PC for that?
Can you please provide some clarifications as to what are the missing steps to actually get things rolling for the latest Android 20/Elipse 3.7.2/Cordova 1.9.0 on Mac OSX Lion? any up-to-date tutorials on this regard?
Cheers.
1) Yes, you can run your Android device over the usb cable using mac osx and Eclipse. Two things you need to look out for are i) is the usb cable crap? One of the charger cables that came with my Samsung Galaxy S will not work, i.e. the device never get recognized with that cable but works fine with others and ii) make sure you are plugging the usb cable into the full powered usb port. One OS upgrade the MacBook got downgraded to only providing half power (or something similar) to the USB ports. If I wanted to connect multiple devices I needed to buy a USB powered hub for them.
2) http://docs.phonegap.com/en/1.9.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android

Android emulator - samsung galaxy y

I've just started learning android and I've completed the hello world sample program which running on my galaxy tab emulator successfully.
Now i have the following concerns as below
can this hello world program run on galaxy y handset?
From where I can get the emulator for galaxy y model from samsung?
I am using sdk platform 2.2 , can this code run on Android OS v2.3.5 (Gingerbread - real handset)?
1) Yes
2) I'm not sure if such thing exists
3) Yes
You should try running the program on your handset; you can't learn unless you do. just FYI, I had to install Samsung Kies to get the drivers that let Eclipse see a Galaxy tab. I'm not sure if you have to do the same for the handset, but if that's the case, now you know what to do.
If you are beginning to learn Android you are better off learning with the default emulator that comes with the SDK. Setting up handset manufacturer specific emulators is not the hassle to address right now. Just use the default SDK, you will be fine.
Hello world programs, in almost all cases in Android will work with any emulator or SDK (from Android 1.6 onwards). So you should be okay.
Also, if it doesnt run due to some reason, learning how to recognize it and address it is a useful skill too, so dont think its not important.
If you're new to Android start your app projects with
Minimum required SDK-android 2.2 froyo
Target SDK- 4.2 jelly bean
Compile with android 4.2.
After creating the project go to your workspace APP project folder/bin/.apk file, copy and paste the .apk file and run it on your Samsung Galaxy y. It works, even I to have a Galaxy y mobile and tried it, it works.
Thank You. :)

Running Android apps in Linux

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.

Is possible install Eclipse IDE in a Galaxy Tab?

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.

Categories

Resources