Obfuscation Support for MIDP Projects
Previous Topic  

In J2ME, obfuscation can help protect applications that are deployed to millions of devices. Importantly, but often forgotten, obfuscation can also help developers with some other equally important issues like application size, security and performance.

There are a number of obfuscators available on the internet like ProGuard, Retroguard, Jode, JavaGuard, jarg and yGuard. We use ProGuard. You can download it from   http://java-source.net/open-source/obfuscators

Follow these steps to configure ProGuard with your eclipse workbench:

  1. Download and install ProGuard. See this link for more information http://proguard.sourceforge.net/
  2. Configure your MIDP Project.
    Project --> itanyplace---> create obfucated package. If Proguard is not configured then it will display the follwing error message.



    Click on "Configure Progurad".
  3. Now generate your code and then create an obfuscated par using Project --> itanyplace---> create obfucated package.