Skip to Content
0

BarCode in SAPUI5 App using Cordova

Dec 19, 2016 at 01:18 PM

202

avatar image

Hi,

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.

Regards,

Firoz.

eclipse2.jpg (71.2 kB)
eclipse3.jpg (71.6 kB)
eclipse1.jpg (59.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jun Wu Dec 19, 2016 at 01:22 PM
0

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Jun,

Could you please let me know how do I pack my files from Eclipse as "native app" and run it on mobile device?

0

google cordova ui5

the blog also mentioned the steps, if you pay attention.

0

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.

Regards,

Firoz.

emulatorblank.jpg (21.2 kB)
0