summaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/android/launcher/ClassLoaderUtil.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-05-03 22:05:39 +0200
committerSven Gothel <[email protected]>2012-05-03 22:05:39 +0200
commitce9ace37ca883a844fbab7aef8c85197282442ed (patch)
tree657451f91e7efce59c3028aabb24c8a0d7f42a28 /src/java/jogamp/android/launcher/ClassLoaderUtil.java
parente058ab458bac76736e2ab125b797216fa0eb0856 (diff)
Android Launcher: More verbose ClassLoader*
Diffstat (limited to 'src/java/jogamp/android/launcher/ClassLoaderUtil.java')
-rw-r--r--src/java/jogamp/android/launcher/ClassLoaderUtil.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/java/jogamp/android/launcher/ClassLoaderUtil.java b/src/java/jogamp/android/launcher/ClassLoaderUtil.java
index 4e044ea..dae099e 100644
--- a/src/java/jogamp/android/launcher/ClassLoaderUtil.java
+++ b/src/java/jogamp/android/launcher/ClassLoaderUtil.java
@@ -43,6 +43,7 @@ public class ClassLoaderUtil {
// FIXME: Need to generalize this .. (Note: native lib resources must be cached!)
private static final String[] packagesJogAmp = { "com.jogamp.common", "javax.media.opengl" };
+ // JAU private static final String[] packagesJogAmp = { "javax.media.opengl" };
private static ClassLoader jogAmpClassLoader = null;
// location where optimized dex files will be written
@@ -104,6 +105,7 @@ public class ClassLoaderUtil {
StringBuilder apks = new StringBuilder();
StringBuilder libs = new StringBuilder();
+ // JAU libs.append("/data/data/com.jogamp.common/").append(ELEM_SEP);
int apkCount = 0;
String lastUserPackageName = null; // the very last one reflects the Activity
@@ -124,10 +126,12 @@ public class ClassLoaderUtil {
}
}
apks.append(userAPK);
+ Log.d(TAG, "APK["+apkCount+"] found: <"+lastUserPackageName+"> -> <"+userAPK+">");
+ Log.d(TAG, "APK["+apkCount+"] apks: <"+apks.toString()+">");
if(addUserLibPath) {
libs.append(appDir).append(PATH_SEP).append(lastUserPackageName).append(PATH_SEP).append(libSub).append(PATH_SEP);
+ Log.d(TAG, "APK["+apkCount+"] libs: <"+libs.toString()+">");
}
- Log.d(TAG, "APK found: <"+lastUserPackageName+"> -> <"+userAPK+">");
apkCount++;
} else {
Log.d(TAG, "APK not found: <"+lastUserPackageName+">");