Revision 0edf6b39 src/com/rackspacecloud/android/ContainerObjectDetails.java
b/src/com/rackspacecloud/android/ContainerObjectDetails.java | ||
---|---|---|
53 | 53 |
* |
54 | 54 |
*/ |
55 | 55 |
|
56 |
public class ContainerObjectDetails extends Activity { |
|
56 |
public class ContainerObjectDetails extends GaActivity {
|
|
57 | 57 |
|
58 | 58 |
private static final int deleteObject = 0; |
59 | 59 |
private final String DOWNLOAD_DIRECTORY = "/RackspaceCloud"; |
60 |
|
|
60 | 61 |
private ContainerObjects objects; |
61 | 62 |
private String containerNames; |
62 | 63 |
private String cdnURL; |
... | ... | |
75 | 76 |
private AndroidCloudApplication app; |
76 | 77 |
private DeleteObjectListenerTask deleteObjTask; |
77 | 78 |
private DownloadObjectListenerTask downloadObjTask; |
78 |
|
|
79 |
|
|
79 | 80 |
/** Called when the activity is first created. */ |
80 | 81 |
@Override |
81 | 82 |
public void onCreate(Bundle savedInstanceState) { |
82 | 83 |
super.onCreate(savedInstanceState); |
83 |
|
|
84 |
trackPageView(PAGE_STORAGE_OBJECT); |
|
85 |
|
|
84 | 86 |
context = getApplicationContext(); |
85 | 87 |
|
86 | 88 |
objects = (ContainerObjects) this.getIntent().getExtras().get("container"); |
... | ... | |
159 | 161 |
} |
160 | 162 |
} |
161 | 163 |
|
162 |
|
|
163 | 164 |
@Override |
164 | 165 |
protected void onStart(){ |
165 | 166 |
super.onStart(); |
... | ... | |
312 | 313 |
.setPositiveButton("Delete File", new DialogInterface.OnClickListener() { |
313 | 314 |
public void onClick(DialogInterface dialog, int whichButton) { |
314 | 315 |
// User clicked OK so do some stuff |
316 |
trackEvent(CATEGORY_FILE, EVENT_DELETE, "", -1); |
|
315 | 317 |
new ContainerObjectDeleteTask().execute((Void[]) null); |
316 | 318 |
} |
317 | 319 |
}) |
Also available in: Unified diff