Revision e6c34a0f src/com/rackspacecloud/android/ContainerObjectDetails.java
b/src/com/rackspacecloud/android/ContainerObjectDetails.java | ||
---|---|---|
313 | 313 |
File file = new File(object.getAbsolutePath()); |
314 | 314 |
String extension = android.webkit.MimeTypeMap.getFileExtensionFromUrl(Uri.fromFile(file).toString()); |
315 | 315 |
String mimetype = android.webkit.MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); |
316 |
Log.d("info", "captin the file name is " + object.getName()); |
|
317 |
Log.d("info", "captin the uri is " + Uri.decode(Uri.fromFile(object).toString())); |
|
318 | 316 |
myIntent.setDataAndType(Uri.fromFile(file),mimetype); |
319 | 317 |
//myIntent.setData(Uri.fromFile(file)); |
320 | 318 |
try{ |
... | ... | |
451 | 449 |
|
452 | 450 |
private CloudServersException exception; |
453 | 451 |
|
452 |
@Override |
|
454 | 453 |
protected void onPreExecute(){ |
455 | 454 |
dialog = ProgressDialog.show(ContainerObjectDetails.this, "", "Downloading...", true); |
456 | 455 |
} |
Also available in: Unified diff