bigdaddydad / android-xbmcremote

Automatically exported from code.google.com/p/android-xbmcremote
0 stars 0 forks source link

QR code for application config #411

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We use XBMC for a display at work and would like to allow people to configure 
the app by QR code. At the moment we have a QR code for WiFi config and a code 
to install the xbmc-remote then a printout of settings.

Using a QR code to configure the app would be amazing beyond words.

Original issue reported on code.google.com by nick.how...@gmail.com on 18 Oct 2010 at 3:13

GoogleCodeExporter commented 9 years ago
Can you elaborate a little more please? By "configure" you mean host config or 
download location?

Original comment by phree...@gmail.com on 22 Oct 2010 at 1:53

GoogleCodeExporter commented 9 years ago
Host configuration. 

Original comment by nick.how...@gmail.com on 22 Oct 2010 at 9:16

GoogleCodeExporter commented 9 years ago
I committed some code to my branch for this. Here's a demo (with two different 
phones...one of them generates a barcode, and the other scans it):

http://www.youtube.com/watch?v=wI2P_lekrs8

Some things:

1) I'd like to be able to long-press a host and generate a QR code for it, but 
I'm not sure if that's possible in a PreferencesActivity. Is it? As a result, 
you have to pick "Generate Barcode" from the menu, then choose the host to use.

2) I removed the Exit button from the menu to give it a nicer layout. It didn't 
seem necessary. Should I put it back?

3) The QR code generating/scanning is done with the Barcode Scanner app, which 
seems to be the de facto standard. As a result, you have to have that app 
installed on your phone for this to work. If you don't, a dialog pops up 
telling you this, and it has a button that will take you right to the app in 
the Market.

Original comment by Anthony....@gmail.com on 22 Jan 2011 at 9:47

GoogleCodeExporter commented 9 years ago
You are amazing.

Original comment by nick.how...@gmail.com on 22 Jan 2011 at 11:37

GoogleCodeExporter commented 9 years ago
What would be awesome would be if we could get xbmc to show a QR for it's 
configuration on screen.
Stage one: xbmc-remote configurable from QR.
Stage two: An already configured xbmc-remote generates a QR for sharing with a 
friend
Stage three: xbmc, controlled by some other means, shows a QR for xbmc-remote.

Original comment by cg6...@gmail.com on 5 Jun 2011 at 2:02

GoogleCodeExporter commented 9 years ago
Oh I've completely missed this. Anthony, any way you could integrate this into 
your fork on github and pull-request it?

Original comment by phree...@gmail.com on 13 Aug 2011 at 7:49

GoogleCodeExporter commented 9 years ago
Yay, and after 8 months, this was merged into mainline!

Original comment by phree...@gmail.com on 9 Apr 2012 at 10:07