ccomeaux / boardgamegeek4android

BoardGameGeek application for Android (unofficial)
GNU General Public License v3.0
228 stars 47 forks source link

Allow to open bgg.com URLs in the app #64

Open erwan opened 8 years ago

erwan commented 8 years ago

It would be cool to declare the intent for bgg.co URLs. This way, when a user clicks on a link from Chrome for example, he can open the details in the app instead of opening the web page.

I started in a branch, but I'm not sure I'm plugging to the correct Activity because I don't get the title and box art.

https://github.com/erwan/boardgamegeek4android/tree/url-intent

ccomeaux commented 8 years ago

I have thought this would be nice too, but I couldn't work around this issue where the user would open the game in a browser from the app. Since the app has a subset of features and data from the web, I didn't want to remove this.

You will need to make similar changes to GameFragment as you've done with GameActivity. I hope that helps!

erwan commented 8 years ago

OK, I'll see if I can work around the "open from the app" issue before ironing the rest out.