<uses-permission android:name="org.openintents.safe.ACCESS_INTENTS" />
<uses-permission android:name="org.openintents.safe.ACCESS_SERVICE" />
+<uses-sdk android:minSdkVersion="1"></uses-sdk>
</manifest>
\ No newline at end of file
# Project target.
target=android-2
+# apk configurations. This property allows creation of APK files with limited
+# resources. For example, if your application contains many locales and
+# you wish to release multiple smaller apks instead of a large one, you can
+# define configuration to create apks with limited language sets.
+# Format is a comma separated list of configuration names. For each
+# configuration, a property will declare the resource configurations to
+# include. Example:
+# apk-configurations=european,northamerica
+# apk-config-european=en,fr,it,de,es
+# apk-config-northamerica=en,es
+apk-configurations=
<string name="cannot_decrypt_category">Cannot decrypt category</string>
<string name="cannot_decrypt_password">Cannot decrypt password</string>
<string name="error_export">Error exporting database</string>\r
- <string name="export_database">Export Database</string>
+ <string name="export_database">Export Database</string>\r
+ <string name="export_msg">This will export the password database to a plaintext file. THIS IS VERY DANGEROUS. Make sure that you delete the file after you are done with it. Are you sure you want to export?</string>
<string name="export_success">Export to '%s' successful. Warning! The file is not encrypted.</string>\r
<string name="export_file_error">Unable to create export file 'oisafe.csv' on SDCARD. You might try disconnecting USB from computer.</string>
<string name="import_database">Import Database</string>\r
startActivity(help);
break;
case EXPORT_INDEX:
- exportDatabase();
+ Dialog exportDialog = new AlertDialog.Builder(CategoryList.this)
+ .setIcon(R.drawable.passicon)
+ .setTitle(R.string.export_database)
+ .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
+ public void onClick(DialogInterface dialog, int whichButton) {
+ exportDatabase();
+ }
+ })
+ .setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {
+ public void onClick(DialogInterface dialog, int whichButton) {
+ }
+ })
+ .setMessage(R.string.export_msg)
+ .create();
+ exportDialog.show();
break;
case IMPORT_INDEX:
importDatabase();