unix-toolbox.js-exact-image icon indicating copy to clipboard operation
unix-toolbox.js-exact-image copied to clipboard

Running in Intel XDK framework on Android device

Open shrikis opened this issue 11 years ago • 3 comments
trafficstars

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

shrikis avatar Jun 28 '14 17:06 shrikis

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?

manuels avatar Jun 29 '14 21:06 manuels

720p I am running it on the sony xperia zr

shrikis avatar Jun 29 '14 23:06 shrikis

Can you try to analyse the photo taken with your smartphone on your desktop pc?

manuels avatar Jun 30 '14 13:06 manuels