Not able to start API demos.

by googlekid » Fri, 13 Mar 2009 01:40:56 GMT

Sponsored Links
 Hi I had to recompile my kernel for some development purpose and after
the recompile the normal .img files from the SDK would not boot up and
gave some errors .

 i have already posted them here

Other Threads

1. A question of the API takePicture in android.hardware.Camera

The intent was to provide a full size raw YUV image in case the
application wanted to do some full spectrum processing. However, this
is not currently supported on the G1 device, instead you receive a
null pointer.


2. filtering images for mime type

Demo Tutorial for  filtering images for mime type
I am browsing list of images names of *.png ,*,jpeg, it is working
I am filtering images of type png and jpeg, IS there in other smart
way to achieve this, some thing we can do in manifest or   coding so
that we will get desired cursor of images(*.png and *.jpeg).

cursor = managedQuery(Media.EXTERNAL_CONTENT_URI, null, null, null,

private void getColumnData(Cursor cur){
        if (cur.moveToFirst()) {

                String id;
                String title;
            String name;
            String mime;
            String imagePath;

            int idColumn = cur.getColumnIndex(Media._ID);
            int titleColumn = cur.getColumnIndex(Media.TITLE);
            int nameColumn = cur.getColumnIndex(Media.DISPLAY_NAME);
            int mimeColumn = cur.getColumnIndex

            do {
                // Get the field values
                id = cur.getString(idColumn);
                title = cur.getString(titleColumn);
                name = cur.getString(nameColumn);
                mime = cur.getString(mimeColumn);
                imagePath = id + ":" + title + ":" + name;

            } while (cur.moveToNext());



3. (simple?) problem with table layout

4. the imageview object supports which formats images other than png and jpg

5. Location is null

6. Create inode at startup

7. AV Sync