sathya subbiah wrote: > Hi, > > I am trying to mention X and Y values for the Bitmap image, but the > phone panics on mentioning the values. > > > Bitmap temp_image = > Bitmap.createBitmap(mAlbumArtImage,0,0,old_width,old_height,matrix,true); > - Phone does not panic with this code as X and Y values are 0 and 0 > > Panic code: > Bitmap temp_image = > Bitmap.createBitmap(mAlbumArtImage,2,2,old_width,old_height,matrix,true); > - On mentioning X and Y values in the code, the phone panics. > > Can anyone please let me know if I am missing anything.
You are missing the Java stack trace, to tell you where you are going wrong. You can get the exception's stack trace from adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

