| | |
Please help, tracing app.
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
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 |
911 actionlistener addressbook android api append applet application array arrays automation binary bluetooth character chat class classes client code component consumer csv database desktop draw eclipse error event exception fractal ftp game givemetehcodez graphics gui html ide image input integer j2me japplet java javaarraylist javaee javaprojects jmf jni jpanel julia linked linux list loop mac map method methods mobile netbeans newbie objects online oracle oriented panel print printf problem program programming project projects properties recursion replaydirector reporting researchinmotion robot rotatetext rsa scanner screen se server set size sms sort sql string swing template test threads time tree ubuntu windows working






