mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-23 17:22:16 -05:00
Rename fixes
This commit is contained in:
parent
1feb948acf
commit
0fffa4500b
@ -13,10 +13,10 @@
|
|||||||
|
|
||||||
<application
|
<application
|
||||||
android:icon="@drawable/icon"
|
android:icon="@drawable/icon"
|
||||||
android:label="APG API Demo" >
|
android:label="OpenPGP Keychain API Demo" >
|
||||||
<activity
|
<activity
|
||||||
android:name=".BaseActivity"
|
android:name=".BaseActivity"
|
||||||
android:label="APG API Demo" >
|
android:label="OpenPGP Keychain API Demo" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ import android.widget.Toast;
|
|||||||
|
|
||||||
public class KeychainIntentHelper {
|
public class KeychainIntentHelper {
|
||||||
|
|
||||||
public static final String APG_INTENT_PREFIX = "org.thialfihar.android.apg.intent.";
|
public static final String APG_INTENT_PREFIX = Constants.KEYCHAIN_PACKAGE_NAME + ".action.";
|
||||||
|
|
||||||
// Intents
|
// Intents
|
||||||
/**
|
/**
|
||||||
@ -343,7 +343,8 @@ public class KeychainIntentHelper {
|
|||||||
* @param data
|
* @param data
|
||||||
* @return handled or not
|
* @return handled or not
|
||||||
*/
|
*/
|
||||||
public boolean onActivityResult(int requestCode, int resultCode, Intent data, KeychainData apgData) {
|
public boolean onActivityResult(int requestCode, int resultCode, Intent data,
|
||||||
|
KeychainData apgData) {
|
||||||
|
|
||||||
switch (requestCode) {
|
switch (requestCode) {
|
||||||
case CREATE_KEY:
|
case CREATE_KEY:
|
||||||
|
@ -22,7 +22,7 @@ public final class Constants {
|
|||||||
|
|
||||||
public static final boolean DEBUG = true;
|
public static final boolean DEBUG = true;
|
||||||
|
|
||||||
public static final String TAG = "APG";
|
public static final String TAG = "Keychain";
|
||||||
|
|
||||||
public static final String PACKAGE_NAME = "org.sufficientlysecure.keychain";
|
public static final String PACKAGE_NAME = "org.sufficientlysecure.keychain";
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ public final class Constants {
|
|||||||
public static final String INTENT_PREFIX = PACKAGE_NAME + ".action.";
|
public static final String INTENT_PREFIX = PACKAGE_NAME + ".action.";
|
||||||
|
|
||||||
public static final class path {
|
public static final class path {
|
||||||
public static final String APP_DIR = Environment.getExternalStorageDirectory() + "/APG";
|
public static final String APP_DIR = Environment.getExternalStorageDirectory() + "/OpenPGP-Keychain";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final class pref {
|
public static final class pref {
|
||||||
|
22
README.md
22
README.md
@ -1,27 +1,25 @@
|
|||||||
# APG
|
# OpenPGP Keychain (for Android)
|
||||||
|
|
||||||
This is a fork of Android Privacy Guard (APG)
|
OpenPGP Keychain is a EXPERIMENTAL fork of Android Privacy Guard (APG)
|
||||||
|
|
||||||
I will try to reintegrate the various forks and develope a new user interface and API via AIDL and build a new stable version.
|
|
||||||
|
|
||||||
# Contribute
|
# Contribute
|
||||||
|
|
||||||
Fork APG and do a merge request. I will merge your changes back into the main project.
|
Fork OpenPGP Keychain and do a merge request. I will merge your changes back into the main project.
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
|
|
||||||
## Build with Ant
|
## Build with Ant
|
||||||
|
|
||||||
1. Have Android SDK "tools" directory in your PATH (http://developer.android.com/sdk/index.html)
|
1. Have Android SDK "tools" directory in your PATH (http://developer.android.com/sdk/index.html)
|
||||||
2. Change to "APG" directory with ``cd APG``
|
2. Change to "OpenPGP-Kechain" directory with ``cd OpenPGP-Kechain``
|
||||||
3. Execute ``android update project -p .`` and ``android update project -p android-libs/ActionBarSherlock``
|
3. Execute ``android update project -p .`` and ``android update project -p android-libs/ActionBarSherlock``
|
||||||
4. Execute ``ant debug``
|
4. Execute ``ant debug``
|
||||||
|
|
||||||
## Build with Eclipse
|
## Build with Eclipse
|
||||||
|
|
||||||
1. File -> Import -> Android -> Existing Android Code Into Workspace, choose "APG/android-libs/ActionBarSherlock"
|
1. File -> Import -> Android -> Existing Android Code Into Workspace, choose "OpenPGP-Kechain/android-libs/ActionBarSherlock"
|
||||||
2. File -> Import -> Android -> Existing Android Code Into Workspace, choose "APG"
|
2. File -> Import -> Android -> Existing Android Code Into Workspace, choose "OpenPGP-Kechain"
|
||||||
3. APG can now be build
|
3. OpenPGP-Kechain can now be build
|
||||||
|
|
||||||
# Libraries
|
# Libraries
|
||||||
|
|
||||||
@ -52,7 +50,7 @@ see http://rtyley.github.com/spongycastle/
|
|||||||
|
|
||||||
## Eclipse: "GC overhead limit exceeded"
|
## Eclipse: "GC overhead limit exceeded"
|
||||||
|
|
||||||
If you have problems starting APG from Eclipse, consider increasing the memory limits in eclipse.ini.
|
If you have problems starting OpenPGP Kechain from Eclipse, consider increasing the memory limits in eclipse.ini.
|
||||||
See http://docs.oseems.com/general/application/eclipse/fix-gc-overhead-limit-exceeded for more information.
|
See http://docs.oseems.com/general/application/eclipse/fix-gc-overhead-limit-exceeded for more information.
|
||||||
|
|
||||||
## Generate pressed dashboard icons
|
## Generate pressed dashboard icons
|
||||||
@ -116,7 +114,7 @@ Android primitives to exchange data: Intent, Intent with return values, Send (al
|
|||||||
* ACCESS_KEYS
|
* ACCESS_KEYS
|
||||||
|
|
||||||
# Licenses
|
# Licenses
|
||||||
APG is licensed under Apache License v2.
|
OpenPGP Kechain is licensed under Apache License v2.
|
||||||
|
|
||||||
## Libraries
|
## Libraries
|
||||||
* ActionBarSherlock
|
* ActionBarSherlock
|
||||||
@ -152,5 +150,5 @@ APG is licensed under Apache License v2.
|
|||||||
Public Domain
|
Public Domain
|
||||||
|
|
||||||
* dashboard_scan_qrcode.svg
|
* dashboard_scan_qrcode.svg
|
||||||
New creation for APG
|
New creation for OpenPGP Kechain
|
||||||
Apache License v2
|
Apache License v2
|
Loading…
Reference in New Issue
Block a user