I have a main view that has has two buttons on it that control methods to display the next image and display the previous image. In this case the 'Image' is a class that inherits from UIImageView and has multiple pictures on it that you can interact with, and I call this class a 'Pane'. The pane itself handles all the user interaction it...
Hi,
I need to change the color of the iPhone screen when i touch on it. The only thing i need to do is to change the color of the area where i am touching. if i am placing a star on the screen as touch then only that area color will be changed.
Any idea about this?
Thanks in advance,
SMAK
...
I'm working on a C# application with two Windows forms. Both forms are full screen and one form sits on top of the other form as a transparent overlay. The bottom form contains a web browser (also full screen). I'm tracking touch input on the transparent overlay form in order to capture gestures and draw buttons and other controls on the...
I have a question that is pretty similar to this one.
Is it possible to make the jQuery UI draggable and sortable interaction work on in the Android browser?
...
hello all,
I am a newbie in iPhone development.
In my project there is one requirement that while editing text the iPhone's built in buttons Copy, Paste and Select all are available. I want the touch event on all these buttons and also want to display an action sheet title upon their respective touch events.
...
Is it possible to detect another finger touch during one finger is touching on the screen? I need to deal with the gesture of the 2nd finger during which I don't want my first finger to leave the screen. What should be the general logic in the code to handle this?
Thanks.
...
Is there any way to get iPhone coordinates without relying on javascript callback events? touchmove generates way too many events to be used in any kind of tight loop (like a game), and without multi-threading, the only option would seem to be non-event driven input coordinates.
...
Hello,
I'm trying to present some UIModalFormSheets in a my iPad application. It's working without any problems, except one thing:
When I have my iPad in landscape mode my modal form sheet is moving to the center of the screen and THEN rotates into the appropiate angle. All I want is to present the modal form sheet in the right angle a...
Hello, in iPhone SDK there are touchesBegan, touchesEnded and touchesMoved functions that are called when a touch event appears. My problem is that when I put a finger on the screen and I'm not moving it there is no way to know if there is a finger on the screen or not. Is there a way to get current touch screen state?
In any of touches...
The TouchUtils class in the android documentation has functions like drag()
http://developer.android.com/intl/de/reference/android/test/TouchUtils.html#drag(android.test.InstrumentationTestCase,%20float,%20float,%20float,%20float,%20int)
but they do not support multi touch gestures, like a two finger swipe.
Looking at the MotionEven...
Hi all,
Could someone please tell me how to make an image appear when the user taps the screen and make it appear at the position of the tap.
Thanks in advance,
Tate
...
Using ScatterView control shipped in Windows Touch WPF. I want to prevent inertia from happening on a scatterview item. But I still want to allow user to move, scale and rotate the item.
So I try this...
ScatterviewItem svi = new ScatterviewItem();
svi.ManipulationDelta += OnManipulationDelta;
...
void OnManipulationDelta(...
Hello,
This is the 2nd time I have asked this. How do I draw an image at the location of the user's tap every time the user taps the screen?
Could you please leave a sample project or code because I am new to iPhone programming and have a hard time understanding certain methods etc.
Thanks,
Tate
...
Bug
I have a weird bug in my piano app. Sometimes keys (and thus notes) hang. I did a lot of debugging and narrowed it down to what looks like androids inaccuracy of motion event handling:
DEBUG/(2091): ACTION_DOWN A4
DEBUG/(2091): KeyDown: A4
DEBUG/(2091): ACTION_MOVE A4 => A4
DEBUG/(2091): ACTION_MOVE ignoring
DEBUG/(2091): ACTI...
Hi,
I've just started looking at doing some basic mobile web development on the android and an writing a test script to investigate the touch events. I've run the following code in the android emulator, and the touchend event never gets fired. Can anyone tell me why ?
I've tried in three versions of the emulator (1.6, 2.1 and 2.2) and...
I'm having some problems with storing variables from my touch events. The warning I get when I run this is that coord and icoord are unused, but I used them in the viewDidLoad implementation, is there a reason why this does not work? Any suggestions?
#import "iGameViewController.h"
@implementation iGameViewController
@synthesize pla...
I'm having a bit of a problem trying to get touchesBegan to respond to multi touch.
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
NSSet *allTouches = [event allTouches];
for (UITouch *touch in allTouches)
{
CGPoint location = [touch locationInView:touch.view];
if(CGRectContainsPoint(snare.frame, location) && l...
I have a subview of a split view that is presenting a modal view but I need the modal view to take up the entire screen, not just the bounds of the presenting view, is there any way to do this?
...
I'm looking to shorten the touch delay on a UIScrollView, but I don't want to use setDelaysContentTouches:NO; I still want there to be a slight delay but my users are complaining about it being too long.
Is there a way to do this?
...
I know this must seem like an extremely basic question for most iphone devs, but so far have been putting all my code logic into a single view controller, and want to start making better use of delegates, breaking up my code into logical components.
I have a simple ViewController based application and want to add tap detection. There is...