ImageIO is not supported in Android SDK
Could you achieve the same thing with Bitmap
and BitmapFactory
?? like so…
Bitmap tgtImg = BitmapFactory.decodeFile("ImageD2.jpg");
if tgtImg
is not null
after this then it was successful.
More Related Contents:
- BufferedImage in Android
- Android – Is Navigation Drawer from right hand side possible?
- Draw text in OpenGL ES
- How to fix: android.app.RemoteServiceException: Bad notification posted from package *: Couldn’t create icon: StatusBarIcon
- Android: Creating custom preference
- How can make my ViewPager load only one page at a time ie setOffscreenPageLimit(0);
- How can I store an integer array in SharedPreferences?
- How to get free and total size of each StorageVolume?
- Load large images with Picasso and custom Transform object
- How to prevent Multiple Toast Overlaps
- how to play audio file in android
- How to store and retrieve a byte array (image data) to and from a SQLite database?
- Why is my field `null` after injection? How do I inject my object?
- Android: How to measure total height of ListView [duplicate]
- onPageFinished() never called (webview)!
- How do you create Preference Activity and Preference Fragment on Android?
- Using SeekBar to Control Volume in android?
- android pending intent notification problem
- android data binding with a custom view
- onActivityResult do not fire if launch mode of activity is singleInstance
- Count subscribers of a topic in Firebase Cloud Messaging
- How to connect the device to Eclipse?
- How does “?android:attr/activatedBackgroundIndicator” work?
- Android How can I call Camera or Gallery Intent Together
- android widget on click event
- How can I change the ringtone in android programmatically?
- emulator: emulator window was out of view and was recentered
- How is it possible to know what’s spotify is playing from an external Android app?
- Firebase – How to delete many entries at once?
- Android WebView UTF-8 not showing