I assume you are using Eclipse.
First add Ant support to your project by running the "android update project -p". inside the dir project.
Then create custom targets in the build.xml file line by line (not verified):
<target name="install-release" depends="release"> <sequential> <echo>Installing ${out.release.file} onto default emulator or device...</echo> <exec executable="${adb}" failonerror="true"> <arg line="${adb.device.arg}" /> <arg value="install" /> <arg value="-r" /> <arg path="${out.release.file}" /> </exec> </sequential> </target> <target name="run-release" depends="install-release"> </target>
You can then expand the build.xml file in the Files panel and add the launch target to your toolbar. This will at least result in an installation from the toolbar.
You will need to set the appropriate properties for the signature to work (key.store, key.store.password, key.alias, key.alias.password), as described in Creating and running from the command line
Hope this helps.
source share