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

Import settings via QR code #178

Closed
frankthetank7254 opened this Issue Nov 6, 2014 · 5 comments

Comments

Projects
None yet
3 participants
@frankthetank7254

frankthetank7254 commented Nov 6, 2014

I would love to be able to import settings via QR code.

here is a mostly blank default settings.json to show proof of concept:

@erickok

This comment has been minimized.

Show comment
Hide comment
@erickok

erickok Nov 11, 2014

Owner

Could you explain how you are going to use it? Just to get settings from one device to another? Perhaps NFC would be even better/cooler to do that?

Owner

erickok commented Nov 11, 2014

Could you explain how you are going to use it? Just to get settings from one device to another? Perhaps NFC would be even better/cooler to do that?

@randomessence

This comment has been minimized.

Show comment
Hide comment
@randomessence

randomessence Nov 13, 2014

The point of this is fairly simple:

Import a new and fully configured server(s) into transdroid/transdrone via a png qrcode. This would make the process a few good steps shorter than it currently is and overall a better experience. A user could simply be presented with a qrcode that they scan and they have a fully operational and new server imported in seconds. This could be to simply create server templates for users to finalise or to provide customised server setups at import.

He has shown how the settings.json can be encoded using a dummy template and libqrencode.

Notes:

1: Your reply seems to only be thinking in terms of transdroid to transdroid export and import. This is about importing new remote servers in the easiest way possible. A end user presented with a png qrcode to import a new server is a better solution than the current method = Manual entry or modify a template settings.json and navigate the various steps needed to get it to where it needs to be for import.

2: NFC is not really comparable to this solution nor is it a practical one considering it is not available to all devices, but makes sense in terms of device to device import and export.

3: This was not considered in terms of an export solution. That is another aspect of this feature request but perhaps worth considering. Export to qrcode then scan from other device. It seems like a simple enough process.

randomessence commented Nov 13, 2014

The point of this is fairly simple:

Import a new and fully configured server(s) into transdroid/transdrone via a png qrcode. This would make the process a few good steps shorter than it currently is and overall a better experience. A user could simply be presented with a qrcode that they scan and they have a fully operational and new server imported in seconds. This could be to simply create server templates for users to finalise or to provide customised server setups at import.

He has shown how the settings.json can be encoded using a dummy template and libqrencode.

Notes:

1: Your reply seems to only be thinking in terms of transdroid to transdroid export and import. This is about importing new remote servers in the easiest way possible. A end user presented with a png qrcode to import a new server is a better solution than the current method = Manual entry or modify a template settings.json and navigate the various steps needed to get it to where it needs to be for import.

2: NFC is not really comparable to this solution nor is it a practical one considering it is not available to all devices, but makes sense in terms of device to device import and export.

3: This was not considered in terms of an export solution. That is another aspect of this feature request but perhaps worth considering. Export to qrcode then scan from other device. It seems like a simple enough process.

@frankthetank7254

This comment has been minimized.

Show comment
Hide comment
@frankthetank7254

frankthetank7254 Nov 14, 2014

the XBMC remote app has a similar feature to share configurations between devices:
https://github.com/freezy/android-xbmcremote

while nfc is super cool, using qrcode means that it is accessible by more devices :)

frankthetank7254 commented Nov 14, 2014

the XBMC remote app has a similar feature to share configurations between devices:
https://github.com/freezy/android-xbmcremote

while nfc is super cool, using qrcode means that it is accessible by more devices :)

@erickok

This comment has been minimized.

Show comment
Hide comment
@erickok

erickok Nov 17, 2014

Owner

Okay I understand better now the use case. I was certainly never trying to hold it off, just making sure the implementation is focused to the use case!

Generating QR codes is easy using a library, but I need to find the right one that is compact enough to justify adding to the code base. Will do some research and add this. Good idea!

Owner

erickok commented Nov 17, 2014

Okay I understand better now the use case. I was certainly never trying to hold it off, just making sure the implementation is focused to the use case!

Generating QR codes is easy using a library, but I need to find the right one that is compact enough to justify adding to the code base. Will do some research and add this. Good idea!

@erickok erickok added the enhancement label Nov 17, 2014

@frankthetank7254

This comment has been minimized.

Show comment
Hide comment
@frankthetank7254

frankthetank7254 Nov 18, 2014

awesome!
when can we expect 2.3?

frankthetank7254 commented Nov 18, 2014

awesome!
when can we expect 2.3?

@erickok erickok closed this in 219b2b7 Nov 18, 2014

frankthetank7254 added a commit to frankthetank7254/feral that referenced this issue Nov 18, 2014

changing over to use built-in qrcode import
dev of transdroid was kind enough to build in qrcode support for us :)
erickok/transdroid#178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment