From 0b874020352750c7d01ffcbd9c875a94bcb27290 Mon Sep 17 00:00:00 2001 From: Luca Falsina Date: Wed, 26 Nov 2014 18:23:49 +0100 Subject: [PATCH] COPYRIGHT file was added and typos correction. --- COPYRIGHT | 13 +++++++++++++ README.md | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 COPYRIGHT diff --git a/COPYRIGHT b/COPYRIGHT new file mode 100644 index 0000000..5df817b --- /dev/null +++ b/COPYRIGHT @@ -0,0 +1,13 @@ +Copyright 2014 Luca Falsina + +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. \ No newline at end of file diff --git a/README.md b/README.md index 869e3e4..8ca3e8e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ If you have also played a bit with the whole project, it would be great if you d - *11/26/2014* - **Grab'n Run is on line!** ## Main features -Securely load code dynamically into your Android application from *APK* containers or *JAR* libraries translated to be executable by the Dalvik Virtual Machine (see [here]() ). +Securely load code dynamically into your Android application from *APK* containers or *JAR* libraries translated to be executable by the Dalvik Virtual Machine (don not worry a [section]() of the guide explain exactly how to perform this translation). - *JAR* and *APK* containers can be either already stored on the device or **automatically fetched from remote locations** by GNR. - Retrieved containers signatures are compared against a valid developer certificate. Only containers that are correctly signed are allowed to have their classes loaded dynamically. This ensures **integrity** and **developer authentication** on all the retrieved containers. @@ -111,7 +111,7 @@ Copy and paste the code below in one of the Activity in your target Android proj Class loadedClass = mSecureDexClassLoader.loadClass("com.example.MyClass"); // Check whether the signature verification process succeeded - if (loadedClass == null) { + if (loadedClass != null) { // No security constraints were violated and so // class loading was successful.