Here are some suggestions. They may possibly be unfeasible or ill-
thought out, but they are just suggestions:
If you added an <onLngPress> (and maybe even an <onDblPress>) event,
on each feature, it would extend the possiblities greatly.A long press
could do something like bring up a customized menu, which I explain,
below. A user could double press for a different action to the single
press action.
Speaking of actions, there are only 3 available - 'refresh', 'webpage'
and 'dimension'.
As you have pointed out, ''webpage is ill-named and thankfully very
flexible. It can call any intent, which is great. I understand that
you are thinking of having 'intent' as a new action.
However, is it possible to bring up a customized menu, perhaps using
another action, 'menu'? Imaginatively, consider the extra flexibility
this quite simple addition could make to Gamaray. It can't be a huge
amount of Java/Android programming, can it?
Examples of use would be a click on an image displaying a company logo
could take you to the web-site, but a long press could take you to a
menus of alternatives, like call the company, look it up on a map etc.
This is all very Android-compatible behavior, only now linked to
objects in a Gamaray environment.
The hierarchy could be included in the dimension, thus:
<menus>
<menu id="myMenu" >
<menuItem id="Item1">
<name>My 1st Menu Item</name>
<press>dimension:
http://www.mydimensionserver.com/AnotherWorld
</press>
<lngpress>menu: my2ndMenu </press>
</menuItem>
<menuItem id="Item2">
<name>My 2nd Menu Item</name>
<press>url:
http://www.myfirstsite.com </press>
<lngpress>intent: tel:+5551234567 </press>
</menuItem>
<menuItem id="Item3">
<name>My 3rd Menu Item</name>
<press>url:
http://www.mysecondsite.com </press>
</menuItem>
<menuItem id="Item4">
<name>My 4th Menu Item</name>
<press>url:
http://www.mythirdsite.com </press>
</menuItem>
</menu>
<menu id="my2ndMenu">
<menuItem id="Item5">
<name>My 4th Menu Item</name>
<press>url:
http://www.myfourthsite.com </press>
</menuItem>
</menu>
</menus>
What do you think? Just some ideas....