chowdary nani wrote: > Hi All, > I need help on taking the screen shoot using android code. > i need to take screen hoot for particular portion of the screen only > can any one help me in passing the parameters for the screen shoot > here is my following code. > > > View v1 = L1.getRootView(); > v1.setDrawingCacheEnabled(true); > Bitmap bm = v1.getDrawingCache(); > BitmapDrawable bitmapDrawable = new > BitmapDrawable(bm); > image = (ImageView) > findViewById(R.id.ImageView01); > image.setBackgroundDrawable(bitmapDrawable); > > Thanks > Naveen.
http://developer.android.com/reference/android/graphics/Bitmap.html#createBitmap(android.graphics.Bitmap, int, int, int, int) pskink -- 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