I am new to Android platform development. I just succeeded in creating Cyanogenmod 7 sources after applying a patch that adds additional banks to the system (fits into the / system / framework directory).
After blinking the device and checking for new custom jars and decompiling (retrieving classes.dex and running dex2jar ) just to check for the required classes, I see that my test program crashes due to ClassNotFound exceptions.
Since compiled java user sources look fine, did I miss something during the build process so that my applications can use these new framework classes?
UPDATE :
I realized that structure frameworks are included inside the BOOTCLASSPATH environment variable, which is defined in init.rc. I changed it to include new banks from the SEEK project (smartcardapi.jar and org.simalliance.openmobileapi.jar). I restored the image and highlighted my phone.
Now the device does not start. I read something here about optimizing classes that run against BOOTCLASSPATH classes. Board should not bother with BOOTCLASSPATH.
But what can I do so that my applications can use the extended API classes defined in the new banks?
source
share