This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android.permission.REAL_GET_TASKS | |
android.permission.ACCESS_CACHE_FILESYSTEM | |
android.permission.REMOTE_AUDIO_PLAYBACK | |
android.permission.REGISTER_WINDOW_MANAGER_LISTENERS | |
android.permission.INTENT_FILTER_VERIFICATION_AGENT | |
android.permission.BIND_INCALL_SERVICE | |
android.permission.WRITE_SETTINGS | |
android.permission.CONTROL_KEYGUARD | |
android.permission.CONFIGURE_WIFI_DISPLAY | |
android.permission.ACCESS_WIMAX_STATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[https://xgouchet.fr/android/index.php?article42/launch-intents-using-adb] | |
# specifying the action and data uri | |
adb shell am start -a "android.intent.action.VIEW" -d "http://developer.android.com" | |
# specifying the action, mime type and an extra string | |
adb shell am start -a "android.intent.action.SEND" --es "android.intent.extra.TEXT" "Hello World" -t "text/plain" | |
# specifying an explicit component name | |
adb shell am start -n "com.example.application/.MainActivity" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create a dump of alarms | |
adb shell dumpsys alarm > dump.txt | |
#Create a dump of activities | |
adb shell dumpsys activity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#list avd | |
android list avd | |
#start avd | |
emulator -avd name_avd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
answer: http://stackoverflow.com/questions/20176284/buildconfig-debug-always-false-when-building-library-projects-with-gradle | |
Complete documentation can be found here http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Library-Publication | |
[LIBRARY - build.gradle] | |
android { | |
publishNonDefault true | |
} | |
[APP] |
OlderNewer