Permalink
Browse files

Firest commit

  • Loading branch information...
0 parents commit fc04fccc62700c3c24afc7937140610a4d6fc5c3 aisk committed Dec 28, 2011
Showing with 489 additions and 0 deletions.
  1. +22 −0 AndroidManifest.xml
  2. +17 −0 ant.properties
  3. BIN bin/SaltPass-debug-unaligned.apk
  4. +3 −0 bin/SaltPass-debug-unaligned.apk.d
  5. BIN bin/SaltPass-debug.apk
  6. BIN bin/SaltPass.ap_
  7. +13 −0 bin/SaltPass.ap_.d
  8. +10 −0 bin/build.prop
  9. BIN bin/classes.dex
  10. +1 −0 bin/classes.dex.d
  11. BIN bin/classes/aisk/saltpass/DBAdapter$saltDBOpenHelper.class
  12. BIN bin/classes/aisk/saltpass/DBAdapter.class
  13. BIN bin/classes/aisk/saltpass/Main.class
  14. BIN bin/classes/aisk/saltpass/R$attr.class
  15. BIN bin/classes/aisk/saltpass/R$drawable.class
  16. BIN bin/classes/aisk/saltpass/R$id.class
  17. BIN bin/classes/aisk/saltpass/R$layout.class
  18. BIN bin/classes/aisk/saltpass/R$menu.class
  19. BIN bin/classes/aisk/saltpass/R$string.class
  20. BIN bin/classes/aisk/saltpass/R$xml.class
  21. BIN bin/classes/aisk/saltpass/R.class
  22. BIN bin/classes/aisk/saltpass/Setting.class
  23. BIN bin/res/drawable-hdpi/ic_launcher.png
  24. BIN bin/res/drawable-ldpi/ic_launcher.png
  25. BIN bin/res/drawable-mdpi/ic_launcher.png
  26. +85 −0 build.xml
  27. +10 −0 gen/R.java.d
  28. +38 −0 gen/aisk/saltpass/R.java
  29. +10 −0 local.properties
  30. +40 −0 proguard.cfg
  31. +11 −0 project.properties
  32. BIN res/drawable-hdpi/ic_launcher.png
  33. BIN res/drawable-ldpi/ic_launcher.png
  34. BIN res/drawable-mdpi/ic_launcher.png
  35. +13 −0 res/layout/addsite_dialog.xml
  36. +12 −0 res/layout/main.xml
  37. +16 −0 res/menu/menu.xml
  38. +5 −0 res/values/strings.xml
  39. +14 −0 res/xml/settings.xml
  40. +76 −0 src/aisk/saltpass/DBAdapter.java
  41. +79 −0 src/aisk/saltpass/Main.java
  42. +14 −0 src/aisk/saltpass/Setting.java
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="aisk.saltpass"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <user-sdk android:minSdkVersion="14"
+ android:targetSdkVersion="14" />
+ <application android:label="@string/app_name"
+ android:icon="@drawable/ic_launcher"
+ android:theme="@android:style/Theme.Holo">
+ <activity android:name=".Main"
+ android:label="@string/app_name">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ <activity android:name=".Setting"
+ android:label="@string/app_name">
+ </activity>
+ </application>
+</manifest>
@@ -0,0 +1,17 @@
+# This file is used to override default values used by the Ant build system.
+#
+# This file must be checked in Version Control Systems, as it is
+# integral to the build system of your project.
+
+# This file is only used by the Ant script.
+
+# You can use this to override default values such as
+# 'source.dir' for the location of your java source folder and
+# 'out.dir' for the location of your output folder.
+
+# You can also use it define how the release builds are signed by declaring
+# the following properties:
+# 'key.store' for the location of your keystore and
+# 'key.alias' for the name of the key to use.
+# The password will be asked during the build when you use the 'release' target.
+
Binary file not shown.
@@ -0,0 +1,3 @@
+/home/aisk/Projects/saltpass/bin/SaltPass-debug-unaligned.apk : \
+/home/aisk/Projects/saltpass/bin/SaltPass.ap_ \
+/home/aisk/Projects/saltpass/bin/classes.dex \
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
+/home/aisk/Projects/saltpass/bin/SaltPass.ap_ \
+ : /home/aisk/Projects/saltpass/res/menu/menu.xml \
+/home/aisk/Projects/saltpass/res/values/strings.xml \
+/home/aisk/Projects/saltpass/res/drawable-hdpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/res/drawable-mdpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/res/layout/main.xml \
+/home/aisk/Projects/saltpass/res/layout/addsite_dialog.xml \
+/home/aisk/Projects/saltpass/res/drawable-ldpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/res/xml/settings.xml \
+/home/aisk/Projects/saltpass/bin/res/drawable-hdpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/bin/res/drawable-mdpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/bin/res/drawable-ldpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/AndroidManifest.xml \
@@ -0,0 +1,10 @@
+#Last build type
+#Wed, 28 Dec 2011 18:59:55 +0800
+
+build.last.target=debug
+
+build.last.is.instrumented=false
+
+build.last.is.packaging.debug=true
+
+build.last.is.signing.debug=true
Binary file not shown.
@@ -0,0 +1 @@
+/home/aisk/Projects/saltpass/bin/classes.dex : \
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="SaltPass" default="help">
+
+ <!-- The local.properties file is created and updated by the 'android' tool.
+ It contains the path to the SDK. It should *NOT* be checked into
+ Version Control Systems. -->
+ <property file="local.properties" />
+
+ <!-- The ant.properties file can be created by you. It is only edited by the
+ 'android' tool to add properties to it.
+ This is the place to change some Ant specific build properties.
+ Here are some properties you may want to change/update:
+
+ source.dir
+ The name of the source directory. Default is 'src'.
+ out.dir
+ The name of the output directory. Default is 'bin'.
+
+ For other overridable properties, look at the beginning of the rules
+ files in the SDK, at tools/ant/build.xml
+
+ Properties related to the SDK location or the project target should
+ be updated using the 'android' tool with the 'update' action.
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems.
+
+ -->
+ <property file="ant.properties" />
+
+ <!-- The project.properties file is created and updated by the 'android'
+ tool, as well as ADT.
+
+ This contains project specific properties such as project target, and library
+ dependencies. Lower level build properties are stored in ant.properties
+ (or in .classpath for Eclipse projects).
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems. -->
+ <loadproperties srcFile="project.properties" />
+
+ <!-- quick check on sdk.dir -->
+ <fail
+ message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
+ unless="sdk.dir"
+ />
+
+
+<!-- extension targets. Uncomment the ones where you want to do custom work
+ in between standard targets -->
+<!--
+ <target name="-pre-build">
+ </target>
+ <target name="-pre-compile">
+ </target>
+
+ /* This is typically used for code obfuscation.
+ Compiled code location: ${out.classes.absolute.dir}
+ If this is not done in place, override ${out.dex.input.absolute.dir} */
+ <target name="-post-compile">
+ </target>
+-->
+
+ <!-- Import the actual build file.
+
+ To customize existing targets, there are two options:
+ - Customize only one target:
+ - copy/paste the target into this file, *before* the
+ <import> task.
+ - customize it to your needs.
+ - Customize the whole content of build.xml
+ - copy/paste the content of the rules files (minus the top node)
+ into this file, replacing the <import> task.
+ - customize to your needs.
+
+ ***********************
+ ****** IMPORTANT ******
+ ***********************
+ In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
+ in order to avoid having your file be overridden by tools such as "android update project"
+ -->
+ <!-- version-tag: 1 -->
+ <import file="${sdk.dir}/tools/ant/build.xml" />
+
+</project>
@@ -0,0 +1,10 @@
+/home/aisk/Projects/saltpass/gen/aisk/saltpass/R.java \
+ : /home/aisk/Projects/saltpass/res/menu/menu.xml \
+/home/aisk/Projects/saltpass/res/values/strings.xml \
+/home/aisk/Projects/saltpass/res/drawable-hdpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/res/drawable-mdpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/res/layout/main.xml \
+/home/aisk/Projects/saltpass/res/layout/addsite_dialog.xml \
+/home/aisk/Projects/saltpass/res/drawable-ldpi/ic_launcher.png \
+/home/aisk/Projects/saltpass/res/xml/settings.xml \
+/home/aisk/Projects/saltpass/AndroidManifest.xml \
@@ -0,0 +1,38 @@
+/* AUTO-GENERATED FILE. DO NOT MODIFY.
+ *
+ * This class was automatically generated by the
+ * aapt tool from the resource data it found. It
+ * should not be modified by hand.
+ */
+
+package aisk.saltpass;
+
+public final class R {
+ public static final class attr {
+ }
+ public static final class drawable {
+ public static final int ic_launcher=0x7f020000;
+ }
+ public static final class id {
+ public static final int addsite_message=0x7f070000;
+ public static final int menuAdd=0x7f070002;
+ public static final int menuExit=0x7f070005;
+ public static final int menuSetting=0x7f070003;
+ public static final int meunAbout=0x7f070004;
+ public static final int siteListView=0x7f070001;
+ }
+ public static final class layout {
+ public static final int addsite_dialog=0x7f030000;
+ public static final int main=0x7f030001;
+ }
+ public static final class menu {
+ public static final int menu=0x7f060000;
+ }
+ public static final class string {
+ public static final int about_text=0x7f050001;
+ public static final int app_name=0x7f050000;
+ }
+ public static final class xml {
+ public static final int settings=0x7f040000;
+ }
+}
@@ -0,0 +1,10 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must *NOT* be checked in Version Control Systems,
+# as it contains information specific to your local configuration.
+
+# location of the SDK. This is only used by Ant
+# For customization when using a Version Control System, please read the
+# header note.
+sdk.dir=/home/aisk/Projects/android-sdk-linux_x86
@@ -0,0 +1,40 @@
+-optimizationpasses 5
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-dontpreverify
+-verbose
+-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
+
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class com.android.vending.licensing.ILicensingService
+
+-keepclasseswithmembernames class * {
+ native <methods>;
+}
+
+-keepclasseswithmembers class * {
+ public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembers class * {
+ public <init>(android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers class * extends android.app.Activity {
+ public void *(android.view.View);
+}
+
+-keepclassmembers enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+ public static final android.os.Parcelable$Creator *;
+}
@@ -0,0 +1,11 @@
+# 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,
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-15
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,13 @@
+<?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"
+ >
+ <TextView
+ android:id="@+id/addsite_message"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="Add new site salt"
+ />
+</LinearLayout>
@@ -0,0 +1,12 @@
+<?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="@+id/siteListView"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+</LinearLayout>
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+ <menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:title="Add Site"
+ android:id="@+id/menuAdd">
+ </item>
+ <item android:title="Setting"
+ android:id="@+id/menuSetting"
+ android:showAsAction="ifRoom|withText" >
+ </item>
+ <item android:title="About"
+ android:id="@+id/meunAbout" >
+ </item>
+ <item android:title="Exit"
+ android:id="@+id/menuExit">
+ </item>
+</menu>
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="app_name">Salt Pass</string>
+ <string name="about_text">Salt Pass \nProtect your password \nVer 0.1 \n</string>
+</resources>
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory
+ android:title="Salt Setting">
+
+ <EditTextPreference
+ android:title="Secret Salt Key"
+ android:key="SALT_STRING"
+ android:summary="A salt key to protect your password"/>
+
+ </PreferenceCategory>
+</PreferenceScreen>
Oops, something went wrong.

0 comments on commit fc04fcc

Please sign in to comment.