| | |
Please help, tracing app.
![]() |
•
•
Join Date: Oct 2008
Posts: 2
Reputation:
Solved Threads: 0
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.
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.
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
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
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Oct 2008
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
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
![]() |
Similar Threads
- Why app is looking for "Default.aspx" (ASP.NET)
- VX2 burning me, need help plz (Viruses, Spyware and other Nasties)
- Is c # slower than c/c++ (C++)
Other Threads in the Java Forum
- Previous Thread: a program to draw a graph
- Next Thread: Binary Search tree help in Java 98% complete
| Thread Tools | Search this Thread |
2dgraphics @param account affinetransform android api apple applet application arc arguments array automation banking binary binarytree bluetooth chatprogramusingobjects class client code color compare component count database derby design detection eclipse eclipsedevelopment encryption error fractal game givemetehcodez graphics gridlayout gui guitesting helpwithhomework html ide if_statement image inheritance integer j2me java java.xls javadesktopapplications javaprojects jlabel jni jpanel julia keytool keyword linux list macintosh map method methods midlethttpconnection mobile monitoring netbeans nullpointerexception object open-source pong problem producer program project projectideas property reference replaysolutions ria rim scanner server set size sms sourcelabs splash sql swing terminal threads transforms tree ui unicode validation web windows






