unix-toolbox.js-exact-image
unix-toolbox.js-exact-image copied to clipboard
Running in Intel XDK framework on Android device
I was wondering if this script is compatible with android phones. I successfully ran the barcode scanner locally but when I ran through Intel XDK app preview my phone. Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.: Error at abort.
I tried to build it anyway and put it on the phone, regardless thinking that it might have been a limitation of the preview app. When I run it on the phone it just hangs at 'running...' What I want to know is the barcode scanners capability to run on a mobile platforms. Have you done it before? Is it possible with minimal modification? Side note: I am new to both app development and javascript
I tried it on an iphone and it worked well. The error message might be a bit misleading. the memory block should always have the same size.
btw, what resolution does your mobile have?
720p I am running it on the sony xperia zr
Can you try to analyse the photo taken with your smartphone on your desktop pc?