-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nextcloud doesn't know how to open .love files #2073
Comments
@mario @tobiasKaminsky any opinions on this? an we basically would need to have a mime type detection for |
Isn't it possible to have a more generic way, e.g. if a mime type is not known, try to pass it to android app launcher and see it this can deal with it? If this is not working show something like "No app found to open .extension". |
I think the mime type is the issue, since we don't know it yet we do pass it to the launcher which doesn't find any app supporting the file since it is mime type based. Thus we would actually have to detect the mime type. In this the love game app could also implement the document provider chooser so it would access the file from within the app itself instead of having to open the Nextcloud client. |
I also discussed this with @jancborchardt here #2081 (comment) and I do agree (at least for these two issues) to add the mime type detection for these file extensions. As mentioned in the comments of Jan it should then also be added to the server, so looping in @MorrisJobke (hope I got the right person) 😃 |
Just open a ticket in server ;) |
Instead of using completely our own mimetype list, we can use which uses this database internally: If so, then our "custom" mapping should get a lot smaller. |
I searched a bit and https://developer.android.com/training/secure-file-sharing/share-file.html says that the preferred way is to use: But even with installed Löve app, this results in a default "unkown" mimetype. I would have expect that if an app is registering itself as listener for any kind of new mimetype, that this then would be also know by content resolver. |
…for .love files Signed-off-by: Andy Scherzinger <[email protected]>
…for .love files Signed-off-by: Andy Scherzinger <[email protected]>
…for .love files Signed-off-by: Andy Scherzinger <[email protected]>
…for .love files Signed-off-by: Andy Scherzinger <[email protected]>
…for .love files Signed-off-by: Andy Scherzinger <[email protected]>
Actual behaviour
nextcloud cannot open .love files
Expected behaviour
nextcloud should open .love files with the love2d engine
https://play.google.com/store/apps/details?id=org.love2d.android
Steps to reproduce
Environment data
Android version:
7.1
Device model:
ZTE Axon 7
Nextcloud app version:
newest
The text was updated successfully, but these errors were encountered: