Creating touchscreen buttons

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Journey44
Forum Newbie
Posts: 2
Joined: Mon Jun 23, 2008 7:08 am

Creating touchscreen buttons

Post by Journey44 »

Hey all!

Im doing a project for a touchscreen, in a text-based world!

I have limesurvey up and running- but since its a touchscreen kiosk, there won't be a keyboard available. So my thought was to run a script to display pressable icons - In this case, the images of the local radio stations.

The theory being- User presses a button on the screen, it registers as a click, and the script automagically takes this as standard input rather than a keyboard.

Anyone have any experience/direction? :mrgreen:
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Creating touchscreen buttons

Post by Kieran Huggins »

if it's in a browser (which presumably it is since you're here) focus on making the buttons easy to hit with your finger. BIG is the answer.

Most touch screen devices just register a touch as a mouse click, so there's not too much different.
Journey44
Forum Newbie
Posts: 2
Joined: Mon Jun 23, 2008 7:08 am

Re: Creating touchscreen buttons

Post by Journey44 »

Yes- the plan is to display it as localhost on Firefox ( Everything security conscience otherwise) When I skimmed the surface of touchscreen programming with qt4, I figured that a touch was considered the same as a mouse click.

My thinking was to have Limesurvey left justified, and have this ... box of choices .... to the right, set to always on top.
User clicks an icon corresponding to a radiostation (I.E. fly92), Limesurvey gets Fly92 in text and moves to the next question.

This is to be operated on 12" touchscreens, and we were thinking no more than 8 choices in the box. Worst-case scenario, theres a next tab in the box to cycle through choices ... but I'm certainly not at that point yet.
Post Reply