0

I and using Hyperion tool in my app. By default it gives details on shaking of device. For implementation referred this link

I want to move this to any other gesture because I am already using shake for some other feature. How can I do that?

ColdFire
  • 6,764
  • 6
  • 35
  • 51
unflagged.destination
  • 1,576
  • 3
  • 19
  • 38

1 Answers1

1

At the moment there's no way to turn off the shake gesture to open the drawer, but you can get around this by setting the sensitivity to a really high value so it doesn't open on shake with

Hyperion.setShakeGestureSensitivity(someHighValue)

Next, you can implement a custom gesture that calls

Hyperion.open()

to open the drawer.

A new issue was just filed to allow disabling the shake gesture.

CarefreeCrayon
  • 249
  • 2
  • 7