Created
September 15, 2011 10:00
-
-
Save darko1002001/1218943 to your computer and use it in GitHub Desktop.
GCAsset.verify()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get the file you want to verify: | |
File file = new File(Environment.getExternalStorageDirectory() + "/ac3_nogradient.jpg"); | |
Log.e("SDKTest", file.getPath()); | |
// Set it to the model | |
GCLocalAssetModel model = new GCLocalAssetModel(); | |
model.setLocalImageFile(file); | |
// Generate the request: | |
GCBaseRequest request = model.verify(GCAccount.getInstance(Context), true); | |
//execute the request | |
sync: | |
request.execute(); | |
async: | |
new GCAsyncRunner(request,GCAsyncCallback).execute(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment