Batch Processing is offered by the teacher and from the Internet.
Just make a record to indicate that android has been used...
Run. bat
@ REM: REM (or: :) is equivalent to the // annotation symbol in C Language <br/> @ REM:/D indicates that the drive letter is changed together. <br/> @ REM: the best way to comment out a line is => A space followed by a colon (a space is required) <br/> @ REM: Exit/B 0: only the current batch script is returned, but not the cmd.exe program. Exit code 0 </P> <p>: **************************************** *********************************** <br/>: * ** put the operation statement to be executed here <br/> @ goto run_emu_win <br/>: **************************************** *********************************** </P> <p>: run_emu_win <br/> REM run Android emulator now in Windows (run Android simulator) <br/> @ set android_sdk_dir = E: /CL/android-sdk-windows_2.2 full version/Android-SDK-Windows/<br/> @ set android_emulator = % android_sdk_dir %/tools/emulator.exe <br/> @ set android_run_dir_orig = % android_sdk_dir %/platforms /Android-8/</P> <p>: @ set android_run_dir = E:/CL/android-sdk-windows_2.2 full version/Android-SDK-Windows/<br/>: @ set android_run_skin_dir = % android_sdk_dir %/tools/lib/images/skins </P> <p >:@ set android_skin = HVGA-L <br/>: @ set android_skin = QVGA-P <br/>: @ set android_skin = QVGA-HENG <br/> @ set android_skin = hvga <br/>: @ set android_skin = WVGA <br/>: @ set android_skin = wvga800 </P> <p>: **************************************** ********************************** <br/>: * ** emulator run method: <br/> @ % android_emulator %-Sysdir % android_run_dir_orig %/images-data % android_run_dir_orig %/images/userdata. IMG-skindir % android_run_dir_orig %/skins-skin hvga-memory 512-Debug all </P> <p> pause </P> <p> exit
Install. bat
Clweather.apk is directly copied under the bin directory of the project.
ADB install clweather.apk <br/> pause <br/> exit
Uninstall. bat
Here, org. Spring. Demo is in the androidmanifest. xml file of the project: package = "org. Spring. Demo"
ADB uninstall org. Spring. Demo <br/> pause <br/> exit