Skip to content

Commit

Permalink
COPYRIGHT file was added and typos correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeFalsina committed Nov 26, 2014
1 parent 34dae70 commit 0b87402
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions 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.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 0b87402

Please sign in to comment.