×

Discussion Board

Results 1 to 4 of 4

Thread: Obfuscator

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    Obfuscator

    Is it really worth it to use obfuscator to hide your midlet source code from prying eyes.
    I know u can use it to reduce your midlet size.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    382

    RE: Obfuscator

    Hi

    Yes, it can reduce the size of the MIDlet, sometimes even 30 %,
    besides it can make faster your application because of shorter names of variables.

    But also it is quite important to protect intellectual rights by hiding the code.

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Beijing/China
    Posts
    153

    RE: Obfuscator

    I wonder that whether it will bring any problems along with the obfuscation?

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    It can bring up some small problems if your not careful.
    For example, if you you use the Class.forName() method to create new instances of some class (or something similar), then the string sent as a parameter won't be changed by the obfuscator, while the class' actual name will probably be shortened, and that will cause a ClassNotFoundException.
    Also you have to remember to preverify the obfuscated classes and update the jad and manifest files.
    All in all I do think it is good practice to use an obfuscator, if not to protect intellectual property, then at least to get a smaller jar and slightly faster code.

    shmoove

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×