Reputation: 13
I have the code.google.com Android SDK, am able to launch the emulator and created a v3.0 object and its started and runs fine, but am just trying to "install" and launch an existing application. its a database viewer with a .apk extension. I have the source, but right now to start its a compiled app.
How is this done?
thanks!
Upvotes: 1
Views: 883
Reputation: 28349
fire up your emulator (it has to be running when you do this), then open Terminal and type
>adb install your_program.apk
You have to cd over to the directory where the file is, first.
(the > is the terminal prompt... not a character you should be typing)
oh, and if you then want to uninstall it, you can do it right through the emulator, of if you know the actual package name you can then do it like...
>adb uninstall com.full.package.name
Oh, and I guess I'm giving mac advice cause I'm on a mac... if you're on a PC you'll use the command prompt... I'm assuming the rest is the same.
Upvotes: 4