Skip to Content

BarCode in SAPUI5 App using Cordova


I am trying to create a barcode scanner application using the blog.

However, when I run my application I am getting the following three pop-up messages and my application hangs.

1. gap_init:3

2. gap:[null,"CoreAndroid","messageChannel","CoreAndroid19815938"]

3. gap:[null,"CoreAndroid","show","CoreAndroid19815939"]

Following are the screen shots

Can someone help please.



eclipse2.jpg (71.2 kB)
eclipse3.jpg (71.6 kB)
eclipse1.jpg (59.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 19, 2016 at 01:22 PM

    you have to pack your stuff as native app and run from the mobile

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jun,

      I have followed the blog to pack it as native app and tried to run on the emulator as well as on my mobile (Samsung S7 Edge) But I am always getting a blank screen.

      I created one cordova project “hello” on D drive in a particular folder which resulted in the following file structure getting created

      When I run this from Cordova CLI I am getting the expected file on my android emulator.

      All is fine till here.

      However, after adding my SAPUI5 code from Eclipse into www folder

      and running the cordova project, I start getting a blank screen on the emulator.



      emulatorblank.jpg (21.2 kB)