views:

36

answers:

0

Hello all,

I am using the wikitude API within my app. For those who may not know, wikitude is an Augmented Reality app that displays poi's (points of interest) via the phones camera. Within the wikitude API, on selecting a poi, the user is presented with a pre-developed dialog window that consists of a text view & two buttons. The action undertaken by each button is specified via this bit of code:

poi.setDetailAction(MyClass.CALLBACK_INTENT);

Baisically, because all the onclick events is handled within the wikitude api I am unsure of how to implement a context menu in this manner. Could I create a context menu in the onCreate method of a new Activity (as specified by CALLBACK_INTENT) or could I be more streamlined and do it within the current Acticity?

Many thanks in advance!

Anyone?