Hey guys, I´ve got a small problem im stucked with. I have a kind of an ApplicationLauncher that has to start the build-in gallery. But I dont want to get any result from that gallery... I just want to start it and want my "Launcher" to close after that.
What ive tried:
Intent intentBrowseFiles = new Intent(Intent.ACTION_GET_CONTENT);
intentBrowseFiles.setType("image/*");
intentBrowseFiles.setFlag(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intentBrowseFiles);
but it doestn even work with this flag... as soon as I click on a pic in the gallery, it closes and returns to my "Launcher". Is there any way to achieve what i want to do? Thanks in advance, Max