开发者

Store image and audio file in android internal storage

How to store image and audio files in android internal storage?

And how to retrieve back to dis开发者_JS百科play image in imageview?


You can write a file to your internal storage. Check this link

https://developer.android.com/guide/topics/data/data-storage.html#filesInternal

Retrieve a File

 ImageView image = new ImageView();
 Bitmap bMap = BitmapFactory.decodeFile("/folder/yourfilename.png");
 image.setImageBitmap(bMap);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜