Android - How can I do development on my Android device?
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.
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.
If you want to get all meta, there's Terminal IDE, a full Java / HTML / Android development environment that runs on Android.