regarding loading class and external resources...

Put your problem here if it does not fit any of the other categories.

regarding loading class and external resources...

Postby KennetRose » Mon Mar 28, 2011 8:38 am

hi,

My application require some others library... which I download
dynamically from internet and load into system...
In SDK 0.9 my coding is work fine... but when I port it to SDK 1.0...
I having some problem below...

can anyone guide me to port it???

1) PathClassLoader loader = new PathClassLoader(
"/data/data/org.beo/beo.mylib/myLib.apk",
ClassLoader.getSystemClassLoader());

Class calledClass = null;

calledClass = loader.loadClass("beo.mylib.beoware");

I fail to load into system...


2) AssetManager constructor not longer visible... how can I load???

AssetManager assetManager = new AssetManager();
assetManager.addAssetPath("/data/data/org.beo/beo.mylib/myLib.apk");


can anyone guide me to port this two branch of problem??? so that I __________________________
mother of the bride dress
discount weddingdresses
Wedding Veils
can continue my develop???
KennetRose
Developer
Developer
 
Posts: 29
Joined: Thu Dec 23, 2010 7:18 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 17 guests