I search the net and found something similar using Java SE
However, the point is that... in Java ME, I can't found a class "keyGenerator" (in startApp)
(I use netbean and it's underlined in red)
What should I do for it? am I missing any unimported class??
The following is the code I am working on,,,
Ulf Dittmer wrote:I'm not sure if JCE works on JME, but you have the KeyGenerator import commented out without which the compiler can't know about the class.
If JCE does not work on JME, check out the BouncyCastle API - it has a version that runs on JME.
I comment it out as it is not found in the library.
I tried BouncyCastle... but it requires signning...