Hi there,

My application uses an imageview's drawing cache to create another
imageview.
It works very well on all devices except Motorola.

Drawing cache comes always null in Motorola devices( like DROID2,
DROIDX).

My code portion is below.
Does anyone has any idea about the solution?
Thx in advance for your help.


ImageView  newView = new ImageView(getApplicationContext());

//anotherImageView.getDrawingCache() returns null on Motorola devices
newView.setImageBitmap(Bitmap.createBitmap(anotherImageView.getDrawingCache()));

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to