2017년 3월 5일 일요일

Help on a QR creater App Inventor


I want to created a QR generator, but I don't know so much about App Inventor.

Is able create it, how ?

Please........

PSDT: I know is able create it with App Inventor and JS, but I want to use App Inventor only.

--
Here is the advice provided by Taifun

use an API to generate the QR code, example 
you can use the Google Chart API (unfortunately deprecated)

...and yes, the puravidaapps link does show how to use javascript to create the QR.

Can you use App Inventor alone to generate a QR code?    Probably not unless you can find a way to use the Google Chart API in conjunction with native AI code.   AI2 can 'read' QR codes using the BarCode Scanner  http://ai2.appinventor.mit.edu/reference/components/sensors.html#BarcodeScanner  .

It might be possible to create an Extension to do this with Java?    Read the documentation 
    and be ready to do this when MIT formally releases Extensions into the main App Inventor.

You might be able to use an online QR generator like described  QR code generator (available for free online) to generate a QR code that brings you to that URL. in MIT's documentation (  http://appinventor.mit.edu/explore/content/faq.html  ).

If you are lucky, someone might be aware of a different solution so check back here frequently to see other posts.

App Inventor is an entry level Android compiler intended primarily for teaching programming.   It does not have the extensive libraries and tools that would allow you to do something like this with the Java based Eclipse or Android Studio.

--

댓글 없음:

댓글 쓰기