Questions tagged [shake]

An effect or gesture of rapid vibration. For example, shaking dialog box, shaking cell phone.

An effect or gesture of rapid vibration. For example, shaking dialog box, shaking cell phone.

277 questions
4
votes
1 answer

horizontal and vertical shake count using accelerometer in iPhone/iPad

I want to count number of shake horizontally and vertically, I have referred to UIAcceleration I have also referred to Motion Events But couldn't come up with better approach. Any kind of help is highly appreciated , code , reference, or any…
Kshitiz Ghimire
  • 1,716
  • 3
  • 18
  • 37
4
votes
1 answer

Android - How to "shake to erase"?

This may be an easy question, but I'm stuck. I am trying to implement the "shake to erase" feature in a drawing program (simple paint app). I can't get it to work. Here's my code: private final SensorEventListener mSensorListener = new…
Allison
  • 501
  • 4
  • 15
4
votes
4 answers

How to invoke Ajax based on phone shake?

I am trying to make my first web application for mobile devices. Is it possible to capture the "shake event" on android? I was looking on jquery moble library but there is no shake event or accelerometer events. Is it possible to have a Ajax call…
Arman
  • 4,566
  • 10
  • 45
  • 66
4
votes
2 answers

Node back to Position after TranslateTransition in JavaFX (shake TextField)

After a wrong insert i want to shake a Textfield. For that i have code a static shake animation public static void shake(Node node) { TranslateTransition tt = new TranslateTransition(Duration.millis(50), node); tt.setByX(10f); …
kayf
  • 87
  • 1
  • 11
4
votes
2 answers

Container height change makes children shake in safari

I created this effect on the top image , it sticks to the top while scrolling and hide... this is the the site: The site so it works great on chrome , firefox but in safari the image inside the container shakes, i tried with float left , also tried…
pashata
  • 336
  • 1
  • 2
  • 13
4
votes
2 answers

Shakin' things up

I have a little app here, and I would love to be able to do my own stuff in Vista/Win7 when I shake the form. Currently, when a form is shaken, it will restore/minimize everything else. But I want to change that behavior in my app only. So when my…
anon271334
4
votes
1 answer

Can I Increase Vector Precision in THREE.js?

In THREE.js, I occasionally find myself wishing for better control over vector precision, especially when working with large floats, such as in a solar system. Is there any way to do this? In the linked example, I'm building a simple solar system…
Zob
  • 460
  • 4
  • 14
4
votes
1 answer

Detect shake event in app background iOS7

This was always impossible in iOS6 and below however with the new multitasking API's etc in iOS7 I was wondering if it has become possible. I am developing an app that is for personal security... The user needs to be able to trigger an "an" inside…
Taylor Abernethy Newman
  • 1,162
  • 1
  • 11
  • 22
3
votes
2 answers

Detect shake event with Javascript, with all major browsers/devices (iOS, Android)

I have read Javascript. Listen for iPhone shake event? and Detecting shaking in html5 mobile which gives a good solution to detect a mobile phone "shake" event: