Open bpeng opened 8 years ago
commands: calabash-android console app/build/outputs/apk/app-debug.apk calabash-android run app/build/outputs/apk/app-debug.apk calabash-android run app/build/outputs/apk/app-debug.apk --tag @QuakeList
irb(main):061:0* reinstall_apps irb(main):065:0* start_test_server_in_background irb(main):071:0* touch(query("button text:'Strong+'"))
touch(query("TextView text:'Tue, Jan 6 2015, 06:48:41 am'"))
Urban airship Urban airship api https://docs.urbanairship.com/api/ua.html#apid-listing Notes : dev/android/doc/
UA report http://docs.urbanairship.com/user-guide/reports.html#push-response-report
android O migrating:
upgrade gradle-3.0.0 issue
A problem occurred configuring project ':app'.
> No such property: zipAlignEnabled for class: com.android.build.gradle.internal.variant.ApplicationVariantData
upgrade gradle-play-publisher to 1.2.0 solves the problem: https://github.com/Triple-T/gradle-play-publisher
Firebase test lab: https://firebase.google.com/docs/test-lab/overview
Android gradle plugin build issue
https://issuetracker.google.com/issues/69380617
https://github.com/JakeWharton/timber/blob/master/build.gradle
Android O Notifications:
https://github.com/GeoNet/AndroidQuakeNG/issues/460
Bottom navigationbar:
protobuf
https://github.com/elye/demo_android_protobuf_simple
https://stackoverflow.com/questions/17057649/how-to-request-protobuf-using-volley
PMD
https://github.com/pmd/pmd/issues/805
https://github.com/pmd/pmd/tree/master/pmd-java/src/main/resources/rulesets/java
Bottom navigation badge https://stackoverflow.com/questions/42682855/display-badge-on-top-of-bottom-navigation-bars-icon
File system
adb shell
adb pull /mnt/sdcard/DCIM ./
./gradlew -q :app:dependencyInsight --dependency support-media-compat --configuration debugAndroidTestCompileClasspath
./gradlew -q :app:dependencyInsight --dependency support-v4 --configuration debugAndroidTestCompileClasspath
./gradlew -q :app:dependencyInsight --dependency android.arch.lifecycle --configuration debugAndroidTestCompileClasspath
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
> Could not find aapt2-osx.jar (com.android.tools.build:aapt2:3.2.0-4818971).
Searched in the following locations:
s3://maven.geonet.org.nz/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971-osx.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
fixed after change the gradle version:
build.gradle:
classpath 'com.android.tools.build:gradle:3.1.2'
gradle/wrapper/gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
https://github.com/GeoNet/AndroidQuake/issues/179
https://stackoverflow.com/questions/5290141/android-broadcastreceiver-on-startup-keep-running-when-activity-is-in-backgrou
https://developer.android.com/training/notify-user/build-notification#java
https://stackoverflow.com/questions/43648520/how-do-you-prompt-the-user-to-update-google-play-services
dialog style
https://stackoverflow.com/questions/38549329/setting-message-text-appearance-in-alert-dialog-using-xml-android-api-level-23
android upgrade
https://stackoverflow.com/questions/51342200/cannot-resolve-method-setshiftingmodeboolean-in-bottomnavigationview https://developers.google.com/maps/documentation/android-sdk/config#specify_requirement_for_apache_http_legacy_library https://developer.android.com/jetpack/androidx/migrate https://developer.android.com/topic/libraries/support-library/packages https://github.com/google/volley/issues/235
dependency check https://stackoverflow.com/questions/42374151/all-com-android-support-libraries-must-use-the-exact-same-version-specification ./gradlew -q dependencies app:dependencies
UI Test
https://github.com/googlesamples/android-testing/tree/master/ui/espresso/BasicSample
https://saucelabs.com/blog/the-top-5-android-ui-frameworks-for-automated-testing https://developer.android.com/training/testing/
https://developer.android.com/training/testing/ui-testing/espresso-testing#java
https://github.com/taehwandev/Android-BlogExample/tree/master/2016-08-11-WebViewJavascriptInterafce
custom popup
https://github.com/owncloud/android/tree/4dc81e516829cdde06e1bdc966b9f55758e915a5/src/com/owncloud/android/ui