Viewing the Camera Preview frames .......

by Radhika » Wed, 04 Mar 2009 08:28:15 GMT

Sponsored Links
 Hello all,
   I understand that the Camera preview frames can be obtained in the
Framework by using the PreviewCallback method. Is there any player to
view these YUV Semiplanar data?

Thanks and Regards,

Viewing the Camera Preview frames .......

by hanchao3c » Thu, 05 Mar 2009 19:19:38 GMT

 The preview is used for encoder and viewfinder.
I think no player will view it , It is raw data , so it should be sent
to ISurface.
But if using overlay, no need do it.

Sponsored Links

Other Threads

1. Eclair : HOME KEY not working .

Hi Everybody,

i tried to make the home key work on my board ,i ma running eclair
android 2.1 ) . b


2. How to get value from ListView onListItemClick?

Hi, i can add to a db and list as a listview.
When I click a list item using onListItemClick, what statement do I
need to get the value?

Thanks in advance.

public class Main extends ListActivity {
        private static String[] FROM = { _ID, DESCRIPTION, UN };
        private static String ORDER_BY = DESCRIPTION + " ASC";
        private static int[] TO = {,, };
        private EventsData events;

    public void onCreate(Bundle savedInstanceState) {
        events = new EventsData(this);
        try {
            Cursor cursor = getEvents();
         } finally {

    public void onListItemClick(ListView parent, View v, int position,
long id) {

        // What statement to put here to get the value of _ID,
        // selected?

        private Cursor getEvents() {
            // Perform a managed query. The Activity will handle closing
            // and re-querying the cursor when needed.
            SQLiteDatabase db = events.getReadableDatabase();
            Cursor cursor = db.query(TABLE_NAME, FROM, null, null, null,
                        null, ORDER_BY);
            return cursor;

        private void showEvents(Cursor cursor) {
                // Set up data binding
            SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
                        R.layout.item, cursor, FROM, TO);


3. How to use ContentProvider's "android:multiprocess"

4. Sending image to ftp server

5. How to disable asset compression in eclipse builds?

6. Boot up hangs at initial stage.

7. AsyncTask and screen rotation