I would like to run APIDemos in the platforms\android-1.5\samples directory on the Android emulator, but I do not know how to do this.Do i need to generate apk or import sources as an eclipse project?
platforms\android-1.5\samples
The easiest way is to import the project sources into an Eclipse project and then run from Eclipse.
I tried importing Api Demos and it did not work for me. Try this: File-> New-> Android Project-> Create a project from existing sources, select the Demos API for the browser window and finish.
It works for me!
No, I see if we run Android Emulator from Eclipse, it is very slow, because Eclipse should call Android Emulator (about 5 minutes).
Edit: I found a solution here: http://www.androidfreeware.org/tutorials/how-to-install-apk-files-on-android-device-emulator