[android-developers] Re: GestureOverlayView throwing exception when used with Linkify

2010-05-28 Thread MrChaz
The context I'm using to do what? Creating the GestureOverlayView? On May 28, 5:26 pm, Romain Guy romain...@android.com wrote: Here's your problem: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is

[android-developers] Re: GestureOverlayView throwing exception when used with Linkify

2010-05-28 Thread MrChaz
Right, fixed. passing getApplicationContext() rather than 'this' was the problem. Thanks. On May 28, 5:26 pm, Romain Guy romain...@android.com wrote: Here's your problem: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the