Return Result into the Webview

51 просмотр
Перейти к первому непрочитанному сообщению

Moises Duarte

не прочитано,
26 мая 2013 г., 21:30:0226.05.2013
– zx...@googlegroups.com
Hi

I'm using webview to try scan barcodes, in my HTML  I have a link: <a href="http://zxing.appspot.com/scan?ret=http%3A%2F%2F192.168.0.2%2Fsaf%2Fvendas2.php%3Fproduto%3D%7BCODE%7D&SCAN_FORMATS=UPC_A,EAN_13" >Scanner</a>

However, I would like to return the result (the result URL) within my webview. But when the barcode is recognized by zxing it returns on android's (native) web browser.

Somebody can help me? Thanks a lot.

Lachezar Dobrev

не прочитано,
27 мая 2013 г., 05:07:5527.05.2013
– Moises Duarte, zx...@googlegroups.com
There has been a similar thread some time ago.
I don't recall the original poster, so please do the search.
The technique is to build a custom WebViewClient that handles
requests for scanning on it's own, calls the Barcode Scanner, and then
processes the return value, and steps around the Scanning From Web
Pages method.

2013/5/27 Moises Duarte <moises...@gmail.com>:
Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений