blues-lab / getapk Goto Github PK
View Code? Open in Web Editor NEWSmall CLI program that uses an Android device and adb tp download raw APK files from the Google Play store.
Small CLI program that uses an Android device and adb tp download raw APK files from the Google Play store.
As written, if an APK with the given package ID is already installed on the phone, then the script will pull it from the phone onto the laptop. However, if such an APK is not installed, then it will automatically open the Google Play store, install the APK, and then pull it from the phone to the laptop.
There are use-cases where installing the app is not desirable if it is not already installed.
Add a flag such that the APK will only be pulled from the phone if it is present and it WILL NOT be installed if it is not present.
Something like --skip-install
or --pull-only
Currently, the coordinates for the install button are hard coded. It would be great to programmatically determine the location of the install button so that it works every time.
There is a tool installed on Android called uiautomator
. It is possible to get an XML file that describes each element of the page. That output could be used to look up the coordinates of the install button.
Bash is convenient for small scripts, but can easily become VERY difficult to work with for larger projects. Consider rewriting this tool in golang or something instead of continuing to add more features in bash.
Currently, when multi-part APKs are encountered, only the base APK is downloaded. Turns out that, unsurprisingly, all of the APKs are required to install the app via adb
. So, update getapk
so that it downloads all of the APKs found, rather than just the base one.
Currently, the tool only supports a single Android device. If multiple devices are connected, then adb will complain.
Somehow, support multiple devices connected to adb at the same time?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.