Skip to first unread message

WebAtelier- mt

unread,
Apr 5, 2017, 11:30:06 AM4/5/17
to MIT App Inventor Forum
I generated a barcode with a taifun extension. But for it's just shown in a webviewer. It's not possible to store the barcode in a file.

As I noticed that google "chart api" is deprecated, has someone an idea how to save a barcode? 

I also tried to make a screenshot and then crop the image but this doesn't work because of all the different screen sizes of smatphone devices.

Thanks a lot.

Taifun

unread,
Apr 5, 2017, 11:39:10 AM4/5/17
to MIT App Inventor Forum
use the Google Charts API instead https://google-developers.appspot.com/chart/

Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 

Abraham Getzler

unread,
Apr 5, 2017, 2:15:27 PM4/5/17
to MIT App Inventor Forum
What can you do with a bar code image in a file?

Why not just save the text?

ABG

WebAtelier- mt

unread,
Apr 5, 2017, 2:22:21 PM4/5/17
to MIT App Inventor Forum
...send, print, share it to others, use it in advertisement...

WebAtelier- mt

unread,
Apr 5, 2017, 2:23:44 PM4/5/17
to MIT App Inventor Forum
Sorry, but I don't understand your answer respectively links. Could you please give me another hint?

Thx

Pavitra

unread,
Apr 5, 2017, 3:16:00 PM4/5/17
to MIT App Inventor Forum
For saving, get the barcode result, create a new barcode image and set it as background of a canvas and finally save it, irrespective of any screen size

Tim Carter

unread,
Apr 5, 2017, 5:27:39 PM4/5/17
to MIT App Inventor Forum
Also, if you would be OK with qr codes see here (courtesy of Hossein):


and some blocks, which give an idea of how to save the canvas


Abraham Getzler

unread,
Apr 5, 2017, 8:26:34 PM4/5/17
to MIT App Inventor Forum
Reply all
Reply to author
Forward
0 new messages