Load Picture (byteArray) to ImageView doesn't work

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Load Picture (byteArray) to ImageView doesn't work

Postby Berni_Austria » Thu Apr 02, 2009 11:17 pm

Bitmap bitmap = BitmapFactory.decodeByteArray(m_pic, 0, m_pic.length);
Log.v(FTAG, "PreviewWnd before Create ImageView");
ImageView iv = (ImageView)findViewById(R.id.ImageView01);
Log.v(FTAG, "PreviewWnd before setImageBitmap");
Log.v(FTAG, "PreviewWnd That's it");

it doesn't work so far... m_pic is a byteArray
Is my coding wrong? Or do i just not see my mistake?
I am what I am and I do what I can
Once Poster
Once Poster
Posts: 1
Joined: Mon Mar 30, 2009 2:39 pm
Location: Ansfelden / Upper Austria


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests