Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 37
Registered: ‎09-26-2011
My Device: Anything that goes up from JDE 6.0

Detect navigationClickHold() for CommandItemProvider

Hi all,

I'm stuck with navigation issues and can't find info about it.

 

I've developed a PaneManagerView and I've attached a CommandItemProvider to it.

I've overrwritten it's navigationClick() and TouchEvent(TouchEvent.CLICK) with a Dialog.Alert().

 

Ok, the thing is that when I click touching the screen, the Dialog.Alert() works properly, and if I hold the finger, then the popup with the CommandItems shows up.

When I try to do that with the trackpad, it only shows the Dialog.Alert() I can't seem to detect the hold down event.

 

The only info I've found is this:

http://docs.blackberry.com/en/developers/deliverables/17965/Trackpad_1025361_11.jsp

But navigationClickHold() doesn't exist on the APIs.

Can someone give me a hint about where should I look into?

 

Thanks a lot for your time.