PDA

View Full Version : Feature request: QR scan code hocus pocus



Sture
13-May-2015, 03:48 PM
I know it's late in the cycle, but this is a good idea.

When a webapp project is loaded, the Studio should display one of those 2D barcodes that a smartphone can read.

When a smartphone is pointed at it, it will go directly to the application running in the Studio.

This would be immensely cool when testing mobile applications during development. And also in demoing situations.


-Sture

John van Houten
13-May-2015, 05:31 PM
ohh, hey that's a cool idea Sture!!

I am pretty sure that it is not going to be considered for 18.1 though as we are in beta and closed for new features, but I would like to research that certainly for post 18.1.

regards John van Houten
Data Access Corporation

Sture
13-May-2015, 05:53 PM
Hi John.

It's too cool to miss. It will be talked about.

Here is a little research. Click the link and point your phone at it:

https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=http://localhost/Custodian181/Index.html

-Sture

PS. The service is described here: http://goqr.me/api/

Richard Hogg
13-May-2015, 05:57 PM
Great idea Sture.

Sture
13-May-2015, 06:17 PM
Alternatively, with that qr-service it would be easy for the application itself to display the desired QR code.

Then the challenge is reduced to webapp.exe figuring out what url to encode for an "outsider" to hit itself. In DataFlex code, that is.


Is this possible at all?

-Sture

Marco
13-May-2015, 07:40 PM
Hi Sture
Great idea! I wonder if we could hang it in the tools menu until it's build into the studio.
But I agree, that if would be great if considered for inclusion in 18.1, especially with the focus on mobile/touch.
However, it does rely on the windows machine being browsable by the mobile device.
Cheers
Marco

John van Houten
14-May-2015, 01:37 AM
Marco,


However, it does rely on the windows machine being browsable by the mobile device.
Yes but that is a one off configuration thing.

The annoying thing to deal with when testing a WebApp on your phone is dealing with the always changing IP address to access the webapp across the local network. This would solve the problem nicely.

The thing I don't like so much is:

- You are relying on this external service for the feature to work. When the service stops it breaks the feature.
- Passing Local network addresses or any other data like this to an external source represents a security risk. There is a lot of trust required. How does this QR Code service generate revenue for itself?

What I would prefer is some local API that could be installed with DF and called locally to generate the QR code.

John van Houten

chuckatkinson
14-May-2015, 12:12 PM
Great idea Sture !!! + 100

raveens
14-May-2015, 01:57 PM
Brilliant idea Sture, +100

== Sent from my mobile using Tapatalk.
== Pls excuse abbreviations and grammar.