Cristofayre
Member
Just reading through the user PDF Guide, and hit a stumbling block. It says find a program in "SourceCode\MyFirstProgram\ MyFirstProgram.b4a"
I've searched my "C:\" drive, and no such file has been installed. (All I fould was JSON files) Looked on site, but nowhere can I find a program listed, or an area to download code sammples. Can anyone advise where to find it?
I like the concept ... and on the surface seems far easier than the bloated Android Studio, (which ended up telling me the emulator was offline, and wouldn't run program!!)
I'm also fairly new to VBScript, but managed to write a program for that involves using Zbar and Exiftools. It's only around 200 lines. Basically, asks for four inputs from user, stores data in text file, and then reads through a folder of images to recognise any containing QR codes. It then cuts the query string off the end of decoded QR code, and embeds it into photo together with the data stored in text file.
But now I want to take it one stage further with an app ... although appreciate this suite uses VBasic rather than VBScript. It will ask for the four inputs, and store it. Next, it will "fork" to two processes. One will run continuously to monitor a folder. (Will return to that) The other will ideally "keep open" a camera as a barcode scanner (Could be button initiated at a pinch). When a card is within range, it will decode the string, and store the query string (in a txt file?) When Eye-Fi drops a photo into monitored folder, script will read the query string stored, and the four inputs entered earlier, and embed them into the photo. The photo is then moved out of 'hot' folder to a storage area. When a new photo arrives, it is assisgned the 'old' QR code again, and so it continues until a new QR is scanned/stored.
Appreciate I would probably have to switch to ZXing rather than Zbar, (VBScript runs them via a Windows shell / command prompt), and all the rest is done via a series of "Do While" loops and calls to sub routines. In short, do you reckon this would be possible with VBa ... or is it beyond its realm and I'd be wasting my time and should go nback to Studio?
** This only started as wanting to know the where abouts of the sample program!!
I've searched my "C:\" drive, and no such file has been installed. (All I fould was JSON files) Looked on site, but nowhere can I find a program listed, or an area to download code sammples. Can anyone advise where to find it?
I like the concept ... and on the surface seems far easier than the bloated Android Studio, (which ended up telling me the emulator was offline, and wouldn't run program!!)
I'm also fairly new to VBScript, but managed to write a program for that involves using Zbar and Exiftools. It's only around 200 lines. Basically, asks for four inputs from user, stores data in text file, and then reads through a folder of images to recognise any containing QR codes. It then cuts the query string off the end of decoded QR code, and embeds it into photo together with the data stored in text file.
But now I want to take it one stage further with an app ... although appreciate this suite uses VBasic rather than VBScript. It will ask for the four inputs, and store it. Next, it will "fork" to two processes. One will run continuously to monitor a folder. (Will return to that) The other will ideally "keep open" a camera as a barcode scanner (Could be button initiated at a pinch). When a card is within range, it will decode the string, and store the query string (in a txt file?) When Eye-Fi drops a photo into monitored folder, script will read the query string stored, and the four inputs entered earlier, and embed them into the photo. The photo is then moved out of 'hot' folder to a storage area. When a new photo arrives, it is assisgned the 'old' QR code again, and so it continues until a new QR is scanned/stored.
Appreciate I would probably have to switch to ZXing rather than Zbar, (VBScript runs them via a Windows shell / command prompt), and all the rest is done via a series of "Do While" loops and calls to sub routines. In short, do you reckon this would be possible with VBa ... or is it beyond its realm and I'd be wasting my time and should go nback to Studio?
** This only started as wanting to know the where abouts of the sample program!!