I'm using the following code to load an audio file:
@Override
public void onClick(View v) {
Intent chooseFile;
Intent intent;
chooseFile = new Intent(Intent.ACTION_GET_CONTENT);
chooseFile.setType("audio/*");
intent = Intent.createChooser(chooseFile, "Choose a file");
startActivityForResult(intent, ONE);
}
This presents me with the above screen, but when the user uses an app like AndroidZip or any file managers the app crashes. How do I set "Select Music Track", which is native to android, as the default choice?