Navigating to other views in code from a SurfaceView
<p>Im experienced iOS dev but new to Android dev and asking some newbie questions here...</p>

<p>I am making a app that does a lot of custom drawing of png's and animations and has no standard UI elements at all, and I have choosen to go down the SurfaceView road. I handle all the detection on what is touched in my SurfaceView code also.</p>

<p>But how on earth do I handle navigation between views from within my SurfaceView code? How do I e.g. navigate to a activity called QuizActivity? In a "normal" view/activity I do it like this:</p>

<pre><code>Intent intent = new Intent(getBaseContext(), QuizActivity.class);
startActivity(intent);
</code></pre>

<p>But I do not have access to getBaseContext and startActivity from within my SurfaceView, and even if I did would doing this result in multiple views loaded at the same time?</p>

<p>Bottom line: How do I implement this navigation manually in my code from within my SurfaceView?</p>

<p>Thank you
<br>Søren</p>
