Hello,
I am trying to incorporate qr reader into our application (i.e. to have a small camera window inside tha app that is able to read qr code) - so the only posiibility is to have a native implementation for this.
1) My suggestion was to create a View (especially SurfaceView) inside android implementation and send it to codename one as PeerComponent which can be placed and sized as needed in terms of codename1 code. Will it work?
2) By that I tried the native demo which sends a button through native interface, but it doesn't work properly on new andorid (Nexus 7 - android 4.4.2). When I click the button to display another (the native) button nothing happens. When I click it many times some time in future many buttons appear. It looks like revalidate() does not refresh the natively-added components - maybe different threads?
When I'm adding CN1 button, it works. I also tried android.asynPaint=true and it's same.
Thank you very much for any hints.
Great work, Adam