touch

Touch Screen System: Can we run our normal dot net application on touch screen computer system without any change

Hi, I have an application that is build in dot net 3.5. Basically it's a web application (asp.net and flash). Is this application need any modification while opening on Touch Screen Computer System. I mean to say who will manage interaction with an application. Is application required any change or system will manage it self. Thanks in ...

Bug in UITabBarController?

Hey guys, Something very strange is happening to me. I've been double and triple checking myself. I'm using a UITabBarController, and initializing it with 4 different view controllers. However, for some reason, when the application starts, only the first tab bar image is displayed. It's only when I touch the blank part of the tab bar - ...

Detect touch in UIImageView in UIScrollView.

Hi i have images in my UIScrollview which is added in View. plz go through my code- @interface ScrollViewController : UIScrollView <UIScrollViewDelegate>{ UIImageView *productImage; UILabel *productName; NSArray *productArray; } @property(nonatomic,retain) UIImageView *productImage; @property(nonatomic,retain) UILabel *pr...

Touch Screen Simulator: Are there any windows simulator to test application in touch screen environment.

Hi, I want to test my application in touch screen environment. My application is a web site build in asp.net(.net framework 3.5) and flash. I want to test my application with the simulator with Windows XP/Vista/7. Please let me know is there any simulator released by Microsoft or any third party where I can test my application. Thanks...

Android emulator

How can i test touch enable app using eclipse with android emulator? Plc help me..... ...

Android: custom button shape

I'm trying to achieve a custom controller containing of various buttons in different shapes. I'm wondering how I can achieve this with Android. The result should look similar like this, where every color is a different button. I suppose I have to subclass View so please don't write that as an answer ;-) Please give some methodical ste...

UIImageView Touch Event

Hi, I want to call my button click event while touching the uiimageview named as(image1).Imageview placed in uiview(view1). This is my code: - (IBAction)buttonClicked:(id)sender { myTimer = [NSTimer scheduledTimerWithTimeInterval:2.0 target:self selector:@selector(alphabutt:) userInfo:nil repeats:NO]; } -(IBAction)alphabutt:(id)s...

VEMap: pan and zoom work separately; together, zoom no longuer works

I was trying to make Bing Maps's VEMap compatible with touch devices, in particular the iphone / webkit mobile. In the following example, this works: - pan using one finger - zoom in/out using pinch (two fingers) However if I put both in the same time, then the zoom doesn't work anymore: you can see in the console that VEMap.ZoomIn()...

Printing to a bluetooth printer using iPhone

Hey folks. I wasn't able to find a clean answer on this, is there or is there not a way to connect my iPhone to a bluetooth printer to execute some printing tasks? I'm developing the app myself, so what framework could possibly do this? i read that Apple's External Accessory Framework handles bluetooth communication, but is it possible ...

AVAudioPlayer plays music in iPod 2nd gen and 3rd gen

Hello everyone, I'm trying to play an audio file in iPhone and iPod with AVAudioPlayer, the code works fine in iPhone and iPod touch 4th generation, I could hear the music. but when I test it on iPod touch 2nd, iPod touch 3rd, I couldn't hear anything. Below is the code I use for playing audio file, is there anything I miss here: NSS...

Detect scroll event on Android browser

Hello, I'm trying to detect the scroll event in Android browser (my specific version is 2.1, but U want it to work also on older versions). This seems impossible! I first tried this: document.addEventListener('scroll', function(){ alert('test'); }, false); But nothing is triggered (except when the page load). I thought: well, let's...

Position both the safari "touches" from a gesture event?

I want to get the position (relative or otherwise) of the two fingers/touches inside a gesture event (gesturestart, gesturechange, gestureend) on mobile Safari (iOS: iPad/iPhone). I know that the gesture* events don't actually provide this in the event args but i thought there might be a 'trick' to getting this info. It would be great to...

Subclass of UIViewController don't catch touch event

I have a parent class (A) that is UIViewController. Than i create class B that is subclass of class A. What happens is that i can't catch touch events in class B with methods like touchesBegan. But if i implement this methods in class A ... they get called. @interface A:UIViewController ..... @interface B:A ...

Android TOUCH_MOVE event not firing in avd or device

In fact, only the touch_down event will fire. Basically, I'm trying to implement a drag feature in my app so I need the touch_move event. I have a method that writes out the touch events to the LogCat in Eclipse but the touch_down is the only event that shows up. not even touch_up shows up. I have this problem when I debug on the device ...

Triggering the ":active" pseudo-class on a touchscreen

I'm currently developing a JavaScript application which will be deployed on a touchscreen kiosk running Chrome in kiosk mode. I've noticed that when I use a mouse to click the buttons on the interface, the styles applied by the ":active" pseudo class is visible when the mouse is down. My problem is that the same button triggered by touc...

Android: delegate touch event to underlaying view

I have the following hierarchy: [Activity] -> [PopupWindow] -> [CustomView]. My the PopupWindow itself is a square, but transparent, so you can see the Activity sitting in the background. The CustomView is a circle embedded inside the PopupWindow. What I have achieved so far is User clicks on green circle and I invoke "some stuff" U...

iOS - detect when more than one finger is on the screen

I'm looking for the best way to detect more than one finger on the screen at time. I'm not detecting taps or pinching, just the fact that more than one touch is happening. There don't seem to be any gesture recognizers for that. What's the best way? ...

How to avoid multiple touch in Bar Button item in iPhone?

Hi frieds, I have created tool bar and set the UIBarbuttonItem in that tool bar.When i clicks the bar button, i have just removed one custom view. I want to avoid the multiple touches of the bar button items, because sometimes the user clicks the bar button items more than one.( It happens some time only). Here my sample code, UI...

iOS - forward all touches through a view

I have an view overlayed on top of many other views. I am only using the overaly to detect some number of touches on the screen, but other than that I don't want the view to stop the behavior of other views underneath, which are scrollviews, etc. How can I forward all the touches through this overlay view? It is a subcalss of UIView. ...

UIScrollView - detect second touch while scrolling

I have a subclass of UIScrollView that implements this method: -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { NSLog(@"touches: %d", [[event allTouches] count]); [self.nextResponder touchesBegan:touches withEvent:event]; } This gets called when I first touch the scroll view. However, if I begin dragging th...