Screen capture from video stream

by sheffanet » Thu, 21 Oct 2010 15:28:15 GMT

Sponsored Links
I want to get a screenshot from the video which is showing.
Is it possible to get screenshot from video stream?

Any ideas?



Other Threads

1. Broadcasting reboot intent

I am trying to reboot Android by broadcasting Intent.ACTION_REBOOT
from my activity.

I believe that I have given it all the proper permissions to send such
a signal but when I launch the activity, nothing happens.  I saw a
similar post about this back in May, but no responses.


ActivityManager  I  Starting activity: Intent
{ action=android.intent.action.MAIN categories=
{android.intent.category.LAUNCHER} flags=0x102000
                                  00 comp=
{} }
ActivityManager  I  Start proc for
activity pid=1397
                                  00 gids={}
ShutdownActivity  D  creating activity: for reboot
ShutdownActivity  I  rebooted
InputConnectionWrapper  W  showStatusIcon on inactive InputConnection
ActivityManager  I  Displayed activity 564 ms

Note that there is no denial to send the Intent, just silence.  Here
is the activity code:

public class ShutdownActivity extends Activity {
    private static final String LOG_TAG = "ShutdownActivity";

    public void onCreate(Bundle b) {
        Log.d(LOG_TAG, "creating activity: for reboot");
        Intent i = new Intent(Intent.ACTION_REBOOT);
        Log.i(LOG_TAG, "rebooted");
    public void onPause() {

...and the manifest:

<manifest xmlns:android=""

    <uses-permission android:name="android.permission.REBOOT" />

    <application android:label="shutitdown"
        <activity android:name=".ShutdownActivity"
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" /



2. ListActivity Out of Memory

I am using a ListActivity. Each list entry contains an ImageView and a

I have a huge list and has been getting Out of Memory errors once I
scroll through a fair amount of them.

I figured I need to reduce the size of the images but I am wondering
what happens to the objects once the list entry is hidden from view
(as i scroll down the list). I have read somewhere that the list entry
objects are automatically re-use. But what happens to the drawable
images which were loaded into the ImageView? IF the ImageView object
is reused, what happens to the binary image? Are they freed
automatically? How do I prevent the OutOfMemory exception?

I want to do something similar like the Android Market. As one scroll
downwards the images are loaded and new entries are loaded. The Markey
can have a long list which one can scroll down and all the way back up
again without any problem. The only difference being mine throws
OutOfMemory Exception.

Advice anyone?


3. How to detect the availability of networks programatically in andriod emulator?

4. How to interpret device state dump from DDMS?

5. small test case that demonstrates out of memory failure using getWallpaper()

6. dalvikvm: No implementation - Trying to load lib

7. Service Test Cases