TWiki
> Main
>
HowToLetUserPressButtons
How To: Let the user press buttons to control the mediascape
When you desing a mediascape you sometimes want to get information from the user. In its simplest form you just want the user to tap on a button to indicate something to the mediascape. There are several approaches to this.
Use an image with a hotspot
A hotspot is a rectangular part of an image that the user can click on. Importing an image and adding one large hotspot is pretty easy.
It is possible to add several hotspots but getting them in the right place is very much a 'do-it-yourself' activity and requires creating an image with rectangular buttons on and then measuring the positions and dimensions of those buttons so that you can key this information in.
See
Using hotspots in an image?
Using HTML or Flash
Both of these can be used to create buttons that the user can press. The fact that the buttonhas been pressed can then be communicated back to the mediascape and appropriate actions taken.
See
How to use HTML (web page markup) in a mediascape
See
How to use Adobe Flash in a mediascape
Use the real hardware buttons on the mobile device
Many mobile devices have hardware buttons. It is quite easy to make your mediascape react to these buttons.
See
How To: Use Hardware Buttons