I have an Android application used to transfer the .png image from asset folder of Android application to my local server. I need to get the path of image in asset folder, pls r
Try:
file:///android_asset/raw/sample/logout.png
If you have a Context, you can use context.getAssets().open("raw/sample/logout.png") to open an InputStream on the file.
context.getAssets().open("raw/sample/logout.png")
InputStream