Hello,
I wrote an appli that use TotalCommander to show a specific folder.
I do this by :
Intent i = a0.getPackageManager().getLaunchIntentForPackage("com.ghisler.android.TotalCommander");
i.setData(Uri.parse("file:"+aFolder+"/"));
a0.startActivity(i);
On my old phone with Api21, this run perfertly.
But, on a new phone with Api28, this dont run anymore.
Have you any solution ?
Thanks
My own app that let TC show a folder don't run anymore with Api28
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: My own app that let TC show a folder don't run anymore with Api28
Android API 28 doesn't allow to use file: URLs. But don't worry, just replace the file: prefix by content: and TC will accept it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: My own app that let TC show a folder don't run anymore with Api28
Wonderful,
I tried a lot of things, I did not think about this simple solution
thank you very much.
I tried a lot of things, I did not think about this simple solution
thank you very much.