X-Git-Url: https://git.ao2.it/android/android-app-development-getting-started.git/blobdiff_plain/ea39b86b3ba985c95ac933054fdebb8a5154d8f2..refs/heads/master:/android-app-development-getting-started.sh diff --git a/android-app-development-getting-started.sh b/android-app-development-getting-started.sh index 123a6f2..2f69ac4 100755 --- a/android-app-development-getting-started.sh +++ b/android-app-development-getting-started.sh @@ -64,7 +64,7 @@ git add .gitignore git commit -m "Add a .gitignore file" # Learn how to write Android Apps: -http://developer.android.com/training/basics/firstapp/building-ui.html +xdg-open http://developer.android.com/training/basics/firstapp/building-ui.html # Build the App # http://developer.android.com/tools/building/building-cmdline.html @@ -77,7 +77,7 @@ emulator -verbose -avd android-17-x86 -scale 0.9 -gpu on -qemu -m 512 -enable-kv # Install the App into an Android [Virtual] Device adb devices -l -adb -s emulator-5554 install bin/MyFirstApp-debug.apk +adb -s emulator-5554 install build/outputs/apk/MyFirstApp-debug.apk # Launch your application from the HOST adb -s emulator-5554 -e shell am start -a android.intent.action.MAIN -n com.example.myfirstapp/com.example.myfirstapp.MainActivity