forked from Vasioky/upm-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
2,892 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>UPM-Android</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.u17od.upm" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
|
||
<application android:icon="@drawable/upm" | ||
android:label="@string/app_name_short" | ||
android:debuggable="false" | ||
android:name="UPMApplication"> | ||
|
||
<activity android:name=".EnterMasterPassword" | ||
android:noHistory="true"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
|
||
<activity android:name=".FullAccountList"> | ||
<meta-data android:name="android.app.default_searchable" | ||
android:value=".SearchResults" /> | ||
</activity> | ||
|
||
<activity android:name=".ViewAccountDetails"> | ||
</activity> | ||
|
||
<activity android:name=".CreateNewDatabase"> | ||
</activity> | ||
|
||
<activity android:name=".AddEditAccount"> | ||
</activity> | ||
|
||
<activity android:name=".ChangeMasterPassword"> | ||
</activity> | ||
|
||
<activity android:name=".SearchResults" | ||
android:label="@string/search_results" | ||
android:launchMode="singleTop"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.SEARCH"/> | ||
<category android:name="android.intent.category.DEFAULT"/> | ||
</intent-filter> | ||
|
||
<meta-data android:name="android.app.searchable" | ||
android:resource="@xml/searchable" /> | ||
</activity> | ||
|
||
<receiver android:name=".RestartApp"/> | ||
|
||
</application> | ||
|
||
<uses-sdk android:minSdkVersion="3"/> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This file is automatically generated by Android Tools. | ||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
# | ||
# This file must be checked in Version Control Systems. | ||
# | ||
# To customize properties used by the Ant build system use, | ||
# "build.properties", and override values to adapt the script to your | ||
# project structure. | ||
|
||
# Indicates whether an apk should be generated for each density. | ||
split.density=false | ||
# Project target. | ||
target=android-3 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/accountScrollView" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"> | ||
|
||
<LinearLayout android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" | ||
android:padding="10dip"> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/account_name"/> | ||
|
||
<EditText android:id="@+id/account_name" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:singleLine="true" | ||
android:layout_marginBottom="10dip"/> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/userid"/> | ||
|
||
<EditText android:id="@+id/account_userid" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:singleLine="true" | ||
android:layout_marginBottom="10dip"/> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/password"/> | ||
|
||
<EditText android:id="@+id/account_password" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textVisiblePassword" | ||
android:layout_marginBottom="10dip"/> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/url"/> | ||
|
||
<EditText android:id="@+id/account_url" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:singleLine="true" | ||
android:layout_marginBottom="10dip"/> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/notes"/> | ||
|
||
<EditText android:id="@+id/account_notes" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textMultiLine" | ||
android:layout_marginBottom="10dip" | ||
android:lines="3"/> | ||
|
||
<Button android:id="@+id/save_button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/save" | ||
android:layout_gravity="center" | ||
android:paddingLeft="20dip" | ||
android:paddingRight="20dip"/> | ||
|
||
</LinearLayout> | ||
|
||
</ScrollView> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" | ||
android:gravity="center_vertical|center_horizontal" | ||
android:paddingLeft="20dip" | ||
android:paddingRight="20dip"> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/existing_master_password" | ||
android:layout_marginBottom="10dip"/> | ||
|
||
<EditText android:id="@+id/existing_master_password" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPassword" | ||
android:layout_marginBottom="40dip"/> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/new_password" | ||
android:layout_marginBottom="10dip"/> | ||
|
||
<EditText android:id="@+id/new_master_password" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPassword" | ||
android:layout_marginBottom="10dip"/> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/new_password_confirm" | ||
android:layout_marginBottom="10dip"/> | ||
|
||
<EditText android:id="@+id/new_master_password_confirm" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPassword" | ||
android:layout_marginBottom="20dip"/> | ||
|
||
<Button android:id="@+id/change_master_password_ok_button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/ok_label" | ||
android:layout_gravity="center" | ||
android:paddingLeft="20dip" | ||
android:paddingRight="20dip"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:padding="6dip"> | ||
|
||
<TextView android:id="@+id/dialogText" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:textSize="12sp"/> | ||
|
||
</ScrollView> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" | ||
android:gravity="center_vertical|center_horizontal" | ||
android:paddingLeft="20dip" | ||
android:paddingRight="20dip"> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/request_master_password" | ||
android:layout_marginBottom="20dip"/> | ||
|
||
<EditText android:id="@+id/password" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPassword" | ||
android:layout_marginBottom="20dip"/> | ||
|
||
<Button android:id="@+id/master_password_open_button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/open_label" | ||
android:layout_gravity="center" | ||
android:paddingLeft="20dip" | ||
android:paddingRight="20dip"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"> | ||
|
||
<ListView android:id="@android:id/list" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"/> | ||
|
||
<TextView android:id="@android:id/empty" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:text="@string/no_accounts" | ||
android:gravity="center"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" | ||
android:padding="10dip"> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/message" | ||
android:layout_marginBottom="20dip"/> | ||
|
||
<EditText android:id="@+id/password" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPassword"/> | ||
|
||
<Button android:id="@+id/master_password_ok_button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/ok_label" | ||
android:layout_gravity="center" | ||
android:paddingLeft="20dip" | ||
android:paddingRight="20dip" | ||
android:layout_marginTop="20dip"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:padding="10dip"> | ||
|
||
<TextView android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/message" | ||
android:text="@string/request_new_master_password" | ||
android:layout_marginBottom="20dip"/> | ||
|
||
<EditText android:id="@+id/password1" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPassword"/> | ||
|
||
<EditText android:id="@+id/password2" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPassword"/> | ||
|
||
<Button android:id="@+id/new_master_password_ok_button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/ok_label" | ||
android:layout_gravity="center" | ||
android:paddingLeft="20dip" | ||
android:paddingRight="20dip" | ||
android:layout_marginTop="20dip"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"> | ||
|
||
<ListView android:id="@android:id/list" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"/> | ||
|
||
<TextView android:id="@android:id/empty" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:text="@string/no_accounts_found" | ||
android:gravity="center"/> | ||
|
||
</LinearLayout> |
Oops, something went wrong.