Quote:
Originally Posted by JollyRoger
So you're using Kindle for android on Bluestacks. How do you get the book files from Bluestacks? Do you just use file manager to drag and drop them?
|
Under Windows, I am using a batch file to transfer the books from Bluestack's storage to a Windows directory. You do need to set the config file location and Bluestacks instance in the batch file and have installed the Android SDK Platform Tools to have adb. The rem before the @ECHO OFF can be removed once you have the file running happily.
Code:
rem @ECHO OFF
CLS
rmdir %userprofile%\BS_Export /S /Q
mkdir %userprofile%\BS_Export
REM Extracting all books from a Bluestacks instance with unknown port
REM Edit the following SET commands with your own file location and
REM BlueStacks instance name
SET BS_config_file=C:\ProgramData\Bluestacks_nxt\bluestacks.conf
SET BS_instance=Pie64_1
FOR /F "tokens=2 delims==" %%F IN ('findstr ".%BS_instance%.status.adb_port=" %BS_config_file%') DO SET ADB_PORT=%%F
C:\platform-tools\adb connect localhost:%ADB_PORT%
C:\platform-tools\adb -s localhost:%ADB_PORT% -a pull /sdcard/Android/data/com.amazon.kindle/files %userprofile%/BS_Export
C:\platform-tools\adb disconnect localhost:%ADB_PORT%
@PAUSE
Edit: I've attached the batch file to this message. Rename to remove the .txt before using.