Thursday, 15 July 2010

android google Drive open file intent -



android google Drive open file intent -

asking user select file drive business relationship using

intentsender intentsender = drive.driveapi .newopenfileactivitybuilder() .setmimetype(new string[] { "text/plain", "text/html" }) .build(getgoogleapiclient()); seek { startintentsenderforresult( intentsender, request_code_opener, null, 0, 0, 0); } grab (sendintentexception e) { log.w(tag, "unable send intent", e); } how can set starting default folder, want open folder created app default when drive file explorer opens?

use setactivitystartfolder in openfileactivitybuilder , specify driveid folder.

android google-drive-sdk

No comments:

Post a Comment