Reputation: 834
not sure why whenever i call the default file manager via intent, there is a "Package Installer" in the list, selecting it would popup and error "There is a problem parsing the package".
screenshot:
im using this code btw
intent = new Intent();
intent.addCategory(Intent.CATEGORY_DEFAULT);
intent.setData(Uri.parse("file://" + mRecorder.getRecordDir()));
startActivity(intent);
Upvotes: 0
Views: 1123
Reputation: 1006584
You have no action on your Intent
. If you are going to use implicit Intents
, please provide an action.
whenever i call the default file manager via intent
First, there is no "default file manager" in Android, as Mr. Stratton points out in his comment.
Second, I have no idea why you think that Intent
would bring up a "default file manager" in any case.
Upvotes: 2