Click here to Skip to main content
15,916,019 members

Comments by Martijn van der Kaaij (Top 3 by date)

Martijn van der Kaaij 9-Feb-24 11:59am View    
Launcher works now, Share as well.
- A user creates a text file in my app, and store it in external storage (using context.GetExternalFilesDir).
- I allow the user to open the file with an app of his choice (using Launcher or Share)
However, if the user tries to save the file, permission to write is denied. I added a FileProvider and played with it's settings, but it doesn't work. Exampless online are old, or not relevant for Blazor Hybrid.
Martijn van der Kaaij 30-Jan-24 6:42am View    
Yiu're right, I'm not entirely stuck: I can get the example given at the link (with Lyft) to work, no problem. But then, if I try to translate it to get, for example, the camera to start (in adb shell: am start -n com.sec.android.app.camera/.Camera) I can't get it to work.
Martijn van der Kaaij 30-Jan-24 4:59am View    
With all due respect: the route is clear to me, and I've spent a lot of time on google for this, but I can't find an actual workking example of invoking an androis app from MAUI. Whatever I try, I'm getting "No such file or directory" errors when trying to launch from my app.