SyntaxFix
Write A Post
Hire A Developer
Questions
Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.my_drawable);
Context can be your current Activity.
Context
Activity