Package uk.ac.qmul.eecs.ccmi.activities
Class FileSelectorActivity.Open
- java.lang.Object
-
- FragmentActivity
-
- uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
-
- uk.ac.qmul.eecs.ccmi.activities.FileSelectorActivity
-
- uk.ac.qmul.eecs.ccmi.activities.FileSelectorActivity.Open
-
- Enclosing class:
- FileSelectorActivity
public static class FileSelectorActivity.Open extends FileSelectorActivity
AFileSelectorActivity
for opening a file. A long click on an item will open a confirmation dialog to open the file. If the user confirms, the activity will finish and set a result intent with the Uri of the opened file.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class uk.ac.qmul.eecs.ccmi.activities.FileSelectorActivity
FileSelectorActivity.Open, FileSelectorActivity.Save
-
-
Field Summary
-
Fields inherited from class uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
accessibilityService, dialogBuilder, list
-
-
Constructor Summary
Constructors Constructor and Description Open()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getName()
boolean
onItemLongClick(<any> av, View v, int position, long id)
Displays a confirmation dialog to open the file-
Methods inherited from class uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
dispatchTouchEvent, getHeaderText, onPause, onPostResume, onResume, setHeaderText
-
Methods inherited from class uk.ac.qmul.eecs.ccmi.activities.FileSelectorActivity
onBackPressed, onCreate, onItemClick
-
-
-
-
Method Detail
-
onItemLongClick
public boolean onItemLongClick(<any> av, View v, int position, long id)
Displays a confirmation dialog to open the file- Specified by:
onItemLongClick
in classFileSelectorActivity
-
getName
public java.lang.String getName()
- Specified by:
getName
in classAccessibleActivity
-
-