Gesture API not working as window.adobeDPSHTMLNative is missing on Android and possibly iOS

Avatar

27-08-2015

Hi,

we cannot use the gesture API or deploy the given example. Further investigation revealed that the window.adobeDPSHTMLNative is missing, which appears to be crucial for this to work. Any idea on this?

Kind Regards,

Jan

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

27-08-2015

Yes we have used the latest version. It's deployed on Android 4.4.4 (Tablet) and Android 5.0.2 (phone).

Avatar

Avatar
Boost 5
Employee
mikecyang
Employee

Likes

10 likes

Total Posts

54 posts

Correct reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
mikecyang
Employee

Likes

10 likes

Total Posts

54 posts

Correct reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
mikecyang
Employee

27-08-2015

Are you using the latest version of the HTML Gesture API and example (found here)? If so, which version of Android are you testing it on (phone & tablet)?

Avatar

27-08-2015

Yes, we uploaded the example in an android app. As it was not working, we started investigating and saw that the library 'dpsHTMLGestureAPI.min.js' requires an Object adobeDPSHTMLNative. This object was not available which seems to be the reason why pressing the Toggle Navigation UI button did only log a message. It worked neither on Android Phone nor on Android Tablet.

Avatar

Avatar
Boost 5
Employee
mikecyang
Employee

Likes

10 likes

Total Posts

54 posts

Correct reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
mikecyang
Employee

Likes

10 likes

Total Posts

54 posts

Correct reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
mikecyang
Employee

27-08-2015

Hi,

The adobeDPSHTMLNative is a native object provided by the DPS2015 App. Are you loading the example in an App? If so, which device is it: iOS, Android, or Windows?