Hi i am creating an app about traffic signs. traffic signs are in .png format. some of them I am showing in horizontalscrollview. But when try to open activities , I get thi
Use sampling to read bitmap. May be error occurred due to memory leaks.
BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 4; Bitmap bitmap=BitmapFactory.decodeFile(path,options);