01-23-2018 20:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-23-2018 20:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Basically I am trying to get my app to repeat vibrations when I push a button, which I have sort of figured out. But whenever I start the while loop of vibration starts, I get an error that says Force-terminating unresponsive app.
Any ideas on how to fix this?
Answered! Go to the Best Answer.

Accepted Solutions
01-23-2018 21:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


01-23-2018 21:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Your loop is probably not relinquishing control to the operating system quickly enough. I think you only get to hang onto control for 5 or 10 seconds before being killed. It's better to use an event-driven approach rather than wait loops.
Gondwana Software

01-23-2018 21:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


01-23-2018 21:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Your loop is probably not relinquishing control to the operating system quickly enough. I think you only get to hang onto control for 5 or 10 seconds before being killed. It's better to use an event-driven approach rather than wait loops.
Gondwana Software

