Advice needed on VideoView Positioning
<p>I am looking for a bit of advice on how to approach this situation in Android:</p>

<p>Let's say I have a video that can be broken up into 4 separate frames for each single main frame, IE.</p>

<pre><code>xxxxxx|oooooo
xxxxxx|oooooo
xxxxxx|oooooo
—————————————
yyyyyy|zzzzzz
yyyyyy|zzzzzz
yyyyyy|zzzzzz
</code></pre>

<p>(I apologize for the crappy diagram)...</p>

<p>Now let's say I want to only display just one of those sub-frames at a time, and that is where I'm asking for the advise.</p>

<p>I've thought of several approaches, but I don't think they'd work well, if at all:</p>

<ol>
<li><p>Using the drawing cache and manually setting an image frame-by-frame. This approach won't work at all on hardware accelerated devices with a SurfaceView (IE. VideoView), not to mention the processing required to create a multitude of Bitmaps would be hefty, cause lag, and would create a crappy user experience. So I've nixed that idea.</p></li>
<li><p>Shifting the coordinates of the video within the VideoView itself to only display the desired portion. I think this may be the best approach I'm aware of, but I honestly don't know where to start this one. I figured I'd have to create my own custom VideoView, but I'm not sure how I would actually draw only portions of the video at a time.</p></li>
</ol>

<p>But yeah, does anyone have any advise or suggestions on how I should tackle this challenge?</p>
