cancel
Showing results for 
Search instead for 
Did you mean: 

HWC Problems Android Device ERROR : Resources not defined

Former Member
0 Kudos

Hello, I got some problems with the Hybrid apps on android device.

I'm using an android emulator and in an android device.

My apps on the emulators are ok, but when i open my app in android devices i get the error "Resources not defined" in a popup.

If when generate the app's check  Optimize java script, the error not appears but it's like the Jquery framework it's not working.

The app version is the same but the android version it's different.

Are any problems with the HWC and Android 4.4.2 version?

Android version on emulator 4.2.2

Android version on device 4.4.2

Thanks

Some info maybe helps

SMP server 2.3 SP3

Relay Server 16

Accepted Solutions (1)

Accepted Solutions (1)

Virinchy
Active Contributor
0 Kudos

Which version of HWC are working with in  Android device-4.4.2.  I tested a sample HWC applicaton in my device running  4.4.2 and its running fine

Sybase Hybrid Web Container - Android-Apps auf Google Play

Former Member
0 Kudos

Hi Viru p, The version of HWC is 2.3.3.6954, it's the same in the emulator and in the device.

The emulator it's the apk came with the SMP SDK 2.3, and the device it's installed from the play store.

Maybe the problem it's in the SDK

SAP Mobile WorkSpace Product

Version: 2.3 SP03

Build id: 201309221318

SAP Mobile WorkSpace - Mobile Business Object Development Documentation

Version: 2.3.3.20130922001053

Build id: 20130922001053

SAP Mobile WorkSpace - Hybrid App Package Development Documentation

Version: 2.3.3.20130922001053

Build id: 20130922001053

SAP Mobile WorkSpace - Eclipse edition

Version: 2.3.3

Build id: 201309221318

Former Member
0 Kudos

I tested the app in a device with android 4.2.2 and it's worked ok ,the problems are with the version of android 4.4.3

Any idea?

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos


If you look at official doc for smp 2.3 sp 03, you will come to know that sp03 doesn't support android 4.4. Supports till only 4.3



http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01914.0233/doc/html/kwi1384371589158...

SMP2.3 sp 04 supports till android 4.4 for android hwc based apps.

Google Android Versions for HTML5/JS Hybrid Apps

Virinchy
Active Contributor
0 Kudos

Dont know why , but it works perfectly here in android running 4.4.2 kitkat.

Former Member
0 Kudos

Hi Viru p,

Are your Android 4.4.2 based HWC apps hand written?  e.g. not using HWD?

I believe there is an update required for HWD generated apps.

Thanks,

Andrew.

Virinchy
Active Contributor
0 Kudos

Hi Andrew lee,

Developing a HWC application using SUP 2.2 SP04 , with screen designing in Mobile WorkFlow Forms editor , without any handwritten code .  runs successfully in my Nexus 4 Android running 4.4.2 ( updated from 4.2 -->4.3--> now running 4.4.2, device is not rooted )

I can understand officially HWC applications are not supported for 4.4.2 but would be very interested to know the possible reasons for this.

Former Member
0 Kudos

Because the version of jQuery/Mobile used in the 2.3 SP03 Mobile SDK still had this problem:

https://github.com/jquery/jquery-mobile/issues/6810

Thanks,

Andrew.

Answers (0)