I am opening an image on click from one activity. I am using the following code for opening the itent with the file path.
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse("file://" + "/sdcard/test.jpg"), "image/*");
startActivity(intent);
I want to add the action bar on the view displayed. HOw to add a actionvar on this
0 comments:
Post a Comment