Starting an activity from a random class
<p>I've adapted the <code>GridInputProcessor</code>-class of the 3D-Gallery ( <a href="http://android.git.kernel.org/?p=platform/packages/apps/Gallery3D.git;a=blob;f=src/com/cooliris/media/GridInputProcessor.java;h=91dfd4783be6b21ec8ff2518a5c244752570e90d;hb=HEAD" rel="nofollow">http://android.git.kernel.org/?p=platform/packages/apps/Gallery3D.git;a=blob;f=src/com/cooliris/media/GridInputProcessor.java;h=91dfd4783be6b21ec8ff2518a5c244752570e90d;hb=HEAD</a> ) so that it detects upward/downward swipes.</p>

<p>The detection of swipes works, but I now want to start another activity (or draw a bitmap on the currently displayed activity), but I seemingly can't use <code>startActivity(mContext, myIntent)</code>, because the class declaration is
<code>public final class GridInputProcessor implements GestureDetector.OnGestureListener, GestureDetector.OnDoubleTapListener {</code>
so it doesn't extend <code>Activity</code>...</p>

<p>Can I still start an Activity through this class, or how would I go about doing this? I have also tried sending a broadcast, but this is also not "implemented".</p>

<p>Thanks,
Nick</p>
