Hello.
After a few tests with my iPhone on various sites (a few Django one etc) I was looking at WYSIWYG editors and realised they don't really work too well on small touch screen devices such as the iPhone. Infact, TinyMCE (which I use for most Django projects) just doesn't really work at all.
So I'm curious, is there a solution out t...
Wondering if anyone has written or come across a good way to log to the console the view that a touch occurred in. I know touchesEnded: can be implemented, but my problem is that something mysterious is blocking touches on my views and I don't know what it is. I would just like to know what is intercepting the touches.
I would like to l...
Hi,
I have several pages in my windows phone/silverlight project in a constructor of one of the pages added touch event handler like this:
Touch.FrameReported += Touch_FrameReported;
The problem is that it works for all the pages in my project, but I need to limit it just to one page. How can I do that?
How to make local touch event...
I am currently using pure OpenGL to paint buttons in my own little way.
I can detect if a button is pushed with onTouchEvent, but I want to know if the user is holding the button down, or if the user is no longer touching the screen.
...
I am trying to implement a scrollable element for a mobile app and it looks like you must use preventDefault on the initial touchStart event, otherwise the browser will not fire all the touchMove events (presumably for performance reasons).
So it would seem that if I want to allow touch scrolling on an overflown element, the user will n...
Hi
I was just wondering if I have a touchscreen device that has an onTouchListener, will current execution of a method switch immediately to that listener method when the screen is touched, and could this be used to trigger an interrupted exception of a try catch block.
For example, if I have a method that does something and then reduc...
I have a UIView which has a bunch of subviews. The subviews should be able to receive touch events, but for some reason the parent UIView takes the touch and does not pass it on. I have created it in a very standard way like I always create views:
UIView *myView = [[UIView alloc] initWithFrame:CGRectMake(0,0,1024,768)];
self.mainVi...
Hi,
I am trying to drag a view over the screen
FrameLayout main = (FrameLayout) findViewById(R.id.main_view);
final Ball bigball;
bigball = new Ball(this,50,50,25, 0xFFFF0000);
main.addView(bigball);
This draws a red circle on my screen. How and where do I need to implement my touchscreen-handling, if I want it only to trigger if som...
If you have used the Google Maps web app on your iphone or ipad you know what i am talking about. You can't see my fingers in this screen grab, but this is mid-pinch (if you will) zooming out. The detailed area was the initial map viewing area and the blurry bit outside is the extra map that has come into view mid-pinch.
The pinch-to-...
In the emulator on touching my button I want its image to be changed. I just want to bring my mouse pointer there, without click. This can be observed for thr keys of the emulator. On touch a blue image appears on the keys.
...
hi,
i have uiview "DummyView" and added two other views "StartView" and "ShowView" side-by-side into the DummyView.
When the app starts the StartView shows up. On this view is a UIButton, which triggers a translation animation to move the StartView to the left (out of the screen) and the ShowView into the Screen. On the ShowView, I hav...
In a subclass of UIView I have this:
-(BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event
{
if(touch occurred in a subview){
return YES;
}
return NO;
}
What can I put in the if statement? I want to detect if a touch occurred in a subview, regardless of whether or not it lies within th...
YUI 3 just recently came out with touch event support for their slider, so that it can be manipulated using touch screens on mobile devices like iPhones and Android.
However, it might be a while before there is a dual thumb slider (aka "range slider") made within the YUI 3 framework. Possibly it will take longer than the deadline for my...
Hi,
I'd like to know how fast iOS delivers touch events (touch phase move) to an application?
Are we looking at 10 updates a second, 25 updates a second?
Has anybody timed it (touch begin, start timer, user drags finger, count events, after five seconds count the events and produce an average?)
Thanks
...
Hi,
I am displaying a pub or a pdf file in webview.But i am not able to detect the touch on the webview.
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
above method is called when i touch any text of the pdf or pub file.How can i detect the click on the webview which is displaying a pdf or a pub file.Please help me...
Hi,
I'm new to objective-C programming for iOS. I'm struggling with a really simple task, drawing an image with code (not just including it in 'interface builder'). Here's the part of my code where I'm trying to put my image into the view:
UIImage *image = [UIImage imageNamed:@"Note.png"];
[image drawAtPoint:CGPointZero];
Simple. I ...
Hello!
I have a problem using the Carousel component of the Sencha Touch Framework. I have a component extended from a simple Panel that does the following:
var cardItems = [];
this.basicCard = new Ext.Component({
scroll: 'vertical',
html: 'Hello Carousel 1!'
});
this.basicCard2 = new Ext.Component({
...
So I'm making a simple game with a few irregularly shaped bitmaps drawn to the canvas every frame.
The bitmaps move around the canvas via simple motion math.
I'd like to detect when the user clicks on the bitmaps. They are PNGs with transparency of somewhat different shapes, and they are rotated via a matrix.
Is there a way to capture...
I have a question on how I should approach rotating a UIView with touch based events.
Quite simply, I want to rotate a UIView around an anchorpoint, depending on where I touch on and off within that view. Imagine a volume knob on a hifi, which you turn with one finger.
I've built a rotation method using CAKeyframeAnimation which carrie...
In android, most event listener methods return a boolean value. What is that true/false value mean ? what will it result in to the subsequence events ?
class MyTouchListener implements OnTouchListener {
@Override
public boolean onTouch(View v, MotionEvent event) {
logView.showEvent(event);
return true;
}
}
...