質問

How do I write code to handle event that are fired when the track ball in a black berry app is swiped left and right?

役に立ちましたか?

解決

The navigationMovement method of the selected field is called when such an event occurs. You can override it an place your logic there. The first parameter helps you determine what kind of movement it is(left/right) :

dx - Magnitude of navigational motion: negative for a move left and postive for a move right.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top