Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Android and HTML Overlays DPS 2015

Avatar

Level 5

‌Hi, I have an HTML overlay that has radio buttons. Each time I tap to check a box in the form, the top Chrome/Nav bar displays, then goes away when I tap to check the next box. Do the same DPS Gesture APIs work for Andriod as they do for IOS? For the IOS version, I just added onclick " " to the body tag and that worked.

Thanks!

Jeff

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Mike,

The download at https://forums.adobe.com/servlet/JiveServlet/downloadBody/6121-102-1-8030/20150706%20Adobe%20DPS%202... has a code sample and complete documentation on how to use the gesture API to disable the chrome from appearing when tapping.

Neil

View solution in original post

4 Replies

Avatar

Employee

Hi Jeff,

Yes, the gesture APIs work on all three platforms the same way. Having said that you shouldn't have to do anything special to avoid the chrome coming up when the reader taps on a check box. I'm pretty sure this is a bug in Android that we fixed last sprint and should be available in our release going out this week. Similarly, you shouldn't have to do anything special on iOS or Windows either.

I'll double-check tomorrow.

Neil

Avatar

Employee

Hi Jeff,

I was half right: we fixed this bug, but it only affected text boxes. We aren't seeing the problem with check boxes or buttons using your sample content. Having said that, on a phone the touch targets can be kind of small and if you're just outside the checkbox or button you will see the chrome come up. Pinching and zooming in does make it for larger tap targets.

What device and OS version were you trying this on?

Neil

Avatar

Level 1

Neil,

My name is Mike and I'm the programmer working on this with Jeff. I have surrounded my input tags with label tags so that the whole sentence is clickable. I thought this would have fixed the issue sense you mentioned the radio button needed to be bigger but we are still having the same issue. I also thought that we might be able to fix this by using the Gesture API that is new with DPS 2015, but I'm not finding any documentation on how to use it or if it's for the same menu options we are trying to prevent from showing. I can provide any code you may want to see to help us get this problem resolved.

Thanks for your help in advance.

Mike

Avatar

Correct answer by
Employee

Hi Mike,

The download at https://forums.adobe.com/servlet/JiveServlet/downloadBody/6121-102-1-8030/20150706%20Adobe%20DPS%202... has a code sample and complete documentation on how to use the gesture API to disable the chrome from appearing when tapping.

Neil