View Single Post
Old 11-13-2018, 09:37 AM   #327
feelmaroon
Connoisseur
feelmaroon began at the beginning.
 
Posts: 89
Karma: 12
Join Date: May 2012
Device: Sony PRS-350, Kindle 4, PW2, Voyage, Oasis, Kobo Aura One
Quote:
Originally Posted by notimp View Post
If you do - adb has to be installed on the Mac:
https://lifehacker.com/the-easiest-w...-to-1586992378

Usb Debugging has to be activated on the Likebook:
Tap on the version number under settings device info a few times quickly, until the "developer options are now enabled" message pops up, then go into settings > developer options and enable usb debugging.

The Likebook has to be connected via USB.

If you want to test the connection pull up a Terminal window and write

adb devices

The first time it should see the device but tell you communication is unauthorized. At the same time it will pop up a message window on the Likebook that asks you if you want to authorize the computer to communicate with the android device. Say yes (you can also check a box to make it permanent).

From then on simply running the applescript will take a screenshot and save it under ~/Desktop/boyue (You can save the script in AppleScript Editor as an .app and every time you run it, it will do so.

To run it quickly - use spotlight (cmd+space), or Quicksilver (https://qsapp.com/) or Alfred, or....

Just remember to change the notimp in the script with your MacOS user (userfolder) name. (One occurance.)

edit: Urgh. The xda tutorial doesnt tell you how to install adb globally ("navigate to specific folder... run adb from there").

Use this instead:
https://forum.xda-developers.com/and...usive-t2941205
also read this:
https://forum.xda-developers.com/sho...7&postcount=34

Sorry - people not being so considerate to actually tell you how to install a binary globally. They just tell you how to unzip a thing. Anywhere. Then always use that path to call it.
Very nice. Great info. Charging up my 2011 Macbook Air. Thank you.
feelmaroon is offline   Reply With Quote