Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a pretty long commute to work and own an android phone. I figure it would be nice to do some simple programming on the way. I'm not picky on which language to code on. I usually have an internet connection on the train.

I've been looking through the android market but haven't found any apps that offer a "development environment" or an editor with a compiler. Is any development ON the Android possible? Does an app for this exist?

share|improve this question
2  
This question will become a lot more relevant as more powerful and cheaper Android devices come out. –  stephelton Jan 10 '12 at 20:07
add comment

10 Answers 10

up vote 20 down vote accepted

Two years on: I use AIDE, their brief summary of features states:

Edit-compile-run cycle:

  • Create a sample App with a single click
  • Run your App with a single click
  • No root access required
  • Incremental compilation for fast build times
  • Uses Eclipse .classpath project format for compatibility
  • Integrated LogCat viewer

Real-time error checking:

  • Real time error analyis throughout the whole project as you type
  • Automatic Quick-Fixes for many errors

Refactoring:

  • Rename
  • Inline variable
  • Introduce variable
  • Extract method

Code:

  • Code formatter
  • Organize imports
  • Out-comment code
  • Create setters/getters/constructors from fields

Code navigation:

  • Goto defintion
  • Find usages
  • Goto symbol
  • Goto class

Editor:

  • Very fast editor even with large files
  • Code completion for Java and Android XML
  • Android online help directly from the code
  • Syntax highlighting for Java and XML
  • Unlimited Undo/Redo
  • Pinch zoom
  • Smart expand selection
  • Keyboard support with configurable keybindings
  • UI optimized for small screens to show as much code/content as possible

Filebrowser:

  • Built-in file manager with the most common features: Rename, delete, create file or folder
  • Dropbox integration
  • Git integration with Commit/Dicard/Push/Pull and SSH support.

enter image description here enter image description here

share|improve this answer
1  
exactly what I'm looking for, thanks! –  Slamice Jul 16 '12 at 14:04
add comment

If you do scripting languages at all, check out SL4a (Scripting Layer For Android). It gives you access to the android API in each language - Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell.

It comes with its own basic editor, but you can specify a different editor if you have others installed - I've used the Jota text editor with it.

Get SL4A here: http://code.google.com/p/android-scripting/

I've build a few basic interactive android apps with this setup, and various console-only scripts. You should be able to configure it to store the files in dropbox or similar to get auto-syncing too.

share|improve this answer
add comment

If you want to get all meta, there's Terminal IDE, a full Java / HTML / Android development environment that runs on Android.

share|improve this answer
add comment

I have an app called C# To Go in the Android market that provides a basic C# REPL. It's certainly not meant to be a real development environment, but does allow you to play around with the language and compile things on the fly.

share|improve this answer
add comment

Why not give Ruboto IRB a go.

From the app description:

Interactive Ruby running on Android. Edit, save, and run scripts on the phone. Great for learning, prototyping, and small apps. Ruboto IRB taps the power of JRuby to open up the Android API.

share|improve this answer
    
How is that different than SL4A? –  NoBugs Nov 22 '13 at 5:57
add comment

I know you're looking for programming apps actually on the phone, so this might not be overly helpful. I found an app called Splashtop Remote Desktop that with a WiFi connection, you can control your computer at home. I've tried it for reading documents and playing around. However; I think it could be used to write code using whatever utility you have at home.

share|improve this answer
add comment

There is retro language from Charles Childers and clojure REPL from sattvik software, although these are somewhat more exotic than the standard languages.

share|improve this answer
add comment

Aloha Editor runs within your browser. But I suppose it will not run in every Android browser, Firefox mobile seems most advanced when it comes to HTML5.

share|improve this answer
    
Firefox is an Android browser –  NoBugs Nov 22 '13 at 5:57
add comment

And if you are looking for a web development solution for e.g. PHP, you might want to take a look at PHP programming app with hosting?: PAW Server for Android -- amongst others -- offers you a web server with support for PHP (via a plugin), and comments in the linked question also mention some nice programming editors.

share|improve this answer
add comment

Check out - Android Web Developer. I am developer of this application.

It is developed special for web developers.

Features:

  • Support all major web languages and formats: PHP, JavaScript, CSS,
    HTML
  • A lot of ways to reach your project ( FTP, FTPS, SFTP, WEBDav and growing)
  • Code highlighting
  • Code completion
  • Hardware keyboard support (e.g hotkeys)
  • Error checking
  • Code beautifying
  • Tablet ready UI
  • Line numbering
  • Quick preview of your page
  • Highlighting the current line
  • Search and replace with regular expressions
  • Unlimited Undo/redo
  • Full screen mode
  • Rename/create/delete/copy-paste files inside you project
share|improve this answer
    
What is your affiliation with this app? –  Al E. Dec 7 '13 at 20:08
    
I am developer of this app. –  user209101 Dec 7 '13 at 20:09
    
Suggesting an app you've developed is okay (within limits) as long as you disclose such in your answer. Please see the help center. –  Al E. Dec 7 '13 at 20:10
    
Ok, thank you. I've added it in post. –  user209101 Dec 7 '13 at 20:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.