Hi all, I'm new to Android as well as this site.
Goal: I am trying to create a slide show application and I need to be able to load images from file. Does Android have a 'file choose'? At the very least I am currently trying to load images by simply typing in the file names that are in the res folder.
mBodyText = (EditText) findViewById(R.id.filename); //set file name
InputStream is = getResources().openRawResource(R.drawable.mBodyText ); //this does not work, I can only load images by hard coding the file names in res folder
bmImg = BitmapFactory.decodeStream(is);
imView.setImageBitmap(bmImg);
If anyone has some comments to either improve this solution or a new approach, please comment. Thanks for your time.