Open zanhecht opened 7 years ago
If you are a gmail user, you can have it check your gmail box for you automatically for puzzle files. If you go to Settings -> First Run Screens and configure the gmail screen, it will check your gmail account for puzzles in the same date range when you do the download operation.
I will see what is up with the opening them from those emails. If the mime type is right, Shortyz should handle it.
The gmail function doesn't work for me, but that's probably because I use G Suite so my gmail address doesn't end in gmail.com.
On May 31, 2017 10:58 AM, "kebernet" notifications@github.com wrote:
If you are a gmail user, you can have it check your gmail box for you automatically for puzzle files. If you go to Settings -> First Run Screens and configure the gmail screen, it will check your gmail account for puzzles in the same date range when you do the download operation.
I will see what is up with the opening them from those emails. If the mime type is right, Shortyz should handle it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kebernet/shortyz/issues/102#issuecomment-305213616, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwtIaa5AbRjMH5m-vPWaDvHN5NNoS_hks5r_YAPgaJpZM4Nq7OH .
Gmail is known to be unreliable when it comes to mime types (it basically relies entirely on the sending client). For example, the .puz files I get from AVCX are "application/octet-stream". The usual workaround is to use two almost identical intents, one with the correct mime type and a path pattern of ".", and a second with a mime type of "/" and a path pattern of ".\.puz".
On May 31, 2017 10:58 AM, "kebernet" notifications@github.com wrote:
If you are a gmail user, you can have it check your gmail box for you automatically for puzzle files. If you go to Settings -> First Run Screens and configure the gmail screen, it will check your gmail account for puzzles in the same date range when you do the download operation.
I will see what is up with the opening them from those emails. If the mime type is right, Shortyz should handle it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kebernet/shortyz/issues/102#issuecomment-305213616, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwtIaa5AbRjMH5m-vPWaDvHN5NNoS_hks5r_YAPgaJpZM4Nq7OH .
So FWIW on the AVCX crosswords, they SHOULD work. I get the CRooked Crosswords from the same service and they work for me. I will look into this, though. Also, GSuite shouldn't matter as long as Shortyz can get an OAuth token for the Gmail API from your phone.
I'll add a sort-of "me too" - for me, Shortyz has never been able to open puz files from file managers. Robo Crosswords (formerly Words With Crosses) is given as an option, but not Shortyz. I assumed it was just not implemented, but now looking at your manifest it looks like you intended for it to work.
I'm using Android 6.0.1; tested with FX, Solid Explorer Classic, Total Commander, RAR, and Speed Software's Explorer/Root Explorer. (Some other file managers give a longer list of apps, and in that case Shortyz IS offered).
FWIW, the app Dexplorer recently had this issue; I believe the dev fixed it by having a separate intent-filter for the mimeType and pathPattern (which is what zanhecht suggested above).
[BTW, this is my first post to Githib. More to come ;-) ]
I'd like to bump and +1 the feature request to register an intent for .PUZ consumption. I'm a puzzle author writing Numcross puzzles and I'm currently testing my PUZ files in various apps. I could email myself the file, but it would be much easier to be able to open it in Shortyz directly from Dropbox.
I subscribe to the AVCX crossword which comes to me via email weekly. If I click on the .puz attachment Android offers to open it with a couple different apps, but Shortyz isn't an option. I have to go through the cumbersome process of downloading it to my phone and then using a file manager to move it to the shortyz directory. Can shortyz register the intents to open .puz files from email and from file manager apps (something like https://stackoverflow.com/questions/35162756/android-associate-file-extension-with-app)? Ideally, when using Shortyz to open a file in this manner, it would be copied to the crossword directory as if it had been downloaded directly.