First off I am using this library in my app http://www.jjoe64.com/p/graphview-library.html to create the graphs.
I'm deploying an app which create a cursor using a OverlayView. I'm able to move it around the screen and outside my app (service).
But now I want to implement the touch event. I'm running the cursor in a service, so I can still move it in the menu or anywhere.
I m working on touch event ...i wanna when i touch the screen with equal or more than five than after that my application will be closed but i do not understand on touch properties like
i used both Fragmentation & View Pager in my project
how to work these properties when my finger touch screen
1.MotionEvent.ACTION_DOWN
2.MotionEvent.ACTION_MOVE
3.MotionEvent.ACTION_POINTER_DOWN
4.MotionEv
I am in a tricky situation, hope you can help me with it. I have few views (TextViews), horizontally placed one after another in a linear layout. When I press on textview1, drag my finger to any other textview and release touch, I want to be able to get the view(textview) on which the finger was lifted.
in my application on touch event i want to drawrectangle-i tried this.butnot getting exactly how to draw.please help me.
i want to draw rectangle on points where is touched.
how can i use getX() and getY() in drawRect() method?
below is code-
public boolean onTouch(View v, MotionEvent event) {
if(event.getAction()==MotionEvent.ACTION_DOWN) {
int X=even
My MP3/MP4 does not plug-in and play and therefore I can not transfer any file to the MP3/MP4 dane-elec music my touch or only dane-elec with 8 gb in memory and perhapses model zt1 with radio,..and microsdhc card slot
following the above link the mp3/mp4 is there and it is MP3 Player: TOUCH MY MUSIC and the complete information is on this site http://www.danedigital.com/8-Music-Media-Players/2-mu
Apple claims that both Samsung and Motorola infringed on their touch event model patent (EP2098948), but the Mannheim Regional Court just came down with a decision in favor of Samsung and Motorola. The touch event model patent shouldn’t be mistaken for multitouch.
I am a student developing a project on android "Access a android device remotely via another android device (phone/tab)" as my major project.
In that, I want to perform automatic screen touch if i give the coordinates at which to do so.It is running in background as a service and
i already know that to perform this action i have to write some line of code in event file-2 (if i am not wrong) name
Well I had a query about Ubuntu Touch.
If I am planing to buy a new phone now, what phone models should I be searching for so that when Touch is released, I can make as smooth a transition from the old OS to touch as possible?