From fd7f65cda764fce5a38513d245dbd1187a253822 Mon Sep 17 00:00:00 2001 From: ezelspinguin Date: Tue, 27 Jan 2009 22:08:02 +0000 Subject: [PATCH] OI About: read out translators from strings.xml git-svn-id: http://openintents.googlecode.com/svn/trunk/Safe@1860 72b678ce-9140-0410-bee8-679b907dd61a --- AndroidManifest.xml | 24 +- assets/help.html | 15 +- res/layout-land/front_door.xml | 7 + res/layout/front_door.xml | 5 + res/layout/pass_view.xml | 10 + res/values/strings.xml | 12 +- res/values/strings_permissions.xml | 24 + src/org/openintents/safe/AskPassword.java | 77 ++- src/org/openintents/safe/Backup.java | 7 +- src/org/openintents/safe/CategoryEdit.java | 31 +- src/org/openintents/safe/CategoryList.java | 64 ++- src/org/openintents/safe/ChangePass.java | 30 +- src/org/openintents/safe/CryptoHelper.java | 248 +++++++- src/org/openintents/safe/DBHelper.java | 58 +- src/org/openintents/safe/FrontDoor.java | 450 +-------------- src/org/openintents/safe/IntentHandler.java | 531 ++++++++++++++++++ src/org/openintents/safe/PassEdit.java | 24 +- src/org/openintents/safe/PassEntry.java | 2 +- src/org/openintents/safe/PassList.java | 28 +- src/org/openintents/safe/PassView.java | 50 +- src/org/openintents/safe/Preferences.java | 1 + src/org/openintents/safe/Restore.java | 61 +- src/org/openintents/safe/RestoreDataSet.java | 52 +- src/org/openintents/safe/RestoreHandler.java | 48 +- .../safe/dialog/DialogHostingActivity.java | 89 ++- .../safe/dialog/FirstTimeWarningDialog.java | 47 ++ .../safe/service/ServiceDispatch.aidl | 2 + .../safe/service/ServiceDispatchImpl.java | 40 +- 28 files changed, 1460 insertions(+), 577 deletions(-) create mode 100644 res/values/strings_permissions.xml create mode 100644 src/org/openintents/safe/IntentHandler.java create mode 100644 src/org/openintents/safe/dialog/FirstTimeWarningDialog.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 905513f..a5cae24 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2,7 +2,7 @@ + android:versionName="1.0.0-beta1"> - - + + + + @@ -48,9 +51,9 @@ - - + + @@ -77,12 +80,19 @@ + + + + android:label="@string/oi_safe_permission_service" + android:description="@string/oi_safe_permission_service_descr"> + \ No newline at end of file diff --git a/assets/help.html b/assets/help.html index 135c035..b5933ce 100644 --- a/assets/help.html +++ b/assets/help.html @@ -66,9 +66,9 @@ body {

Backup and Restore

You should backup your database of passwords from time to time. To do this - use Menu -> Backup. This will create a file named 'passwordsafe.xml' on + use Menu -> Backup. This will create a file named 'oisafe.xml' on the sdcard. Connect your phone to a computer and allow the USB mounting. - Look for 'passwordsafe.xml' and copy that to a safe location on your computer. + Look for 'oisafe.xml' and copy that to a safe location on your computer. The file is encrypted using the same encryption as the database on your phone.

Import and Export

@@ -94,8 +94,8 @@ body { put some data into the OI Safe and perform an export first, so that you can see what the CSV should look like.

-

Use the name 'passwordsafe.csv' for your filename. Connect the - phone to your computer and copy 'passwordsafe.csv' onto the phone. +

Use the name 'oisafe.csv' for your filename. Connect the + phone to your computer and copy 'oisafe.csv' onto the phone. The file must be in the base directory of the phone's USB storage.

Once the CSV file is in place, use Menu -> Import to import the file. @@ -104,7 +104,7 @@ body { the same time.

Exporting is a snap. Just use Menu -> Export. This will create the - file 'passwordsafe.csv'. Connect your phone to a computer to retrieve + file 'oisafe.csv'. Connect your phone to a computer to retrieve this file.

WARNING: The exported file is not encrypted!! After exporting and working with the file, you should delete it @@ -128,15 +128,14 @@ body {

Any of the following actions will cause OI Safe to lock:

Really, the easiest way to lock is to just hit the power button on the phone briefly and diff --git a/res/layout-land/front_door.xml b/res/layout-land/front_door.xml index 173f049..6d3ef86 100644 --- a/res/layout-land/front_door.xml +++ b/res/layout-land/front_door.xml @@ -88,4 +88,11 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" /> +