这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@imprakharshukla
Copy link

Implemented Play Store Downloading - The current implementation is not at all user friendly (and doesn't properly work) for multiple package downloads at one (pkg install htop vim...). This stands true if the links are opened in separate tabs of a browser if Play Store is not present on the device and in different Play Store windows which doesn't work that way, as well.

Possible implementation -

Start a transparent activity and monitor the lifecycle so we can actually present a dialog before directly throwing either the Play Store or a browser window in the face of the user and then monitor the onResume LC component to get when the user returns to the app, then present the dialog for the second package.

I didn't wanted to code this much only to get it scraped out. So let me know if you guys are comfortable with this approach or have something better.

fornwall and others added 26 commits August 15, 2020 01:08
We might just as well go to java 11, as 9 is unsupported
… installing, uninstalling and listing all the packages.
I don't have write access to termux.net, so will use own server currently.
* Updated the installation process to use PackageInstaller.
* Updated uninstalling with broadcasts to notify users.
* Removed all the third party libraries.
* Updated the installation process to use PackageInstaller.
* Updated uninstalling with broadcasts to notify users.
* Removed all the third party libraries.
* Improved notification management.
* Implemented downloading from the Google Play Store.
@imprakharshukla imprakharshukla changed the title Andronix 10 Android 10 APK Package Management Aug 29, 2020
@ghost ghost self-requested a review August 29, 2020 16:44
@ghost ghost deleted a comment from K8wan Aug 31, 2020
@ghost
Copy link

ghost commented Sep 7, 2020

Added in 8d83a39.


This stands true if the links are opened in separate tabs of a browser if Play Store is not present on the device

If Play Store is not present on device, then it shouldn't be used as download source.

in different Play Store windows which doesn't work that way, as well.

One Play Store window is needed only. Next package is being installed once window closed, e.g. by pressing button "back".

@ghost
Copy link

ghost commented Sep 7, 2020

Also:

  1. Why using hardcore cache directory path? Android doesn't have API for programatically retrieving its path?
  2. Why not checking for source equals play-store but checking whether it is empty or null?

@ghost ghost closed this Sep 7, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants