Skip to content

Android Blog

Android Blog is the place where I put code possible to be reused in near future.

Android Blog

Android Blog is the place where I put code possible to be reused in near future.

  • Home
    • Home
    • shell
Uncategorized

How to connect remote to emulator in another PC (macOS)

sorsaresorsare 02/08/2023 0 Comments

HOST WITH EMULATOR (terminal) Use ssh to connect to another PC. Then kill adb server and start it as server: ssh macmini@192.168.0.87 adb kill-server adb -a nodaemon server ON PC…

Android

Adb shell command to send intent and open deeplink

sorsaresorsare 06/09/2021 0 Comments

Here is the snippet for sending intent to open deeplink: adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d '{your_protocol}://{your_path_pattern}' Sample: adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d…

Android

Adb common commands

sorsaresorsare 26/08/2021 0 Comments

Get device's dimension: adb shell wm size > Physical size: 2880x1600 Get device's density: adb shell wm density > Physical density: 320 Hide status bar and navigation bar: adb shell…

Android

Get current Activity name by adb shell

sorsaresorsare 11/07/2019 0 Comments

Here is the command: adb shell "dumpsys window windows | grep -E 'mCurrentFocus'" The output would be: mCurrentFocus=Window{b6a99d1d0 u0 com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity} My activity name is: LauncherActivity

Android

Remove bloatware from Your Android phone (no root)

sorsaresorsare 02/12/2018 0 Comments

Command to list apks on device: adb shell pm list packages Command to remove apk from device: adb shell pm uninstall -k --user 0 XX where XX is the package…

Android

Adb commands for changing resolutions and densities

sorsaresorsare 21/02/2018 0 Comments

To get default dimension: adb shell wm size To get default density: adb shell wm density To change dimension: adb shell wm size XXX To change density: adb shell wm…

Non-Android

DeviceControl – jar app to control apks

sorsaresorsare 07/07/2017 0 Comments

Download: devicesControl_jar Inside: adb.exe + jar_app + preview_pic

Android

How to run an android application using .apk file?

sorsaresorsare 23/02/2015 0 Comments

Here is the example how to run apk when you do not know what is the apk's name. First you need to call aapt to get info about AndroidManifest.xml from…

  • Android
  • Android UX
  • Non-Android
  • Uncategorized

Tags

adb android apk app bat batch calendar change code color command connect convert custom device drawable emulator example ffmpeg filter gcm gradle greasemonkey install java javascript linux mac notepad++ post preview remove rename root screen script service shape shell solution style time windows working xml

Archives

  • April 2024
  • November 2023
  • August 2023
  • May 2023
  • March 2023
  • December 2022
  • September 2022
  • June 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • March 2021
  • December 2020
  • March 2020
  • January 2020
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • June 2018
  • May 2018
  • April 2018
  • February 2018
  • January 2018
  • December 2017
  • August 2017
  • July 2017
  • June 2017
  • April 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • August 2016
  • June 2016
  • May 2016
  • February 2016
  • January 2016
  • September 2015
  • July 2015
  • June 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014

You Missed

Non-Android

Read books

Non-Android

ebook-meta to bulk rename mobi and azw3 file names to $title – $author(s)

Android

Android – how to obtain resource from Android’s internal resources

Uncategorized

How to connect remote to emulator in another PC (macOS)

Android Blog

Android Blog is the place where I put code possible to be reused in near future.

Copyright © All rights reserved | Blogus by Themeansar.