com.nononsenseapps.filepicker.AbstractFilePickerActivity Java Examples

The following examples show how to use com.nononsenseapps.filepicker.AbstractFilePickerActivity. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SelectNewFileStartPathIsFile.java    From NoNonsense-FilePicker with Mozilla Public License 2.0 5 votes vote down vote up
@Override
protected Intent getActivityIntent() {
    Context targetContext = InstrumentationRegistry.getInstrumentation()
            .getTargetContext();
    Intent result = new Intent(targetContext, NoNonsenseFilePickerTest.class);
    String path = new File(Environment.getExternalStorageDirectory().getAbsoluteFile(),
            "000000_nonsense-tests/A-dir/file-3.txt").getAbsolutePath();
    result.putExtra(AbstractFilePickerActivity.EXTRA_START_PATH, path);
    return result;
}