none
Getting error on uploading file on onedrive like com.microsoft.onedrivesdk.saver.SaverException (Error: No File specified) . I used all uri schemes but still getting this RRS feed

  • Question

  • final File f = createExternalSdCardFile(filename,100);
    Uri uri;
    if (Build.VERSION.SDK_INT >= 24) {
    uri = FileProvider.getUriForFile(SaverMain.this, "com.example.ahsan.myapplication.provider", f);
    }else{
    uri = Uri.parse("file://"+f.getAbsolutePath());
    }

    mSaver.startSaving(activity, filename, uri);
    Tuesday, March 6, 2018 11:10 AM