App

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

SaveImagePopUpFragment.java
Go to the documentation of this file.
1 package mhr.app.fragments.toolbox;
2
3 import mhr.appandroid.adapters.AndroidImageFile;
4
5
9 public class SaveImagePopUpFragment extends ImagesExplorerPopUpFragment {
10
11 public SaveImagePopUpFragment() {
12 caption = "Save image";
13 fnameEnabled = true;
14 actionCaption = "Save";
15 }
16
17 @Override
18 protected void onActionBtn() {
19 String nm = fnameET.getText().toString();
20
21 if (!nm.equalsIgnoreCase("")); {
22 activity.getAppCore().saveToFile(AndroidImageFile.createImageFile(nm, activity));
23 activity.dismissDialog();
24 }
25
26 }
27
28 }