videodronesmp
New Member
Hello, I just downloaded the trial over the weekend and am liking it so far. I have been "programming as a hobby" with VB.net for the last several years and was trying to switch over to eclipse+Java for Android development and I was about to give up until I came across this program.
Anyway, now to the question I have.
I found Activity_Touch, which works as far as passing the x and y coords if you do not click on any control, these values also update/change when you keep the activity pressed and move around on the activity. Now my question is there any way to get the x and y values if you click and hold down on a button and slide to an empty spot on an activity/form?
Purpose: To let the user move a control from one part of activity to another. I see that on an ImageView there is not a Down event, only a Click and Long Click. With button there is a Down event that I may be able to work with, if I can find a way to see where user is on the screen.
I have found that I can do it by having user click the control and then clicking somewhere on the activity and it moves there with code, I would like a drag and drop way to do this though.
Thanks for any help!!
:sign0104:
Anyway, now to the question I have.
I found Activity_Touch, which works as far as passing the x and y coords if you do not click on any control, these values also update/change when you keep the activity pressed and move around on the activity. Now my question is there any way to get the x and y values if you click and hold down on a button and slide to an empty spot on an activity/form?
Purpose: To let the user move a control from one part of activity to another. I see that on an ImageView there is not a Down event, only a Click and Long Click. With button there is a Down event that I may be able to work with, if I can find a way to see where user is on the screen.
I have found that I can do it by having user click the control and then clicking somewhere on the activity and it moves there with code, I would like a drag and drop way to do this though.
Thanks for any help!!
:sign0104: