• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what UI to use for touch screen application

 
swapnel surade
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have to develop an application which is touch screen application.
In that user is able to touch the screen and particular button is get pressed from touching the screen.

what should I use to show the UI ?

thanks in advance
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm guessing your touch screen device has an API you can use?
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on the system.
Can you use Java SE? Then go for Swing. If I recall correctly, touches are handled as mouse events.
Can you use Java ME? Then go for that.
Any other systems?
 
swapnel surade
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there also a task in that i have to press particular button for particular amount of time.
means that button is get pressed for near about 5 secs...

is it possible using any api or i have to use thread operation.

its just like toggle button operation but for particular amount of time after that button should get released....
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As we've asked you before, please tell us which device you're programming on. I can tell you to look at MouseListener, JButton etc but that won't make any sense if you're stuck to JME.
 
Karan Johar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Touch Screen applications are no different from other ordinary applications, except that instead of mouse person is using touch-screen mechanism. So, the application 'usually' does not have to do anything special. It is the device which should be capable of translating 'touch' on the screen into a mouse event for underlying UI.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic