The video below gives a quick demo of a simple Android app being written and then launched on a Samsung Galaxy S II. The app is created using a new app called AIDE – Android Java IDE, which is free and available to download from Android Play now. Usually apps are created on a separate machine running an Integrated Development Environment (IDE), such as Eclipse. However, AIDE is a self-contained IDE that enables developers to write, compile and run Android apps on a smartphone or tablet. It may be too soon for mobile devices to replace desktops for development, but with a smartphone connected to a larger display as in this demo, the idea certainly has legs.
Via Android Police