Please help, tracing app.

Reply

Join Date: Oct 2008
Posts: 2
Reputation: NOTSomebody is an unknown quantity at this point 
Solved Threads: 0
NOTSomebody NOTSomebody is offline Offline
Newbie Poster

Please help, tracing app.

 
0
  #1
Oct 31st, 2008
Hi, I am developing an application about tracing for preschoolers.

Currently, I am developing a application and is using touch screen that does tracing. Currently, I am using mouseListener because if I am not wrong, touch screen basically equals mouse clicks. So now my application can does drawing. Next, I need to display a letter say "A", how can I validate it? E.g when user trace A, if position is right, tracing display, else tracing will not appear. My 2 cents was using colour recgonition. E.g, system display "A" in grey, when user click the "A" part which is grey in colour, ink become black and paint over the areas being traced. I have no idea how to start searching because I think I am being rather unclear. Hope somebody could understand me and give me some opinions as of how could I do it if what I think is not feasible or some resource for me to research on. If don't understand, feel free to post and I will try my best to explain again.

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,189
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 483
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: Please help, tracing app.

 
0
  #2
Oct 31st, 2008
Are you building this application with standard Java SE or you using Java ME? From problem description it sound more like you using JSE.
As far as I'm aware touch screen control is available only under Java Microedition through Canvas class methods pointerPressed(int, int), pointerReleased(int,int) and pointerDragged(int, int) including methods for pointers functionality detection
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2
Reputation: NOTSomebody is an unknown quantity at this point 
Solved Threads: 0
NOTSomebody NOTSomebody is offline Offline
Newbie Poster

Re: Please help, tracing app.

 
0
  #3
Oct 31st, 2008
Originally Posted by peter_budo View Post
Are you building this application with standard Java SE or you using Java ME? From problem description it sound more like you using JSE.
As far as I'm aware touch screen control is available only under Java Microedition through Canvas class methods pointerPressed(int, int), pointerReleased(int,int) and pointerDragged(int, int) including methods for pointers functionality detection
Thanks for your prompt reply. I am using JSE. Correct me if I am wrong, I did a search through google, the idea that I got was that touch screen basically equals to mouse movements hence say you touch the "start" button is equals to you click the "start" button using mouse. If that is the case, I think using JSE is possible using mousePressed, mouseReleased, mouseDragged methods.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC