rename main folders
23
APG/.gitignore
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
#Android generated
|
||||
bin
|
||||
gen
|
||||
obj
|
||||
libs/armeabi
|
||||
lint.xml
|
||||
local.properties
|
||||
|
||||
#Eclipse
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
||||
#IntelliJ IDEA
|
||||
.idea
|
||||
*.iml
|
||||
|
||||
#Maven
|
||||
target
|
||||
release.properties
|
||||
|
||||
#Mac
|
||||
.DS_Store
|
||||
379
APG/AndroidManifest.xml
Normal file
@@ -0,0 +1,379 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Dominik Schürmann <dominik@dominikschuermann.de>
|
||||
Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.thialfihar.android.apg"
|
||||
android:installLocation="auto"
|
||||
android:versionCode="20000"
|
||||
android:versionName="2.0" >
|
||||
|
||||
<!--
|
||||
General remarks
|
||||
===============
|
||||
- Last APG 1 version was 10900 (1.0.9 beta 00)
|
||||
- APG 2 starting with versionCode 20000!
|
||||
|
||||
|
||||
Association of file types to APG
|
||||
=================================
|
||||
General remarks about file ending conventions:
|
||||
- *.gpg for binary files
|
||||
- *.asc for ascii armored files
|
||||
|
||||
The actual content can be anything.
|
||||
The file ending only shows if it is binary or ascii encoded.
|
||||
|
||||
Remarks about the ugly android:pathPattern:
|
||||
We are matching all files with a specific file ending.
|
||||
This is done in an ugly way because of Android limitations.
|
||||
Read http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-extension
|
||||
and http://stackoverflow.com/questions/3400072/pathpattern-to-match-file-extension-does-not-work-if-a-period-exists-elsewhere-i/8599921
|
||||
for more information.
|
||||
-->
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="8"
|
||||
android:targetSdkVersion="14" />
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="com.fsck.k9.permission.READ_ATTACHMENT" />
|
||||
|
||||
<permission-group
|
||||
android:name="org.thialfihar.android.apg.permission-group.APG"
|
||||
android:description="@string/permission_group_description"
|
||||
android:icon="@drawable/icon"
|
||||
android:label="@string/permission_group_label" />
|
||||
|
||||
<permission
|
||||
android:name="org.thialfihar.android.apg.permission.READ_KEY_DATABASE"
|
||||
android:description="@string/permission_read_key_database_description"
|
||||
android:label="@string/permission_read_key_database_label"
|
||||
android:permissionGroup="org.thialfihar.android.apg.permission-group.APG"
|
||||
android:protectionLevel="dangerous" />
|
||||
<permission
|
||||
android:name="org.thialfihar.android.apg.permission.ACCESS_API"
|
||||
android:description="@string/permission_access_api_description"
|
||||
android:label="@string/permission_access_api_label"
|
||||
android:permissionGroup="org.thialfihar.android.apg.permission-group.APG"
|
||||
android:protectionLevel="dangerous" />
|
||||
|
||||
<application
|
||||
android:name=".ApgApplication"
|
||||
android:hardwareAccelerated="true"
|
||||
android:icon="@drawable/icon"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.Sherlock.Light.ForceOverflow" >
|
||||
<activity
|
||||
android:name=".ui.MainActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
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=".ui.KeyListPublicActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_managePublicKeys"
|
||||
android:launchMode="singleTop"
|
||||
android:uiOptions="splitActionBarWhenNarrow" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEARCH" />
|
||||
</intent-filter>
|
||||
<!-- APG's own Actions -->
|
||||
<intent-filter android:label="@string/intent_import_key" >
|
||||
<action android:name="org.thialfihar.android.apg.intent.IMPORT" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
<!-- Linking "Import key" to file types -->
|
||||
<intent-filter android:label="@string/intent_import_key" >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:host="*" />
|
||||
<data android:scheme="file" />
|
||||
<data android:scheme="content" />
|
||||
<data android:mimeType="*/*" />
|
||||
<data android:pathPattern=".*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
</intent-filter>
|
||||
<intent-filter android:label="@string/intent_import_key" >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:host="*" />
|
||||
<data android:scheme="file" />
|
||||
<data android:scheme="content" />
|
||||
<data android:mimeType="*/*" />
|
||||
<data android:pathPattern=".*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.searchable"
|
||||
android:resource="@xml/searchable_public_keys" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.KeyListSecretActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_manageSecretKeys"
|
||||
android:launchMode="singleTop"
|
||||
android:uiOptions="splitActionBarWhenNarrow" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEARCH" />
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.searchable"
|
||||
android:resource="@xml/searchable_secret_keys" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.EditKeyActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_editKey"
|
||||
android:uiOptions="splitActionBarWhenNarrow"
|
||||
android:windowSoftInputMode="stateHidden" >
|
||||
<intent-filter>
|
||||
<action android:name="org.thialfihar.android.apg.intent.CREATE_KEY" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.EDIT_KEY" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.SelectPublicKeyActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_selectRecipients"
|
||||
android:launchMode="singleTop"
|
||||
android:uiOptions="splitActionBarWhenNarrow" >
|
||||
<intent-filter>
|
||||
<action android:name="org.thialfihar.android.apg.intent.SELECT_PUBLIC_KEYS" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEARCH" />
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.searchable"
|
||||
android:resource="@xml/searchable_public_keys" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.SelectSecretKeyActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_selectSignature"
|
||||
android:launchMode="singleTop" >
|
||||
<intent-filter>
|
||||
<action android:name="org.thialfihar.android.apg.intent.SELECT_SECRET_KEY" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEARCH" />
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.searchable"
|
||||
android:resource="@xml/searchable_secret_keys" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.EncryptActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_encrypt"
|
||||
android:uiOptions="splitActionBarWhenNarrow"
|
||||
android:windowSoftInputMode="stateHidden" >
|
||||
|
||||
<!-- APG's own Actions -->
|
||||
<intent-filter>
|
||||
<action android:name="org.thialfihar.android.apg.intent.ENCRYPT" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.ENCRYPT_FILE" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.ENCRYPT_AND_RETURN" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.GENERATE_SIGNATURE" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
<!-- Android's Send Action -->
|
||||
<intent-filter android:label="@string/intent_send_encrypt" >
|
||||
<action android:name="android.intent.action.SEND" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.DecryptActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_decrypt"
|
||||
android:uiOptions="splitActionBarWhenNarrow"
|
||||
android:windowSoftInputMode="stateHidden" >
|
||||
|
||||
<!-- APG's own Actions -->
|
||||
<intent-filter>
|
||||
<action android:name="org.thialfihar.android.apg.intent.DECRYPT" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.DECRYPT_FILE" />
|
||||
<action android:name="org.thialfihar.android.apg.intent.DECRYPT_AND_RETURN" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
<!-- Android's Send Action -->
|
||||
<intent-filter android:label="@string/intent_send_decrypt" >
|
||||
<action android:name="android.intent.action.SEND" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
<!-- Linking "Decrypt" to file types -->
|
||||
<intent-filter android:label="@string/intent_decrypt_file" >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:host="*" />
|
||||
<data android:scheme="file" />
|
||||
<data android:scheme="content" />
|
||||
<data android:mimeType="*/*" />
|
||||
<data android:pathPattern=".*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.gpg" />
|
||||
</intent-filter>
|
||||
<intent-filter android:label="@string/intent_decrypt_file" >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:host="*" />
|
||||
<data android:scheme="file" />
|
||||
<data android:scheme="content" />
|
||||
<data android:mimeType="*/*" />
|
||||
<data android:pathPattern=".*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.asc" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.KeyServerQueryActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_keyServerQuery" />
|
||||
<activity
|
||||
android:name=".ui.KeyServerUploadActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_sendKey" />
|
||||
<activity
|
||||
android:name=".ui.PreferencesActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_preferences" />
|
||||
<activity
|
||||
android:name=".ui.PreferencesKeyServerActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_keyServerPreference"
|
||||
android:uiOptions="splitActionBarWhenNarrow"
|
||||
android:windowSoftInputMode="stateHidden" />
|
||||
<activity
|
||||
android:name=".ui.SignKeyActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_signKey" />
|
||||
<activity
|
||||
android:name=".ui.ImportFromQRCodeActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/title_importFromQRCode" />
|
||||
<activity
|
||||
android:name=".ui.HelpActivity"
|
||||
android:label="@string/title_help" />
|
||||
|
||||
<service android:name=".service.PassphraseCacheService" />
|
||||
<service android:name=".service.ApgIntentService" />
|
||||
<service
|
||||
android:name=".service.ApgService"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:permission="org.thialfihar.android.apg.permission.ACCESS_API"
|
||||
android:process=":remote" >
|
||||
<intent-filter>
|
||||
<action android:name="org.thialfihar.android.apg.service.IApgService" />
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="api_version"
|
||||
android:value="3" />
|
||||
</service>
|
||||
|
||||
<provider
|
||||
android:name=".provider.ApgProviderInternal"
|
||||
android:authorities="org.thialfihar.android.apg.internal"
|
||||
android:exported="false" />
|
||||
<provider
|
||||
android:name=".provider.ApgProviderExternal"
|
||||
android:authorities="org.thialfihar.android.apg"
|
||||
android:readPermission="org.thialfihar.android.apg.permission.READ_KEY_DATABASE" />
|
||||
|
||||
<!-- TODO: authority! -->
|
||||
<provider
|
||||
android:name=".provider.ApgServiceBlobProvider"
|
||||
android:authorities="org.thialfihar.android.apg.provider.apgserviceblobprovider"
|
||||
android:permission="org.thialfihar.android.apg.permission.ACCESS_API" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
83
APG/build.xml
Normal file
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="APG" 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"
|
||||
/>
|
||||
|
||||
<!--
|
||||
Import per project custom build rules if present at the root of the project.
|
||||
This is the place to put custom intermediary targets such as:
|
||||
-pre-build
|
||||
-pre-compile
|
||||
-post-compile (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})
|
||||
-post-package
|
||||
-post-build
|
||||
-pre-clean
|
||||
-->
|
||||
<import file="custom_rules.xml" optional="true" />
|
||||
|
||||
<!-- 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>
|
||||
BIN
APG/libs/barcodescanner-android-integration-supportv4.jar
Normal file
BIN
APG/libs/htmlcleaner-2.2.jar
Normal file
BIN
APG/libs/htmlspanner-0.2-fork.jar
Normal file
BIN
APG/libs/sc-bzip2-1.47.0.2.jar
Normal file
BIN
APG/libs/sc-light-jdk15on-1.47.0.2.jar
Normal file
BIN
APG/libs/scpg-jdk15on-1.47.0.2.jar
Normal file
BIN
APG/libs/scprov-jdk15on-1.47.0.2.jar
Normal file
67
APG/pom.xml
Normal file
@@ -0,0 +1,67 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>1.0.9-SNAPSHOT</version>
|
||||
<groupId>org.thialfihar.android</groupId>
|
||||
<artifactId>apg</artifactId>
|
||||
<packaging>apk</packaging>
|
||||
<name>APG</name>
|
||||
<description>
|
||||
</description>
|
||||
<url>http://code.google.com/p/android-privacy-guard/</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<android.version>1.6_r2</android.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.google.android</groupId>
|
||||
<artifactId>android</artifactId>
|
||||
<scope>provided</scope>
|
||||
<version>1.6_r2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.madgag</groupId>
|
||||
<artifactId>scprov-jdk15</artifactId>
|
||||
<version>1.46.99.4-UNOFFICIAL-ROBERTO-RELEASE-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.zxing</groupId>
|
||||
<artifactId>android-integration</artifactId>
|
||||
<version>1.6-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<testSourceDirectory>test</testSourceDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.3.2</version>
|
||||
<configuration>
|
||||
<target>1.6</target>
|
||||
<source>1.6</source>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
||||
<artifactId>android-maven-plugin</artifactId>
|
||||
<version>3.0.0-alpha-11</version>
|
||||
<configuration>
|
||||
<sdk>
|
||||
<path>${user.home}/android-sdk-linux_x86/</path>
|
||||
<platform>4</platform>
|
||||
</sdk>
|
||||
<deleteConflictingFiles>true</deleteConflictingFiles>
|
||||
<extractDuplicates>true</extractDuplicates>
|
||||
</configuration>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
20
APG/proguard-project.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
# To enable ProGuard in your project, edit project.properties
|
||||
# to define the proguard.config property as described in that file.
|
||||
#
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in ${sdk.dir}/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the ProGuard
|
||||
# include property in project.properties.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
12
APG/project.properties
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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
|
||||
android.library.reference.1=../com_actionbarsherlock
|
||||
20
APG/res/anim/push_left_in.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="500"/>
|
||||
<alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:duration="500" />
|
||||
</set>
|
||||
20
APG/res/anim/push_left_out.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromXDelta="0" android:toXDelta="-100%p" android:duration="500"/>
|
||||
<alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:duration="500" />
|
||||
</set>
|
||||
20
APG/res/anim/push_right_in.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromXDelta="-100%p" android:toXDelta="0" android:duration="500"/>
|
||||
<alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:duration="500" />
|
||||
</set>
|
||||
20
APG/res/anim/push_right_out.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromXDelta="0" android:toXDelta="100%p" android:duration="500"/>
|
||||
<alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:duration="500" />
|
||||
</set>
|
||||
32
APG/res/drawable-finger/btn_circle.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_window_focused="false" android:state_enabled="true"
|
||||
android:drawable="@drawable/btn_circle_normal" />
|
||||
<item android:state_window_focused="false" android:state_enabled="false"
|
||||
android:drawable="@drawable/btn_circle_disable" />
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_circle_pressed" />
|
||||
<item android:state_focused="true" android:state_enabled="true"
|
||||
android:drawable="@drawable/btn_circle_selected" />
|
||||
<item android:state_enabled="true"
|
||||
android:drawable="@drawable/btn_circle_normal" />
|
||||
<item android:state_focused="true"
|
||||
android:drawable="@drawable/btn_circle_disable_focused" />
|
||||
<item
|
||||
android:drawable="@drawable/btn_circle_disable" />
|
||||
</selector>
|
||||
BIN
APG/res/drawable-hdpi-finger/btn_circle_disable.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
APG/res/drawable-hdpi-finger/btn_circle_disable_focused.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
APG/res/drawable-hdpi-finger/btn_circle_normal.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
APG/res/drawable-hdpi-finger/btn_circle_pressed.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
APG/res/drawable-hdpi-finger/btn_circle_selected.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
APG/res/drawable-hdpi-finger/ic_btn_round_minus.png
Normal file
|
After Width: | Height: | Size: 536 B |
BIN
APG/res/drawable-hdpi-finger/ic_btn_round_plus.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
APG/res/drawable-hdpi/abs__ab_bottom_solid_light_holo.9.png
Normal file
|
After Width: | Height: | Size: 144 B |
BIN
APG/res/drawable-hdpi/dashboard_decrypt_default.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
APG/res/drawable-hdpi/dashboard_decrypt_pressed.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
APG/res/drawable-hdpi/dashboard_encrypt_default.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
APG/res/drawable-hdpi/dashboard_encrypt_pressed.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
APG/res/drawable-hdpi/dashboard_help_default.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
BIN
APG/res/drawable-hdpi/dashboard_help_pressed.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
APG/res/drawable-hdpi/dashboard_manage_keys_default.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
APG/res/drawable-hdpi/dashboard_manage_keys_pressed.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
APG/res/drawable-hdpi/dashboard_my_keys_default.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
APG/res/drawable-hdpi/dashboard_my_keys_pressed.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
APG/res/drawable-hdpi/dashboard_scan_qrcode_default.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
APG/res/drawable-hdpi/dashboard_scan_qrcode_pressed.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
APG/res/drawable-hdpi/encrypted.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
APG/res/drawable-hdpi/encrypted_large.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
APG/res/drawable-hdpi/encrypted_small.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
APG/res/drawable-hdpi/ic_menu_about.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
APG/res/drawable-hdpi/ic_menu_decrypt.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
APG/res/drawable-hdpi/ic_menu_encrypt.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
APG/res/drawable-hdpi/ic_menu_filebrowser.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
APG/res/drawable-hdpi/ic_menu_scan_qrcode.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
APG/res/drawable-hdpi/ic_menu_search.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
APG/res/drawable-hdpi/ic_menu_search_list.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
APG/res/drawable-hdpi/ic_menu_settings.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
APG/res/drawable-hdpi/ic_next.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
APG/res/drawable-hdpi/ic_previous.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
APG/res/drawable-hdpi/icon.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
APG/res/drawable-hdpi/key.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
APG/res/drawable-hdpi/key_large.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
APG/res/drawable-hdpi/key_small.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
APG/res/drawable-hdpi/overlay_error.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
APG/res/drawable-hdpi/overlay_ok.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
APG/res/drawable-hdpi/signed.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
APG/res/drawable-hdpi/signed_large.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
APG/res/drawable-hdpi/signed_small.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
APG/res/drawable-ldpi/encrypted.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
APG/res/drawable-ldpi/encrypted_large.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
APG/res/drawable-ldpi/encrypted_small.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
APG/res/drawable-ldpi/ic_next.png
Normal file
|
After Width: | Height: | Size: 916 B |
BIN
APG/res/drawable-ldpi/ic_previous.png
Normal file
|
After Width: | Height: | Size: 922 B |
BIN
APG/res/drawable-ldpi/icon.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
APG/res/drawable-ldpi/key.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
APG/res/drawable-ldpi/key_large.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
APG/res/drawable-ldpi/key_small.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
APG/res/drawable-ldpi/overlay_error.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
APG/res/drawable-ldpi/overlay_ok.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
APG/res/drawable-ldpi/signed.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
APG/res/drawable-ldpi/signed_large.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
APG/res/drawable-ldpi/signed_small.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
APG/res/drawable-mdpi-finger/btn_circle_disable.png
Normal file
|
After Width: | Height: | Size: 938 B |
BIN
APG/res/drawable-mdpi-finger/btn_circle_disable_focused.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
APG/res/drawable-mdpi-finger/btn_circle_normal.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
APG/res/drawable-mdpi-finger/btn_circle_pressed.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
APG/res/drawable-mdpi-finger/btn_circle_selected.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
APG/res/drawable-mdpi-finger/ic_btn_round_minus.png
Normal file
|
After Width: | Height: | Size: 288 B |
BIN
APG/res/drawable-mdpi-finger/ic_btn_round_plus.png
Normal file
|
After Width: | Height: | Size: 526 B |
BIN
APG/res/drawable-mdpi/abs__ab_bottom_solid_light_holo.9.png
Normal file
|
After Width: | Height: | Size: 134 B |
BIN
APG/res/drawable-mdpi/encrypted.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
APG/res/drawable-mdpi/encrypted_large.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
APG/res/drawable-mdpi/encrypted_small.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
APG/res/drawable-mdpi/ic_menu_about.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
APG/res/drawable-mdpi/ic_menu_decrypt.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
APG/res/drawable-mdpi/ic_menu_encrypt.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
APG/res/drawable-mdpi/ic_menu_filebrowser.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
APG/res/drawable-mdpi/ic_menu_scan_qrcode.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
APG/res/drawable-mdpi/ic_menu_search.png
Normal file
|
After Width: | Height: | Size: 858 B |
BIN
APG/res/drawable-mdpi/ic_menu_search_list.png
Normal file
|
After Width: | Height: | Size: 863 B |
BIN
APG/res/drawable-mdpi/ic_menu_settings.png
Normal file
|
After Width: | Height: | Size: 866 B |
BIN
APG/res/drawable-mdpi/ic_next.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
APG/res/drawable-mdpi/ic_previous.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
APG/res/drawable-mdpi/icon.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
APG/res/drawable-mdpi/key.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
APG/res/drawable-mdpi/key_large.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
APG/res/drawable-mdpi/key_small.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
APG/res/drawable-mdpi/overlay_error.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |