Start activity Package Installer

Post your questions and help other users.

Moderator: Martin

User avatar
Martin
Posts: 4413
Joined: 09 Nov 2012 14:23

Re: Start activity Package Installer

Post by Martin » 21 Apr 2019 20:40

I've changed the file selector to return a file uri instead of the content uri. It seems that the package manager of Android does not support the SAF. Will be interesting to see if Google will extend the package installer to support content uris on Q.

I've tested one more time on an Android 8.1 device (emulator) and the installer returns OK/-1. Could you please import this flow and see if this really does not work on your device?
Flow: Uninstall Test Flow (just change the package to something that exists and can be uninstalled)

Thanks & Regards,
Martin

anuraag
Posts: 281
Joined: 24 Jan 2015 02:06

Re: Start activity Package Installer

Post by anuraag » 21 Apr 2019 23:09

Works.

My fault. I was putting that line in Access result extras. Never checked carefully that there is an Extra field present. :lol:

User avatar
Martin
Posts: 4413
Joined: 09 Nov 2012 14:23

Re: Start activity Package Installer

Post by Martin » 23 Apr 2019 19:29

No problem. Glad it's working! :-)

Post Reply