How to Understand Basic List of ADB Commands: Difference between revisions

From wizarPOS
(Created page with "* adb devices List of devices attached * adb install ''path_to_apk'' * adb pull ''remote'' ''local'' To copy a file or directory and its sub-directories from the POS terminal....")
 
No edit summary
Line 1: Line 1:
* adb devices
== Basic ADB Command Guide for POS Terminals ==
List of devices attached
# '''Listing Connected Devices:'''
* adb install ''path_to_apk''
#* Command: ''''adb devices''''
* adb pull ''remote'' ''local''
#* Function: Displays a list of all devices currently attached.
To copy a file or directory and its sub-directories from the POS terminal.
# '''Installing an APK''':
 
#* Command: ''''adb install path_to_apk''''
remote: paths to the target files/directory on '''POS terminal'''
#* Function: Installs the specified APK file onto the connected POS terminal.
 
# '''Copying Files from the POS Terminal to PC:'''
local: paths to the target files/directory on '''PC'''
#* Command: ''''adb pull remote local''''
 
#* ''''remote'''': The path to the target file or directory on the POS terminal.
For example:
#* ''''local'''': The path to the target file or directory on the PC.
  '''adb pull sdcard/wpmonitor/logcat/ ./'''
#* Example: ''''adb pull sdcard/wpmonitor/logcat/ ./''''
  copy files from sdcard/wpmonitor/logcat/ on POS termial to current folder of PC
#** This copies files from sdcard/wpmonitor/logcat/ on the POS terminal to the current folder on the PC.
 
# '''Copying Files from PC to the POS Terminal:'''
* adb push ''local'' ''remote''
#* Command: ''''adb push local remote''''
To copy a file or directory and its sub-directories to the POS terminal.
#* ''''local'''': The path to the target file or directory on the PC.
 
#* ''''remote'''': The path to the target file or directory on the POS terminal.
remote: paths to the target files/directory on '''POS terminal'''
#* Function: This command allows you to transfer files or directories (and their sub-directories) from your PC to the POS terminal.
 
local: paths to the target files/directory on '''PC'''

Revision as of 22:26, 8 January 2024

Basic ADB Command Guide for POS Terminals

  1. Listing Connected Devices:
    • Command: 'adb devices'
    • Function: Displays a list of all devices currently attached.
  2. Installing an APK:
    • Command: 'adb install path_to_apk'
    • Function: Installs the specified APK file onto the connected POS terminal.
  3. Copying Files from the POS Terminal to PC:
    • Command: 'adb pull remote local'
    • 'remote': The path to the target file or directory on the POS terminal.
    • 'local': The path to the target file or directory on the PC.
    • Example: 'adb pull sdcard/wpmonitor/logcat/ ./'
      • This copies files from sdcard/wpmonitor/logcat/ on the POS terminal to the current folder on the PC.
  4. Copying Files from PC to the POS Terminal:
    • Command: 'adb push local remote'
    • 'local': The path to the target file or directory on the PC.
    • 'remote': The path to the target file or directory on the POS terminal.
    • Function: This command allows you to transfer files or directories (and their sub-directories) from your PC to the POS terminal.