Skip to content

Commit

Permalink
Merge pull request #105 from leiyiz/development
Browse files Browse the repository at this point in the history
fixing the Issue of Uri.parse
  • Loading branch information
clarlars authored Feb 1, 2019
2 parents c52551b + ff3430b commit 028d81c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ private class PickFileButtonListener implements OnClickListener {
@Override
public void onClick(View v) {
Intent intent = new Intent("org.openintents.action.PICK_FILE");
intent.setData(Uri.parse("file://" + ODKFileUtils.getAssetsCsvFolder(appName)));
intent.putExtra("org.openintents.extra.TITLE_KEY", title);
intent.putExtra("org.openintents.extra.DIR_PATH", ODKFileUtils.getAssetsCsvFolder(appName));
try {
startActivityForResult(intent, 1);
} catch (ActivityNotFoundException e) {
Expand Down

0 comments on commit 028d81c

Please sign in to comment.