A little Linux every day-you often need to install the APK program to your mobile phone during the development of the right-click menu. This requires opening the command line and hitting the Installation Command, which is inconvenient. Www.2cto.com now has a method. in the context menu of the file browser, add a menu item ,...
A little Linux every day-you often need to install the APK program to your mobile phone during the development of the right-click menu. This requires opening the command line and hitting the Installation Command, which is inconvenient. Www.2cto.com now has a method. in the context menu of the file browser, add a menu item for installing the APK program. The method is as follows: 1. create a text file named "install APK to mobile phone". 2. the content of this file is :#! /Bin/bash # This script install the selected apk file onto your phone if connected. # Distributed under the terms of gnu gpl version 2 or later # Install in ~ /. Gnome2/nautilus-scripts or ~ /Nautilus/scripts # You need to be running Nautilus 1.0.3 + to use scripts. gnome-terminal-e "adb-d install $ NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" 3. copy this file to the directory ~ /. Under gnome2/nautilus-scripts 4. select any file and right-click the pop-up menu. a script menu item is added, which contains a sub-menu item "install APK to mobile phone". click it.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service