Bitmap bmp = BitmapFactory.decodeFile(pathName);
ImageView img;
img.setImageBitmap(bmp);
Hope this helps.
More Related Contents:
- How to make an ImageView with rounded corners?
- “Bitmap too large to be uploaded into a texture”
- How to create a circular ImageView in Android? [duplicate]
- How to clear an ImageView in Android?
- Android and setting alpha for (image) view alpha
- Android Text over image
- ImageView one dimension to fit free space and second evaluate to keep aspect ration
- How can you tell when a layout has been drawn?
- Hide/Show bottomNavigationView on Scroll
- Bitmap recycle with largeHeap enabled
- Changing position of the Dialog on screen android
- Place 2 textview beside each other with 2nd textview always visible
- Heterogeneous GridLayout
- Restoring state of TextView after screen rotation?
- Spinner does not wrap text — is this an Android bug?
- How to use View.OnTouchListener instead of onClick
- CollapsingToolbarLayout subtitle
- Animation in Notification bar Custom View
- Dynamically creating Buttons and setting onClickListener
- Page scroll when soft keyboard popped up
- Android: Display Image from SD CARD
- Avoid passing null as the view root (need to resolve layout parameters on the inflated layout’s root element)
- Can I Set “android:layout_below” at Runtime Programmatically?
- onClick method not working properly after NestedScrollView scrolled
- How to change default color of progress bar?
- Fitting a camera preview to a SurfaceView larger than the display
- banded background with two colors?
- android circular gallery?
- What event is fired after all views are fully drawn?
- ERROR No package identifier when getting value for resource number