How can I do Image processing on JPEG data

by Emmanuel » Mon, 13 Apr 2009 18:22:40 GMT


Sponsored Links
 Not a specialit, but I would say you should use
bitmapfacotry.decodeByteArray to decode the jpeg image to some raw
pixel image.

Hope it helps,

Emmanuel
 http://androidblogger.blogspot.com/ 
 http://www.alocaly.com 



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Why does TextFilter not work?

Hi all,
    I want to design a ListView with auto filter fuction, that is,
when the user press a key all the items who matches this key will be
filtered and form a new list.
I selected the method setTextFilterEnabled(true) to implement my
function, but it didn't work in fact.
Could anyone tell me where my mistacke exists?
Thank you in advance!

Here is my code:

package com.example.android.apis.view;


import android.app.ListActivity;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.Contacts.Phones;
import android.widget.ListAdapter;
import android.widget.SimpleCursorAdapter;

 /**
 * A list view example where the
 * data comes from a cursor, and a
 * SimpleCursorListAdapter is used to map each item to a two-line
 * display.
 */
public class List3 extends ListActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // Get a cursor with all phones
        Cursor c = getContentResolver().query(Phones.CONTENT_URI,
null, null, null, null);
        startManagingCursor(c);

        // Map Cursor columns to views defined in
simple_list_item_2.xml
        ListAdapter adapter = new SimpleCursorAdapter(this,
                android.R.layout.simple_list_item_2, c,
                        new String[] { Phones.NAME, Phones.NUMBER },
                        new int[] { android.R.id.text1,
android.R.id.text2 });
        setListAdapter(adapter);
       //My code begins
        getListView().setTextFilterEnabled(true);
       //My code ends
    }

}


--~--~---------~--~----~------------~-------~--~----~

2. Unable to unlock using keyboard in Android in the desktop screen

Hi,

I am porting android to OMAP 3430 based custom board which is running
linux-2.6.28-omap-rc9 kernel.
I am using embinux android file system.

When i boot android, the logo screen comes and then desktop appears.

In the desktop screen, it is showing, "Screen locked, press MENU to unlock"

When i press "Windows Right Meta key" for unlocking, it throws this message
on logcat, how to unlock and go to main window containing apps.

logcat messages,

D/KeyguardViewMediator(  850): wakeWhenReadyLocked(82)
D/KeyguardViewMediator(  850): handleWakeWhenReady(82)
D/KeyguardViewMediator(  850): pokeWakelock(5000)
D/KeyguardViewMediator(  850): wakeWhenReadyLocked(84)
D/KeyguardViewMediator(  850): handleWakeWhenReady(84)
D/KeyguardViewMediator(  850): pokeWakelock(5000)
D/KeyguardViewMediator(  850): wakeWhenReadyLocked(82)
D/KeyguardViewMediator(  850): handleWakeWhenReady(82)
D/KeyguardViewMediator(  850): pokeWakelock(5000)

any pointers to fix this would be  helpful.

Thanks and Regards,
HarishKumar.V

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

3. Intent broadcasting not working

4. Why does setTextFilterEnabled(true) not work?

5. maps api and 1.5

6. Samsung Galaxy with customized system image

7. Log in debug only?