chrisboyle / sgtpuzzles

Android port of Simon Tatham's Puzzles
https://chris.boyle.name/puzzles
Other
597 stars 168 forks source link

Click mailto link crashes the app #626

Closed littlecd closed 10 months ago

littlecd commented 11 months ago

In HelpActivity, click an email link crashes the app.

pic13 click anakin@pobox.com

pic14

chrisboyle commented 11 months ago

Hi, thanks for your report. I'm guessing you don't have any email app installed? I should of course handle this better (catch ActivityNotFoundException) but just to confirm, can you open your browser and click an email link? You can find one right at the bottom of https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ - and confirm that the browser shows a brief message (Toast) saying that there's no suitable application installed, which is what I should do in Puzzles.

littlecd commented 11 months ago

Hi, thanks for your reply. Yes, I can confirm there is a toast saying "Unable to open this type of link" when I use DuckDuckGo to open the link.