Is it possible to open a file on android using the file manager?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
pauls313
Citizen
Posts: 50
Joined: Tue Aug 02, 2016 3:07 am

Is it possible to open a file on android using the file manager?

Post by pauls313 »

Suppose the player wants to load one image as his player sprite, is it possible to open it with the android file manager? And how would I do that?
User avatar
AuahDark
Party member
Posts: 107
Joined: Mon Oct 23, 2017 2:34 pm
Location: Indonesia
Contact:

Re: Is it possible to open a file on android using the file manager?

Post by AuahDark »

It's not possible. You have to use Android API which interacts with LOVE code and pass the file streams over.

The bolded part is important. You're not allowed to pass file paths since Android 7.
Profile. Do you encounter crashes in LÖVE Android and wanna send me logcats? Please hit me up in LÖVE Discord and send the full logcat file!
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], darkfrei, dusoft and 77 guests