Creating a dynamic (video) Overlay on Google Maps on Android 2.1

Posted by Soumya on Stack Overflow See other posts from Stack Overflow or by Soumya
Published on 2010-04-20T13:15:18Z Indexed on 2010/04/20 22:23 UTC
Read the original article Hit count: 407

Filed under:
|
|
|
|

I'm trying to create a map overlay for displaying a video stream (MJPEG) on top of a Mapview.

Currently I've a standalone activity that creates a data thread for fetching MJPEG video frames. I'm using a handler to send a frame (as a Bitmap) from the data thread to the main activity which then updates the UI.

I'm not sure how I can implement "refresh" for updating my "overlayed" video stream.

EDIT: What I mean by "refresh" is - how can I update the video portion (not the mapview) of my UI whenever I get a new video frame. I plan to paint the video frame (bitmap) in the "draw method" of my implementation of the Overlay subclass. But the "draw" method is not invoked by me directly.

Thanks.

© Stack Overflow or respective owner

Related posts about android

Related posts about googlemaps