Originally posted by Paul Murtagh:
If it wouldn't be too much hassle could you try running the BouncyCastle app on the wtk2.1 to see if you can run it cause I've been at it for a week now and still no joy!
Originally posted by Michael Yuan:
Yes, it did run. I use JODE to obfuscate it though.
Originally posted by Jon Eaves:
I can't help with JODE, but I know that both ProGuard and Retroguard can be used very successfully with the BC libraries.
When you're developing with BC, the simplest way to work is to unpack the lw-api jar to somewhere sensible and then add that to your classpath.
Then when you create your MIDlet jar file, I create a tmp.jar first, then obfuscate to create my final version.
Here's the ant target that I use for this.
As you can see, you obfuscate, then preverify, then create the jar file.
If people are interested, contact me directly and I can send you the entire Ant build file (not that long)