--- a/android.rst Thu Sep 10 00:06:36 2015 +0300
+++ b/android.rst Thu Sep 10 00:34:04 2015 +0300
@@ -129,6 +129,11 @@
$ adb shell ps | grep $REGEX
$ adb shell kill $PID
+To stop application::
+
+ $ adb shell am kill com.google.android.contacts
+ $ adb shell am force-stop com.google.android.contacts
+
Take a screenshort::
$ adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png
@@ -146,6 +151,19 @@
$ adb logcat
$ adb logcat "*:W"
+List partition.
+===============
+
+List partitions (with sizes)::
+
+ android# cat /proc/partitions
+ android# cat /proc/mtd
+
+List mounted file systems::
+
+ android# mount
+ android# df
+
Controlling Android from PC.
============================