How to read all image from sub folder of assets in android
Create new project and add an imageswitcher to activity_main.xml then open MainActivity.java firstly we need to reach assets folder in android to reach assets folder there is an assets manager basicly you can use assets manager like that
1 2 3 4 5 6 | AssetManager assetManager = getAssets(); /* this will read main folder of assets if you need read sub folder just add folder name before file (subfolder/filename) */ InputStream inputStream= assetManager.open( "File name" ); |