{"id":1951,"date":"2018-06-21T06:50:17","date_gmt":"2018-06-20T21:50:17","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=1951"},"modified":"2018-06-25T07:27:02","modified_gmt":"2018-06-24T22:27:02","slug":"try-termux-api-which-can-manipulate-the-android-terminal-with-shell","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2018\/06\/21\/try-termux-api-which-can-manipulate-the-android-terminal-with-shell\/","title":{"rendered":"Android\u7aef\u672b\u3092shell\u3067\u64cd\u4f5c\u3067\u304d\u308bTermux:API\u3067\u904a\u3093\u3067\u307f\u305f"},"content":{"rendered":"<div>\n<p>\u203b\u3053\u306e\u8a18\u4e8b\u306f\u300c\u9e7f\u5150\u5cf6Linux\u52c9\u5f37\u4f1a 2018.06\u300d\u3067\u767a\u8868\u3057\u305f\u3082\u306e\u306b\u793e\u4f1a\u6027\u30d5\u30a3\u30eb\u30bf\u3092\u304b\u3051\u3066\u52a0\u7b46\u4fee\u6b63\u3057\u305f\u3082\u306e\u3067\u3059\uff0e\u9e7f\u5150\u5cf6\u3089\u3050\u3067\u306f\u6708\u4e00\u56de\u4f4d\u3092\u30da\u30fc\u30b9\u306b\u30aa\u30d5\u4f1a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\uff0e<\/p>\n<ul>\n<li><a href=\"https:\/\/kagolug.org\/\" title=\"\u9e7f\u5150\u5cf6\u3089\u3050(Linux User&amp;apos;s Group)\">\u9e7f\u5150\u5cf6\u3089\u3050(Linux User&rsquo;s Group)<\/a><\/li>\n<li><a href=\"https:\/\/kagolug.connpass.com\/event\/89307\/\" title=\"\u9e7f\u5150\u5cf6Linux\u52c9\u5f37\u4f1a 2018.06 - connpass\">\u9e7f\u5150\u5cf6Linux\u52c9\u5f37\u4f1a 2018.06 &#8211; connpass<\/a><\/li>\n<\/ul>\n<\/div>\n<p>Termux\u306fAndroid\u4e0a\u3067Linux\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\uff0e\u4ed6\u306b\u6a19\u6e96\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u304cchroot\u74b0\u5883\u3067\u52d5\u4f5c\u3059\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u8272\u3005\u3042\u308b(Debian no root\u7b49)\u306e\u3067\u72ec\u81ea\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u306aTermux\u306b\u306f\u3042\u307e\u308a\u60f9\u304b\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\uff0cAPI\u7d4c\u7531\u3067Android\u30c7\u30d0\u30a4\u30b9\u306e\u64cd\u4f5c\u304c\u51fa\u6765\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u77e5\u308a\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e<\/p>\n<ul>\n<li><a href='https:\/\/termux.com\/' title='Termux'>Termux<\/a><\/li>\n<li><a href='https:\/\/play.google.com\/store\/apps\/details?id=com.cuntubuntu&#038;hl=ja' title='Debian noroot - Google Play \u306e\u30a2\u30d7\u30ea'>Debian noroot &#8211; Google Play \u306e\u30a2\u30d7\u30ea<\/a><\/li>\n<\/ul>\n<h2>\u5165\u624b\u5148<\/h2>\n<ul>\n<li><a href='https:\/\/f-droid.org\/packages\/com.termux\/' title='Termux | F-Droid - Free and Open Source Android App Repository'>Termux | F-Droid &#8211; Free and Open Source Android App Repository<\/a><\/li>\n<li><a href='https:\/\/play.google.com\/store\/apps\/details?id=com.termux' title='Termux - Google Play \u306e\u30a2\u30d7\u30ea'>Termux &#8211; Google Play \u306e\u30a2\u30d7\u30ea<\/a><\/li>\n<\/ul>\n<p>API\u5229\u7528\u6642\u306b\u306fAPI\u30a2\u30d7\u30ea\u3082\u5c0e\u5165\u304c\u5fc5\u8981<\/p>\n<ul>\n<li><a href='https:\/\/f-droid.org\/packages\/com.termux.api\/' title='Termux:API | F-Droid - Free and Open Source Android App Repository'>Termux:API | F-Droid &#8211; Free and Open Source Android App Repository<\/a><\/li>\n<li><a href='https:\/\/play.google.com\/store\/apps\/details?id=com.termux.api' title='Termux:API - Google Play \u306e\u30a2\u30d7\u30ea'>Termux:API &#8211; Google Play \u306e\u30a2\u30d7\u30ea<\/a><\/li>\n<\/ul>\n<p>\u203b\u4e92\u63db\u6027\u306e\u554f\u984c\u304c\u3042\u308b\u306e\u3067F-Droid\u3068Google Play\u306e\u30a2\u30d7\u30ea\u306f\u6df7\u5728\u3055\u305b\u3066\u306f\u3044\u3051\u306a\u3044\u3089\u3057\u3044\u306e\u3067\u6ce8\u610f\uff0e<\/p>\n<h3>\u8981\u4ef6<\/h3>\n<blockquote>\n<p>Android 5.0 or newer.<\/p>\n<\/blockquote>\n<h3>Permissions<\/h3>\n<blockquote>\n<p>Permissions<br \/>\nandroid.permission.INTERNET<br \/>\nandroid.permission.WRITE_EXTERNAL_STORAGE<br \/>\nandroid.permission.WAKE_LOCK<br \/>\nandroid.permission.VIBRATE<br \/>\nandroid.permission.READ_EXTERNAL_STORAGE<\/p>\n<\/blockquote>\n<h3>api pkg\u5c0e\u5165<\/h3>\n<p>Termux\u4e0a\u3067\u5b9f\u884c<\/p>\n<pre><code class='language-shell' lang='shell'>$ pkg install termux-api\r\n<\/code><\/pre>\n<h2>API\u3092\u8a66\u3059<\/h2>\n<p>\u306f\u3058\u3081Termux:API\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e<\/p>\n<ul>\n<li><a href='https:\/\/termux.com\/add-on-api.html' title='Termux:API add-on'>Termux:API add-on<\/a><\/li>\n<\/ul>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b\u3068\u4ed6\u306b\u3082\u30b3\u30de\u30f3\u30c9\u304c\u3042\u3063\u305f\u306e\u3067\u305d\u3061\u3089\u3082\u78ba\u8a8d\u3057\u76f4\u3057\u307e\u3057\u305f\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>dpkg -L termux-api|grep \/bin\/|cut -d\\\/ -f8|sort\r\ntermux-audio-info\r\ntermux-battery-status\r\ntermux-brightness\r\ntermux-call-log\r\ntermux-camera-info\r\ntermux-camera-photo\r\ntermux-clipboard-get\r\ntermux-clipboard-set\r\ntermux-contact-list\r\ntermux-dialog\r\ntermux-download\r\ntermux-fingerprint\r\ntermux-infrared-frequencies\r\ntermux-infrared-transmit\r\ntermux-location\r\ntermux-media-player\r\ntermux-media-scan\r\ntermux-microphone-record\r\ntermux-notification\r\ntermux-notification-remove\r\ntermux-sensor\r\ntermux-share\r\ntermux-sms-inbox\r\ntermux-sms-send\r\ntermux-speech-to-text\r\ntermux-storage-get\r\ntermux-telephony-call\r\ntermux-telephony-cellinfo\r\ntermux-telephony-deviceinfo\r\ntermux-toast\r\ntermux-torch\r\ntermux-tts-engines\r\ntermux-tts-speak\r\ntermux-vibrate\r\ntermux-volume\r\ntermux-wallpaper\r\ntermux-wifi-connectioninfo\r\ntermux-wifi-enable\r\ntermux-wifi-scaninfo\r\n<\/code><\/pre>\n<p>\u57fa\u672c\u7684\u306bjson\u5f62\u5f0f\u3067\u7d50\u679c\u306f\u5e30\u3063\u3066\u6765\u307e\u3059\uff0e\u4f7f\u3044\u65b9\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u306f<code><span style='font-family:Merriweather, \"PT Serif\", Georgia, \"Times New Roman\", STSong, serif'>-<\/span>h<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u7c21\u6613help\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u6c42\u3081\u3089\u308c\u308b\u5834\u5408\u306f\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u8a31\u53ef\u3057\u3066\u3042\u3052\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e(\u305d\u306e\u56de\u306f\u5931\u6557\u3059\u308b)<\/p>\n<p>SIM\u3084\u8d64\u5916\u7dda\u901a\u4fe1\u306e\u4f7f\u3048\u308bAndroid 5\u4ee5\u4e0a\u306e\u7aef\u672b\u304c\u624b\u5143\u306b\u306a\u3044\u306e\u3067\u305d\u306e\u8fba\u308a\u306e\u7269\u306f\u8a66\u305b\u3066\u307e\u305b\u3093\uff0e<\/p>\n<ul>\n<li>\n<p>termux-audio-info<\/p>\n<p>\u30aa\u30fc\u30c7\u30a3\u30aa\u60c5\u5831\u306e\u53d6\u5f97<\/p>\n<pre><code class='language-shell' lang='shell'>  $ termux-audio-info -h\r\n  Usage: termux-audio-info\r\n  Get information about audio capabilities.\r\n  $ termux-audio-info  \r\n  {\r\n    &quot;PROPERTY_OUTPUT_SAMPLE_RATE&quot;: &quot;48000&quot;,\r\n    &quot;PROPERTY_OUTPUT_FRAMES_PER_BUFFER&quot;: &quot;960&quot;,\r\n    &quot;STREAM_MUSIC_VOLUME&quot;: 1,\r\n    &quot;STREAM_MUSIC_MAXVOLUME&quot;: 15,\r\n    &quot;BLUETOOTH_A2DP_IS_ON&quot;: false,\r\n    &quot;WIREDHEADSET_IS_CONNECTED&quot;: false,\r\n    &quot;AUDIOTRACK_NATIVE_OUTPUT_SAMPLE_RATE&quot;: 48000\r\n  }\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-battery-status<\/p>\n<p>\u30d0\u30c3\u30c6\u30ea\u30fc\u60c5\u5831\u306e\u53d6\u5f97<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-battery-status -h\r\nUsage: termux-battery-status\r\nGet the status of the device battery.\r\n$ termux-battery-status\r\n{\r\n  &quot;health&quot;: &quot;GOOD&quot;,\r\n  &quot;percentage&quot;: 70,\r\n  &quot;plugged&quot;: &quot;PLUGGED_USB&quot;,\r\n  &quot;status&quot;: &quot;CHARGING&quot;,\r\n  &quot;temperature&quot;: 36.900001525878906\r\n}\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-brightness<\/p>\n<p>\u8f1d\u5ea6\u306e\u8abf\u6574?0\u3084255\u3092\u6307\u5b9a\u3057\u3066\u3082\u52d5\u4f5c\u304c\u89e3\u3089\u306a\u304b\u3063\u305f<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-brightness\r\nUsage: termux-brightness brightness\r\nSet the screen brightness between 0 and 255\r\n$ termux-brightness 0\r\n$ termux-brightness 255\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-call-log<\/p>\n<p>\u901a\u8a71\u5c65\u6b74\u306e\u53d6\u5f97<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-call-log -h\r\nUsage: termux-call-log [-d] [-l limit] [-o offset]\r\nList call log history\r\n  -l limit   offset in call log list (default: 10)\r\n  -o offset  offset in call log list (default: 0)\r\n$ termux-call-log\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-camera-info<\/p>\n<p>\u30ab\u30e1\u30e9\u60c5\u5831\u304c\u53d6\u5f97\u3067\u304d\u308b\uff0e\u30ab\u30e1\u30e9ID\u3084\u89e3\u50cf\u5ea6\u306a\u3069\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-camera-info -h\r\nUsage: termux-camera-info\r\nGet information about device camera(s).\r\n$ termux-camera-info\r\n[\r\n  {\r\n    &quot;id&quot;: &quot;0&quot;,\r\n    &quot;facing&quot;: &quot;back&quot;,\r\n    &quot;jpeg_output_sizes&quot;: [\r\n      {\r\n        &quot;width&quot;: 5248,\r\n        &quot;height&quot;: 3936\r\n      },\r\n      {\r\n        &quot;width&quot;: 5248,\r\n        &quot;height&quot;: 2952\r\n      },\r\n      {\r\n        &quot;width&quot;: 3840,\r\n        &quot;height&quot;: 2160\r\n      },\r\n      {\r\n        &quot;width&quot;: 3264,\r\n        &quot;height&quot;: 2448\r\n      },\r\n      {\r\n        &quot;width&quot;: 2048,\r\n        &quot;height&quot;: 1536\r\n      },\r\n      {\r\n        &quot;width&quot;: 1920,\r\n        &quot;height&quot;: 1080\r\n      },\r\n      {\r\n        &quot;width&quot;: 1280,\r\n        &quot;height&quot;: 720\r\n      },\r\n      {\r\n        &quot;width&quot;: 640,\r\n        &quot;height&quot;: 480\r\n      },\r\n      {\r\n        &quot;width&quot;: 480,\r\n        &quot;height&quot;: 320\r\n      },\r\n      {\r\n        &quot;width&quot;: 320,\r\n        &quot;height&quot;: 240\r\n      }\r\n    ],\r\n    &quot;focal_lengths&quot;: [\r\n      4.900000095367432\r\n    ],\r\n    &quot;auto_exposure_modes&quot;: [\r\n      &quot;CONTROL_AE_MODE_ON&quot;,\r\n      &quot;CONTROL_AE_MODE_ON_AUTO_FLASH&quot;,\r\n      &quot;CONTROL_AE_MODE_ON_ALWAYS_FLASH&quot;,\r\n      &quot;CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE&quot;\r\n    ],\r\n    &quot;physical_size&quot;: {\r\n      &quot;width&quot;: 6.219269752502441,\r\n      &quot;height&quot;: 4.663866996765137\r\n    },\r\n    &quot;capabilities&quot;: [\r\n      &quot;backward_compatible&quot;\r\n    ]\r\n  },\r\n  {\r\n    &quot;id&quot;: &quot;1&quot;,\r\n    &quot;facing&quot;: &quot;front&quot;,\r\n    &quot;jpeg_output_sizes&quot;: [\r\n      {\r\n        &quot;width&quot;: 1920,\r\n        &quot;height&quot;: 1080\r\n      },\r\n      {\r\n        &quot;width&quot;: 1600,\r\n        &quot;height&quot;: 1200\r\n      },\r\n      {\r\n        &quot;width&quot;: 1280,\r\n        &quot;height&quot;: 720\r\n      },\r\n      {\r\n        &quot;width&quot;: 640,\r\n        &quot;height&quot;: 480\r\n      },\r\n      {\r\n        &quot;width&quot;: 480,\r\n        &quot;height&quot;: 320\r\n      },\r\n      {\r\n        &quot;width&quot;: 320,\r\n        &quot;height&quot;: 240\r\n      }\r\n    ],\r\n    &quot;focal_lengths&quot;: [\r\n      1.809999942779541\r\n    ],\r\n    &quot;auto_exposure_modes&quot;: [\r\n      &quot;CONTROL_AE_MODE_ON&quot;\r\n    ],\r\n    &quot;physical_size&quot;: {\r\n      &quot;width&quot;: 2.1837236881256104,\r\n      &quot;height&quot;: 1.2063192129135132\r\n    },\r\n    &quot;capabilities&quot;: [\r\n      &quot;backward_compatible&quot;\r\n    ]\r\n  }\r\n]\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-camera-photo<\/p>\n<p>\u30ab\u30e1\u30e9\u3092\u4f7f\u3063\u3066\u5199\u771f\u64ae\u5f71\u304c\u51fa\u6765\u308b\uff0e\u5f15\u6570\u306b\u30ab\u30e1\u30e9ID(option)\u3084\u5199\u771f\u30d5\u30a1\u30a4\u30eb\u540d(\u5fc5\u9808)\u304c\u6307\u5b9a\u3067\u304d\u308b\uff0e\u5199\u771f\u306fJPEG\u5f62\u5f0f<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-camera-photo -h\r\n\r\nUsage: termux-camera-photo [-c camera-id] output-file\r\nTake a photo and save it to a file in JPEG format.\r\n  -c camera-id  ID of the camera to use (see termux-camera-info), default: 0\r\n$ termux-camera-photo termix_photo.jpg\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-clipboard-get<\/p>\n<p>\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u6587\u5b57\u5217\u3092\u53d6\u5f97<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-clipboard-get -h\r\nUsage: termux-clipboard-get\r\nGet the system clipboard text.\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-clipboard-set<\/p>\n<p>\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u6587\u5b57\u5217\u3092\u683c\u7d0d<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-clipboard-set -h\r\nUsage: termux-clipboard-set [text]\r\nSet the system clipboard text. The text to set is either supplied as arguments or read from stdin if no arguments are given.\r\n$ termux-clipboard-set hello\r\n$ termux-clipboard-get\r\nhello\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-contact-list<\/p>\n<p>\u5168\u3066\u306e\u30b3\u30f3\u30bf\u30af\u30c8\u30ea\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u308b<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-contact-list -h\r\nUsage: termux-contact-list\r\nList all contacts.\r\n$ termux-contact-list\r\n[\r\n  {\r\n    &quot;name&quot;: &quot;MATOHARA Kenichiro&quot;,\r\n    &quot;number&quot;: &quot;0X0-XXXX-XXXX&quot;\r\n  },\r\n     :\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-dialog<\/p>\n<p>\u30c0\u30a4\u30e4\u30ed\u30b0\u3092\u8868\u793a\u3057\u3066\u305d\u306e\u7d50\u679c\u3092\u53d6\u5f97\u3067\u304d\u308b\uff0e\u30d1\u30b9\u30ef\u30fc\u30c9\u6587\u5b57\u5217\u306a\u3069\u306e\u6307\u5b9a\u3082\u53ef\u80fd\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-dialog -h\r\nUsage: termux-dialog [-i hint] [-m] [-p] [-t title]\r\nShow a text entry dialog.\r\n  -i hint   the input hint to show when the input is empty\r\n  -m        use a textarea with multiple lines instead of a single\r\n  -p        enter the input as a password\r\n  -t title  the title to show for the input prompt\r\n<\/code><\/pre>\n<pre><code class='language-shell' lang='shell'>$ echo `termux-dialog`\r\nhoge\r\n<\/code><\/pre>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/119142834@N05\/41109978760\/in\/dateposted\/\" title=\"28037547727_edb2027c2c_o\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm2.staticflickr.com\/1825\/41109978760_3bcb1583ef.jpg\" width=\"500\" height=\"218\" alt=\"28037547727_edb2027c2c_o\"\/><\/a><\/p>\n<pre><code class='language-shell' lang='shell'>$ echo `termux-dialog -i hint -m -t termux\\ dialog`|od -xc\r\n0000000   h   o   g   e       f   u   g   a  \\n\r\n        6f68 6567 6620 6775 0a61\r\n0000012\r\n<\/code><\/pre>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/119142834@N05\/42201708964\/in\/photostream\/\" title=\"28037548487_5ff4a35999_o\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm2.staticflickr.com\/1761\/42201708964_12496fe245.jpg\" width=\"449\" height=\"500\" alt=\"28037548487_5ff4a35999_o\"\/><\/a><\/p>\n<pre><code class='language-shell' lang='shell'>$ echo `termux-dialog -p`\r\npasswordddd\r\n<\/code><\/pre>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/119142834@N05\/41109978270\/in\/photostream\/\" title=\"42188267074_de542c5ee6_o\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm1.staticflickr.com\/892\/41109978270_1690b81182.jpg\" width=\"500\" height=\"225\" alt=\"42188267074_de542c5ee6_o\"\/><\/a><\/p>\n<\/li>\n<li>\n<p>termux-download<\/p>\n<p>\u6307\u5b9a\u3057\u305fURL\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u51fa\u6765\u308b\uff0eAndroid\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30a2\u30d7\u30ea\u306b\u6e21\u3055\u308c\u308b\uff0e(\u5358\u306b\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u306a\u3089wget\u304c\u5165\u3063\u3066\u3044\u308b)<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-download -h\r\nUsage: termux-download [-d description] [-t title] url-to-download\r\nDownload a resource using the system download manager.\r\n  -d description  description for the download request notification\r\n  -t title        title for the download request notification\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-fingerprint<\/p>\n<p>\u6307\u7d0b\u8a8d\u8a3c\u3092\u884c\u3046?(\u672a\u78ba\u8a8d)<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-fingerprint -h\r\nUsage: termux-fingerprint\r\nUse fingerprint sensor on device to check for authentication\r\nNOTE: Only available on Marshmallow and later\r\n$ termux-fingerprint\r\n{\r\n  &quot;errors&quot;: [\r\n    &quot;ERROR_UNSUPPORTED_OS_VERSION&quot;\r\n  ],\r\n  &quot;failed_attempts&quot;: 0,\r\n  &quot;auth_result&quot;: &quot;AUTH_RESULT_UNKNOWN&quot;\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-infrared-frequencies<\/p>\n<p>\u8d64\u5916\u7dda\u901a\u4fe1\u60c5\u5831\u3092\u53d6\u5f97?(\u672a\u78ba\u8a8d)<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-infrared-frequencies -h\r\nUsage: termux-infrared-frequencies\r\nQuery the infrared transmitter&#39;s supported carrier frequencies.\r\n$ termux-infrared-frequencies\r\n[]\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-infrared-transmit<\/p>\n<p>\u8d64\u5916\u901a\u4fe1\u3067\u9001\u4fe1\u3059\u308b?(\u672a\u78ba\u8a8d)<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-infrared-transmit -h\r\nUsage: termux-infrared-transmit -f frequency pattern\r\nTransmit an infrared pattern. The pattern is specified in comma-separated on\/off intervals, such as &#39;20,50,20,30&#39;. Only patterns shorter than 2 seconds will be transmitted.\r\n  -f frequency  IR carrier frequency in Hertz\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-location<\/p>\n<p>\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\uff0eGPS\u3092\u5229\u7528\u3059\u308b\u3068\u6642\u9593\u304c\u639b\u304b\u308b\uff0e\u4f4d\u7f6e\u60c5\u5831\u304c\u53d6\u5f97\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u5f8c\u4f55\u3082\u5e30\u3063\u3066\u3053\u306a\u3044\uff0e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306f65\u79d2\u524d\u5f8c\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-location -h\r\nusage: termux-location [-p provider] [-r request]\r\nGet the device location.\r\n  -p provider  location provider [gps\/network\/passive] (default: gps)\r\n  -r request   kind of request to make [once\/last\/updates] (default: once)\r\n$ termux-location -p gps\r\n$ termux-location -p network  \r\n{\r\n  &quot;latitude&quot;: 31.2529767,\r\n  &quot;longitude&quot;: 130.8509959,\r\n  &quot;altitude&quot;: 0.0,\r\n  &quot;accuracy&quot;: 19.31999969482422,\r\n  &quot;bearing&quot;: 0.0,\r\n  &quot;speed&quot;: 0.0,\r\n  &quot;elapsedMs&quot;: 39,\r\n  &quot;provider&quot;: &quot;network&quot;\r\n}\r\n$ termux-location -p passive\r\n{\r\n  &quot;latitude&quot;: 34.77000045776367,\r\n  &quot;longitude&quot;: 138.4600067138672,\r\n  &quot;altitude&quot;: 0.0,\r\n  &quot;accuracy&quot;: 976974.0625,\r\n  &quot;bearing&quot;: 81.0,\r\n  &quot;speed&quot;: 0.0,\r\n  &quot;elapsedMs&quot;: 5,\r\n  &quot;provider&quot;: &quot;fused&quot;\r\n}\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-media-player<br \/>\n\u30e1\u30c7\u30a3\u30a2\u306e\u518d\u751f\uff0c\u64cd\u4f5c<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-media-player -h\r\ntermux-media-player: Invalid cmd: &#39;-h&#39;\r\nUsage: termux-media-player cmd [args]\r\n\r\nhelp        Shows this help\r\ninfo        Displays current playback information\r\nplay        Resumes playback if paused\r\nplay &lt;file&gt; Plays specified media file\r\npause       Pauses playback\r\nstop        Quits playback\r\n$ termux-media-player play \r\nNo previous track to resume!\r\nPlease supply a new media file\r\n$ termux-media-player play \/storage\/sdcard1\/Android\/data\/com.bambuna.podcastaddict\/files\/podcast\/\u30a8\u30c3\u30b8\u306e\u305f\u305f\u306a\u3044\u30dd\u30c3\u30c9\u30ad\u30e3\u30b9\u30c8\/MzoRbgzFVe_3248.mp3\r\nNow Playing: MzoRbgzFVe_3248.mp3\r\n$ termux-media-player pause\r\nPaused playback\r\n$ termux-media-player play\r\nResumed playback\r\nTrack: MzoRbgzFVe_3248.mp3\r\nCurrent Position: 00:27 \/ 13:39\r\n$ termux-media-player info  \r\nStatus: Playing\r\nTrack: MzoRbgzFVe_3248.mp3\r\nCurrent Position: 01:10 \/ 13:39\r\n$ termux-media-player info\r\nNo track currently!\r\n$ termux-media-player play photo.jpg\r\n\r\nPrepare failed.: status=0x1\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-media-scan<\/p>\n<p>\u30e1\u30c7\u30a3\u30a2\u3092\u30b9\u30ad\u30e3\u30f3\u3059\u308b?<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-media-scan -h\r\nUsage: termux-media-scan [-v] [-r] file [file...]\r\nScan the specified file(s) and add it to the media content provider.\r\n  -r  scan directories recursively\r\n  -v  verbose mode\r\n$ termux-media-scan -r \/storage\/sdcard1\/Android\/data\/com.bambuna.podcastaddict\/files\/podcast\/\u30a8\u30c3\u30b8\u306e\u305f\u305f\u306a\u3044\u30dd\u30c3\u30c9\u30ad\u30e3\u30b9\u30c8\r\nFinished scanning 2 file(s)\r\n$ termux-media-scan -r -v \/storage\/sdcard1\/Android\/data\/com.bambuna.podcastaddict\/files\/podcast\/\u30a8\u30c3\u30b8\u306e\u305f\u305f\u306a\u3044\u30dd\u30c3\u30c9\u30ad\u30e3\u30b9\u30c8\r\n\/storage\/sdcard1\/Android\/data\/com.bambuna.podcastaddict\/files\/podcast\/\u30a8\u30c3\u30b8\u306e\u305f\u305f\u306a\u3044\u30dd\u30c3\u30c9\u30ad\u30e3\u30b9\u30c8\r\n\/storage\/sdcard1\/Android\/data\/com.bambuna.podcastaddict\/files\/podcast\/\u30a8\u30c3\u30b8\u306e\u305f\u305f\u306a\u3044\u30dd\u30c3\u30c9\u30ad\u30e3\u30b9\u30c8\/MzoRbgzFVe_3248.mp3\r\nFinished scanning 2 file(s)\r\n$ termux-media-player info\r\nNo track currently!\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-microphone-record<\/p>\n<p>\u9332\u97f3\u3092\u3059\u308b\uff0e\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u306f<code>3GPP<\/code>\u306e\u3088\u3046<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-microphone-record -h\r\nUsage: termux-microphone-record [args]\r\nRecord using microphone on your device\r\n\r\n-h           Shows this help\r\n-d           Start recording w\/ defaults\r\n-f &lt;file&gt;    Start recording to specific file\r\n-l &lt;limit&gt;   Start recording w\/ specified limit (in seconds)\r\n-i           Get info about current recording\r\n-q           Quits recording\r\n$ termux-microphone-record -d -f termux-record.mp3 -l 10\r\nRecording started: \/data\/data\/com.termux\/files\/home\/termux-record \r\nMax Duration: 00:10\r\n$ termux-microphone-record -i\r\n{\r\n  &quot;isRecording&quot;: true,\r\n  &quot;outputFile&quot;: &quot;\\\/data\\\/data\\\/com.termux\\\/files\\\/home\\\/termux-record&quot;\r\n}\r\n$ termux-microphone-record -i\r\n{\r\n  &quot;isRecording&quot;: false\r\n}\r\nfile .\/termux-record\r\n.\/termux-record: ISO Media, MPEG v4 system, 3GPP\r\n$ mv .\/termux-record .\/termux-record.3gpp\r\n$ termux-media-player play .\/termux-record.3gpp\r\nNow Playing: termux-record.3gpp\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-notification<\/p>\n<p>\u901a\u77e5\u3092\u51fa\u529b\u3059\u308b\uff0e\u30bf\u30a4\u30c8\u30eb\uff0c\u30e1\u30c3\u30bb\u30fc\u30b8\u4ee5\u5916\u306b\u3082\u30d0\u30a4\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u3084\u30b5\u30a6\u30f3\u30c9\uff0cLED\u306a\u3069\u3082\u64cd\u4f5c\u3067\u304d\u308b\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-notification -h\r\nUsage: termux-notification [options]\r\nDisplay a system notification. Context text is read from stdin or specified using --content.\r\n  --action action          action to execute when pressing the notification\r\n  --button1 text           text to show on the first notification button\r\n  --button1-action action  action to execute on the first notification button\r\n  --button2 text           text to show on the second notification button\r\n  --button2-action action  action to execute on the second notification button\r\n  --button3 text           text to show on the third notification button\r\n  --button3-action action  action to execute on the third notification button\r\n  --content content        content to show in the notification. Read from stdin not specified here.\r\n  --id id                  notification id (will overwrite any previous notification with the same id)\r\n  --led-color rrggbb       color of the blinking led as RRGGBB (default: none)\r\n  --led-on milliseconds    number of milliseconds for the LED to be on while it&#39;s flashing (default: 800)\r\n  --led-off milliseconds   number of milliseconds for the LED to be off while it&#39;s flashing (default: 800)\r\n  --on-delete action       action to execute when the the notification is cleared\r\n  --priority prio          notification priority (high\/low\/max\/min\/default)\r\n  --sound                  play a sound with the notification\r\n  --title title            notification title to show\r\n  --vibrate pattern        vibrate pattern, comma separated as in 500,1000,200\r\n$ termux-notification --title hoge --content fuga\r\n<\/code><\/pre>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/119142834@N05\/29049890358\/in\/dateposted\/\" title=\"Screenshot_2018-06-21-00-54-59\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm2.staticflickr.com\/1765\/29049890358_fdab3feec6.jpg\" width=\"500\" height=\"94\" alt=\"Screenshot_2018-06-21-00-54-59\"\/><\/a><\/p>\n<\/li>\n<li>\n<p>termux-notification-remove<\/p>\n<p><code>termux<span style='font-family:Merriweather, \"PT Serif\", Georgia, \"Times New Roman\", STSong, serif'>-<\/span>notification <span style='font-family:Merriweather, \"PT Serif\", Georgia, \"Times New Roman\", STSong, serif'>-<\/span>id<\/code>\u3067\u6307\u5b9a\u3057\u305fid\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u524a\u9664\u3059\u308b\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-notification-remove -h\r\nUsage: termux-notification-remove notification-id\r\nRemove a notification previously shown with termux-notification --id.\r\n$ termux-notification --content hoge --id tm01\r\n$ termux-notification-remove tm01\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-sensor<\/p>\n<p>\u30bb\u30f3\u30b5\u30fc\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\uff0e\u30bb\u30f3\u30b5\u30fc\u306e\u5024\u306f\u5b9a\u671f\u7684\u306b\u8868\u793a\u3055\u308c\u308b(\u65e2\u5b9a\u5024\u306f\u591a\u52061\u79d2\u9593\u9694)<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-sensor -h\r\nUsage: termux-sensor\r\nGet information about types of sensors as well as live data\r\n  -h, help           Show this help\r\n  -a, all            Listen to all sensors (WARNING! may have battery impact)\r\n  -c, cleanup        Perform cleanup (release sensor resources)\r\n  -l, list           Show list of available sensors\r\n  -s, sensors [,,,]  Sensors to listen to (can contain just partial name)\r\n  -d, delay [ms]     Delay time in milliseconds before receiving new sensor update\r\n$ termux-sensor -l\r\n{\r\n  &quot;sensors&quot;: [\r\n    &quot;BMA2X2 Accelerometer\\\/Temperature\\\/Double-tap&quot;,\r\n    &quot;AK8963 Magnetometer&quot;,\r\n    &quot;AK8963 Magnetometer Uncalibrated&quot;,\r\n    &quot;BMG160 Gyroscope&quot;,\r\n    &quot;BMG160 Gyroscope Uncalibrated&quot;,\r\n    &quot;APDS-9930\\\/QPDS-T930 Proximity &amp; Light&quot;,\r\n    &quot;APDS-9930\\\/QPDS-T930 Proximity &amp; Light&quot;,\r\n    &quot;Gravity&quot;,\r\n    &quot;Linear Acceleration&quot;,\r\n    &quot;Rotation Vector&quot;,\r\n    &quot;Step Detector&quot;,\r\n    &quot;Step Counter&quot;,\r\n    &quot;Significant Motion Detector&quot;,\r\n    &quot;Game Rotation Vector&quot;,\r\n    &quot;GeoMagnetic Rotation Vector&quot;,\r\n    &quot;Orientation&quot;\r\n  ]\r\n}\r\n$ termux-sensor -s &quot;BMA2X2 Accelerometer\\\/Temperature\\\/Double-tap&quot;\r\nNo valid sensors were registered!\r\n$ termux-sensor -s &quot;AK8963 Magnetometer&quot;\r\n{\r\n  &quot;AK8963 Magnetometer&quot;: {\r\n    &quot;values&quot;: [\r\n      -11.248207092285156,\r\n      -37.157630920410156,\r\n      23.89850616455078\r\n    ]\r\n  }\r\n}\r\n{\r\n  &quot;AK8963 Magnetometer&quot;: {\r\n    &quot;values&quot;: [\r\n      16.16058349609375,\r\n      -33.7738037109375,\r\n      -13.971900939941406\r\n    ]\r\n  }\r\n}\r\n{\r\n  &quot;AK8963 Magnetometer&quot;: {\r\n    &quot;values&quot;: [\r\n      3.6207199096679688,\r\n      -38.532447814941406,\r\n      -17.789649963378906\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;AK8963 Magnetometer Uncalibrated&quot;\r\n{\r\n  &quot;AK8963 Magnetometer Uncalibrated&quot;: {\r\n    &quot;values&quot;: [\r\n      -18.68438720703125,\r\n      -71.844482421875,\r\n      195.37200927734375,\r\n      -26.05126953125,\r\n      -30.462646484375,\r\n      221.81549072265625\r\n    ]\r\n  }\r\n}\r\n{\r\n  &quot;AK8963 Magnetometer Uncalibrated&quot;: {\r\n    &quot;values&quot;: [\r\n      -18.6492919921875,\r\n      -70.87860107421875,\r\n      196.197509765625,\r\n      -26.05126953125,\r\n      -30.462646484375,\r\n      221.81549072265625\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;BMG160 Gyroscope&quot;\r\n{\r\n  &quot;BMG160 Gyroscope&quot;: {\r\n    &quot;values&quot;: [\r\n      8.544921875E-4,\r\n      8.087158203125E-4,\r\n      8.544921875E-4\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;BMG160 Gyroscope Uncalibrated&quot;\r\n{\r\n  &quot;BMG160 Gyroscope Uncalibrated&quot;: {\r\n    &quot;values&quot;: [\r\n      -0.006317138671875,\r\n      0.002044677734375,\r\n      0,\r\n      -0.006103517021983862,\r\n      0.0012359619140625,\r\n      -8.544921875E-4\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;APDS-9930\\\/QPDS-T930 Proximity &amp; Light&quot;\r\nNo valid sensors were registered!\r\n$ termux-sensor -s &quot;Gravity&quot;\r\n{\r\n  &quot;Gravity&quot;: {\r\n    &quot;values&quot;: [\r\n      1.4136531352996826,\r\n      -1.045373558998108,\r\n      9.647754669189453\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;Linear Acceleration&quot;\r\n{\r\n  &quot;Linear Acceleration&quot;: {\r\n    &quot;values&quot;: [\r\n      -0.0018668174743652344,\r\n      0.005246162414550781,\r\n      0.001544952392578125\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;Rotation Vector&quot;\r\n{\r\n  &quot;Rotation Vector&quot;: {\r\n    &quot;values&quot;: [\r\n      0.07332251220941544,\r\n      -0.0574394166469574,\r\n      0.9877411723136902,\r\n      0.12526708841323853,\r\n      0.1745329201221466\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;Step Detector&quot;\r\n{}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;Step Counter&quot;\r\n{\r\n  &quot;Step Counter&quot;: {\r\n    &quot;values&quot;: [\r\n      0\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;Significant Motion Detector&quot;\r\n{}\r\n{}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;Game Rotation Vector&quot;\r\n{\r\n  &quot;Game Rotation Vector&quot;: {\r\n    &quot;values&quot;: [\r\n      -0.04727154225111008,\r\n      -0.08051935583353043,\r\n      0.005690218415111303,\r\n      0.9956152439117432\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;GeoMagnetic Rotation Vector&quot;\r\n{\r\n  &quot;GeoMagnetic Rotation Vector&quot;: {\r\n    &quot;values&quot;: [\r\n      0.07260913401842117,\r\n      -0.05879773199558258,\r\n      0.9851652383804321,\r\n      0.14394499361515045,\r\n      0.1745329201221466\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n$ termux-sensor -s &quot;Orientation&quot;\r\n{\r\n  &quot;Orientation&quot;: {\r\n    &quot;values&quot;: [\r\n      194.80770874023438,\r\n      5.517017364501953,\r\n      9.214399337768555\r\n    ]\r\n  }\r\n}\r\n^CCaught interrupt.. Finishing...\r\nPerforming sensor cleanup\r\nSensor cleanup successful!\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-share<\/p>\n<p>\u5f15\u6570\u306b\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3059\u308b\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-share -h\r\nUsage: termux-share [-a action] [-c content-type] [-d] [-t title] [file]\r\nShare a file specified as argument or the text received on stdin if no file argument is given.\r\n  -a action        which action to performed on the shared content:\r\n                     edit\/send\/view (default:view)\r\n  -c content-type  content-type to use (default: guessed from file extension,\r\n                     text\/plain for stdin)\r\n  -d               share to the default receiver if one is selected\r\n                     instead of showing a chooser\r\n  -t title         title to use for shared content (default: shared file name)\r\n$ termux-share photo.jpg \r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-sms-inbox<\/p>\n<p>\u53d7\u4fe1\u6e08\u306eSMS\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\uff0e(\u672a\u78ba\u8a8d\uff0eSIM\u306a\u3057\u7aef\u672b\u3067\u8a66\u3057\u305f\u30890\u4ef6\u8868\u793a\u3055\u308c\u305f)<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-sms-inbox -h\r\nUsage: termux-sms-inbox [-d] [-l limit] [-n] [-o offset]\r\nList received SMS messages.\r\n  -d         show dates when messages were created\r\n  -l limit   offset in sms list (default: 10)\r\n  -n         show phone numbers\r\n  -o offset  offset in sms list (default: 0)\r\n$ termux-sms-inbox\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-sms-send<\/p>\n<p>sms\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3059\u308b\uff0e(\u672a\u78ba\u8a8d)<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-sms-send -h\r\nUsage: termux-sms-send -n number[,number2,number3,...] [text]\r\nSend a SMS message to the specified recipient number(s). The text to send is either supplied as arguments or read from stdin if no arguments are given.\r\n  -n number(s)  recipient number(s) - separate multiple numbers by commas\r\n$ termux-sms-send -n \u96fb\u8a71\u756a\u53f7 message\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-speech-to-text<\/p>\n<p>\u97f3\u58f0\u8a8d\u8b58\u3057\u305f\u7d50\u679c\u3092\u8868\u793a\u3059\u308b\uff0e\u7aef\u672b\u4e0a\u3067\u306f\u7a7a\u884c\u3057\u304b\u898b\u3048\u306a\u3044\u304cod\u306b\u6d41\u3059\u3068\u6587\u5b57\u5217\u304c\u5e30\u3063\u3066\u3044\u308b\u306e\u304c\u89e3\u308b\uff0e\u591a\u5206\u82f1\u8a9e\u306e\u307f?<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-speech-to-text -h\r\nUsage: termux-speech-to-text\r\nConverts speech to text, sending partial matches to stdout.\r\n$ termux-speech-to-text\r\n\r\n\r\n\r\n\r\n\r\n$ termux-speech-to-text|od -xc\r\n0000000  \\n  \\n  \\n   H   u   d   l  \\n\r\n        0a0a 480a 6475 0a6c\r\n0000010\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-storage-get<\/p>\n<p>\u30b7\u30b9\u30c6\u30e0\u306b\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u6e21\u3057\u3066\u958b\u304f?\u53cd\u5fdc\u304c\u306a\u3044\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-storage-get -h\r\nUsage: termux-storage-get output-file\r\nRequest a file from the system and output it to the specified file.\r\n$ termux-storage-get photo.jpg \r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-telephony-call<\/p>\n<p>\u6307\u5b9a\u3057\u305f\u756a\u53f7\u306b\u96fb\u8a71\u3092\u639b\u3051\u308b(mobile\u56de\u7dda\u306f\u672a\u78ba\u8a8d\u3060\u304c\uff0c\u96fb\u8a71\u306e\u307f\u3067\u3082\u30a2\u30d7\u30ea\u9078\u629e\u753b\u9762\u306b\u306f\u306a\u308b\u306e\u3067Wi-Fi\u306e\u307f\u3067\u3082SIP\u306a\u3069\u3067\u96fb\u8a71\u3059\u308b\u3053\u3068\u306f\u591a\u5206\u53ef\u80fd)<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-telephony-call -h\r\nUsage: termux-telephony-call &lt;number&gt;\r\nCall a telephony number.\r\n$ termux-telephony-call \u96fb\u8a71\u756a\u53f7\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-telephony-cellinfo<\/p>\n<p>\u96fb\u8a71\u57fa\u5730\u5c40\u60c5\u5831\u3092\u53d6\u5f97?<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-telephony-cellinfo -h\r\nUsage: termux-telephony-cellinfo\r\nGet information about all observed cell information from all radios on the device including the primary and neighboring cells.\r\n$ termux-telephony-cellinfo\r\n[\r\n  {\r\n    &quot;type&quot;: &quot;wcdma&quot;,\r\n    &quot;registered&quot;: true,\r\n    &quot;asu&quot;: 6,\r\n    &quot;dbm&quot;: -101,\r\n    &quot;level&quot;: 2,\r\n    &quot;cid&quot;: 249053510,\r\n    &quot;lac&quot;: 25994,\r\n    &quot;mcc&quot;: 440,\r\n    &quot;mnc&quot;: 10,\r\n    &quot;psc&quot;: 33\r\n  }\r\n]\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<\/li>\n<li>\n<p>termux-telephony-deviceinfo<\/p>\n<p>\u30c6\u30ec\u30d5\u30a9\u30cb\u30fc\u30c7\u30d0\u30a4\u30b9\u60c5\u5831\u3092\u53d6\u5f97?<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-telephony-deviceinfo -h\r\nUsage: termux-telephony-deviceinfo\r\nGet information about the telephony device.\r\n$ termux-telephony-deviceinfo\r\n{\r\n  &quot;data_activity&quot;: &quot;none&quot;,\r\n  &quot;data_state&quot;: &quot;disconnected&quot;,\r\n  &quot;device_id&quot;: &quot;357931051XXXXXXX&quot;,\r\n  &quot;device_software_version&quot;: &quot;81&quot;,\r\n  &quot;phone_type&quot;: &quot;gsm&quot;,\r\n  &quot;network_operator&quot;: &quot;&quot;,\r\n  &quot;network_operator_name&quot;: &quot;&quot;,\r\n  &quot;network_country_iso&quot;: &quot;&quot;,\r\n  &quot;network_type&quot;: &quot;unknown&quot;,\r\n  &quot;network_roaming&quot;: false,\r\n  &quot;sim_country_iso&quot;: &quot;&quot;,\r\n  &quot;sim_operator&quot;: &quot;&quot;,\r\n  &quot;sim_operator_name&quot;: &quot;&quot;,\r\n  &quot;sim_serial_number&quot;: null,\r\n  &quot;sim_subscriber_id&quot;: null,\r\n  &quot;sim_state&quot;: &quot;absent&quot;\r\n}\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-toast<\/p>\n<p>Toast(\u4e00\u6642\u7684\u306a\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7)\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-toast -h\r\nUsage: termux-toast [-s] [text]\r\nShow text in a Toast (a transient popup). The text to show is either supplied as arguments or read from stdin if no arguments are given.\r\n -s  only show the toast for a short while\r\n$ termux-toast hello\r\n<\/code><\/pre>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/119142834@N05\/28054105097\/in\/dateposted\/\" title=\"Screenshot_2018-06-21-01-57-40\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm2.staticflickr.com\/1830\/28054105097_bf5b427d2b_m.jpg\" width=\"226\" height=\"161\" alt=\"Screenshot_2018-06-21-01-57-40\"\/><\/a><\/p>\n<\/li>\n<li>\n<p>termux-torch<\/p>\n<p>\u30c8\u30fc\u30c1\u3092on\/off\u3059\u308b?\u624b\u5143\u306e\u74b0\u5883\u3067\u306f\u53cd\u5fdc\u304c\u306a\u304b\u3063\u305f\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-torch -h\r\nIllegal parameter: -h\r\nUsage: termux-torch [on | off]\r\nToggle LED Torch on device\r\n$ termux-torch on\r\n^C\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-tts-engines<\/p>\n<p>\u30c6\u30ad\u30b9\u30c8\u8aad\u307f\u4e0a\u3052\u30a8\u30f3\u30b8\u30f3(tts)\u306e\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-tts-engines -h\r\nUsage: termux-tts-engines\r\nGet information about the available text-to-speech (TTS) engines. The name of an engine may be given to the termux-tts-speak command using the -e option.\r\n$ termux-tts-engines\r\n[\r\n  {\r\n    &quot;name&quot;: &quot;com.google.android.tts&quot;,\r\n    &quot;label&quot;: &quot;Google\u30c6\u30ad\u30b9\u30c8\u8aad\u307f\u4e0a\u3052\u30a8\u30f3\u30b8\u30f3&quot;,\r\n    &quot;default&quot;: false\r\n  },\r\n  {\r\n    &quot;name&quot;: &quot;jp.kddilabs.n2tts&quot;,\r\n    &quot;label&quot;: &quot;KDDILABS N2 TTS&quot;,\r\n    &quot;default&quot;: true\r\n  }\r\n]\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-tts-speak<\/p>\n<p>\u30c6\u30ad\u30b9\u30c8\u8aad\u307f\u4e0a\u3052\u3092\u884c\u3046\uff0e\u65e5\u672c\u8a9e\u306b\u5bfe\u5fdc\u3057\u305ftts\u3067\u3042\u308c\u3070\u65e5\u672c\u8a9e\u3082\u554f\u984c\u306a\u3044\uff0e\u6a19\u6e96\u5165\u529b\u304b\u3089\u3082\u53d7\u3051\u4ed8\u3051\u308b\u306e\u3067\u8a18\u4e8b\u3084\u5c0f\u8aac\u306e\u8aad\u307f\u4e0a\u3052\u3082\u7c21\u5358\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-tts-speak \u3053\u3093\u306b\u3061\u306f\r\n$ echo &#39;\u543e\u8f29\u306f\u732b\u3067\u3042\u308b&#39; | termux-tts-speak\r\n$ w3m -dump https:\/\/www.aozora.gr.jp\/cards\/000148\/files\/789_14547.html | termux-tts-speak\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-vibrate<\/p>\n<p>\u30d0\u30a4\u30d6\u30ec\u30fc\u30c8\u3092\u5b9f\u884c\uff0e\u9577\u3055\u306e\u6307\u5b9a\u3084\u30b5\u30a4\u30ec\u30f3\u30c8\u30e2\u30fc\u30c9\u3067\u3082\u5f37\u884c\u3059\u308b\u30e2\u30fc\u30c9\u3082\u3042\u308b\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-vibrate -h\r\nUsage: termux-vibrate [-d duration] [-f]\r\nVibrate the device.\r\n  -d duration  the duration to vibrate in ms (default:1000)\r\n  -f           force vibration even in silent mode\r\n$ termux-vibrate\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-volume<br \/>\n\u30dc\u30ea\u30e5\u30fc\u30e0\u306e\u5909\u66f4\uff0e\u624b\u5143\u306e\u74b0\u5883\u3067\u306f<code>0\u301c15<\/code>\u3067\u6570\u5b57\u304c\u5927\u304d\u3044\u307b\u3069\u97f3\u91cf\u304c\u5927\u304d\u304f\u306a\u3063\u305f\uff0e16\u4ee5\u4e0a\u3092\u6307\u5b9a\u3057\u3066\u308215\u3068\u540c\u3058\u52d5\u304d\u306b\u306a\u3063\u305f\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-volume -h\r\nInvalid argument count\r\nUsage: termux-volume stream volume\r\nChange volume of audio stream\r\nValid audio streams are: alarm, music, notification, ring, system, call\r\nCall w\/o arguments to show information about each audio stream\r\n$ termux-volume music 5\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-wallpaper<\/p>\n<p>\u58c1\u7d19\u3092\u8a2d\u5b9a\uff0e\u4f4d\u7f6e\u5408\u308f\u305b\u3084\u5207\u308a\u629c\u304d\u6307\u5b9a\u306f\u51fa\u6765\u306a\u3044\uff0e<code><span style='font-family:Merriweather, \"PT Serif\", Georgia, \"Times New Roman\", STSong, serif'>-<\/span>u<\/code>\u304c\u4fbf\u5229\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-wallpaper -h\r\nChange wallpaper on your device\r\n\r\nUsage: termux-wallpaper cmd [args]\r\n-h         show this help\r\n-f &lt;file&gt;  set wallpaper from file\r\n-u &lt;url&gt;   set wallpaper from url resource\r\n-l         set wallpaper for lockscreen (Nougat and later)\r\n$ termux-wallpaper -u https:\/\/www.nasa.gov\/sites\/default\/files\/styles\/full_width_feature\/public\/thumbnails\/image\/pia22422.jpg\r\nWallpaper set successfully!\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-wifi-connectioninfo<\/p>\n<p>Wi-Fi\u63a5\u7d9a\u60c5\u5831\u3092\u8868\u793a\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-wifi-connectioninfo -h\r\nUsage: termux-wifi-connectioninfo\r\nGet information about the current wifi connection.\r\n$ termux-wifi-connectioninfo\r\n{\r\n  &quot;bssid&quot;: &quot;10:6f:3f:XX:XX:XX&quot;,\r\n  &quot;frequency_mhz&quot;: 2462,\r\n  &quot;ip&quot;: &quot;192.168.2.211&quot;,\r\n  &quot;link_speed_mbps&quot;: 54,\r\n  &quot;mac_address&quot;: &quot;68:76:4f:XX:XX:XX&quot;,\r\n  &quot;network_id&quot;: 0,\r\n  &quot;rssi&quot;: -51,\r\n  &quot;ssid&quot;: &quot;home-ap&quot;,\r\n  &quot;ssid_hidden&quot;: false,\r\n  &quot;supplicant_state&quot;: &quot;COMPLETED&quot;\r\n}\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-wifi-enable<\/p>\n<p>Wi-Fi\u306e\u6709\u52b9\u7121\u52b9\u8a2d\u5b9a\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-wifi-enable -h\r\nUsage: termux-wifi-enable [true | false]\r\nToggle Wi-Fi On\/Off\r\n$ termux-wifi-enable false\r\n\r\n$ termux-wifi-enable true\r\n\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p>termux-wifi-scaninfo<\/p>\n<p>Wi-Fi\u30b9\u30ad\u30e3\u30f3\u7d50\u679c\u3092\u8868\u793a\uff0e<\/p>\n<pre><code class='language-shell' lang='shell'>$ termux-wifi-scaninfo -h\r\nUsage: termux-wifi-scaninfo\r\nGet information about the last wifi scan.\r\n$ termux-wifi-scaninfo\r\n[\r\n  {\r\n    &quot;bssid&quot;: &quot;12:6f:3f:XX:XX:XX&quot;,\r\n    &quot;frequency_mhz&quot;: 2462,\r\n    &quot;rssi&quot;: -55,\r\n    &quot;ssid&quot;: &quot;home-guest&quot;,\r\n    &quot;timestamp&quot;: 2978153233\r\n  },\r\n  {\r\n    &quot;bssid&quot;: &quot;10:6f:3f:XX:XX:XX&quot;,\r\n    &quot;frequency_mhz&quot;: 2462,\r\n    &quot;rssi&quot;: -54,\r\n    &quot;ssid&quot;: &quot;home-ap&quot;,\r\n    &quot;timestamp&quot;: 2978153243\r\n  },\r\n  {\r\n    &quot;bssid&quot;: &quot;10:6f:3f:XX:XX:XX&quot;,\r\n    &quot;frequency_mhz&quot;: 2447,\r\n    &quot;rssi&quot;: -78,\r\n    &quot;ssid&quot;: &quot;matohara&quot;,\r\n    &quot;timestamp&quot;: 2978153249\r\n  }\r\n]\r\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>Android\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u306a\u304f\u3066\u3082\u3061\u3087\u3063\u3068\u3057\u305f\u3053\u3068\u306a\u3089\u3053\u306eAPI\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u904a\u3076\u3053\u3068\u304c\u3067\u304d\u305d\u3046\u3067\u3059\uff0e(bash+Zenity\u307f\u305f\u3044\u306a?\u3061\u3087\u3063\u3068\u3061\u304c\u3046\u304b)<br \/>\nTermux:Task\/Boot\u7b49\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u66f4\u306b\u6d3b\u7528\u306e\u5e45\u306f\u5e83\u304c\u308a\u305d\u3046\u3067\u3059\uff0e\uff08\u672a\u78ba\u8a8d\uff09<\/p>\n<ul>\n<li><a href='https:\/\/play.google.com\/store\/apps\/details?id=com.termux.tasker' title='Termux:Task - Google Play \u306e\u30a2\u30d7\u30ea'>Termux:Task &#8211; Google Play \u306e\u30a2\u30d7\u30ea<\/a><\/li>\n<li><a href='https:\/\/play.google.com\/store\/apps\/details?id=com.termux.boot' title='Termux:Boot - Google Play \u306e\u30a2\u30d7\u30ea'>Termux:Boot &#8211; Google Play \u306e\u30a2\u30d7\u30ea<\/a><\/li>\n<li><a href='https:\/\/play.google.com\/store\/apps\/details?id=com.termux.widget' title='Termux:Widget - Google Play \u306e\u30a2\u30d7\u30ea'>Termux:Widget &#8211; Google Play \u306e\u30a2\u30d7\u30ea<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u203b\u3053\u306e\u8a18\u4e8b\u306f\u300c\u9e7f\u5150\u5cf6Linux\u52c9\u5f37\u4f1a 2018.06\u300d\u3067\u767a\u8868\u3057\u305f\u3082\u306e\u306b\u793e\u4f1a\u6027\u30d5\u30a3\u30eb\u30bf\u3092\u304b\u3051\u3066\u52a0\u7b46\u4fee\u6b63\u3057\u305f\u3082\u306e\u3067\u3059\uff0e\u9e7f\u5150\u5cf6\u3089\u3050\u3067\u306f\u6708\u4e00\u56de\u4f4d\u3092\u30da\u30fc\u30b9\u306b\u30aa\u30d5\u4f1a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\uff0e \u9e7f\u5150\u5cf6\u3089\u3050(Linux User&rsquo;s  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[21],"tags":[283,350],"class_list":["post-1951","post","type-post","status-publish","format-standard","hentry","category-android","tag-android","tag-termux"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/1951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=1951"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/1951\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=1951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=1951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=1951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}