Giter Site home page Giter Site logo

getapk's People

Contributors

conorgil avatar

Stargazers

 avatar

Watchers

 avatar  avatar

getapk's Issues

Add flag to only pull APK from phone if it is already installed

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

Programmatically determine coordinates of Install button

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.

Ideas

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.

Rewrite the tool in golang/python

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.

Improve support for multi-part APKs

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.

Support multiple Android devices

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.