I want to programatically launch a default file manager to show me the contents of a folder and I want delete or rename a file.
When I run android app.It show content of folder only, but cannot rename file.
how can i do it?
I'm using this code.
openButton.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent();
intent.setAction(Intent.ACTION_GET_CONTENT);
intent.setType("file/*");
startActivity(intent);
}
}
Thank you