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,
Radhika
--~--~---------~--~----~------------~-------~--~----~



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

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

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.

---code---
public class Main extends ListActivity {
        private static String[] FROM = { _ID, DESCRIPTION, UN };
        private static String ORDER_BY = DESCRIPTION + " ASC";
        private static int[] TO = {R.id.itemrowid, R.id.itemdescription,
R.id.itemun };
        private EventsData events;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        events = new EventsData(this);
        try {
            Cursor cursor = getEvents();
            showEvents(cursor);
         } finally {
            events.close();
         }

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

        // What statement to put here to get the value of _ID,
DESCRIPTION, UN
        // 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);
            startManagingCursor(cursor);
            return cursor;
        }

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

-- 

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