The task is this: you need to implement a slider on android, using images that are stored in the system folders of the android. I implemented receiving files from the system, then I found a ready-made library with a slider, connected it, but in the tutorial to the library the following code:
adapter = new ResourceBitmapAdapter(this, new int[]{ R.raw.slide_01, R.raw.slide_02, R.raw.slide_03, R.raw.slide_04}); The adapter creates an array into which resources are placed, but my images are taken from the system folders. In general, how in the adapter zaphnut the path to the system images on the phone?
BitmapAdapter.java- Vladyslav Matviienko