Rants And Ramblings About Mobile Technology

Anders Borg writing about the fun and crazy world of mobile and Internet service technologies.

You can also read the blog via Twitter or your phone via wap.abiro.com. See the left menu for more news.

Comments on blog entries are moderated, but I'm rather liberal as long as it's not blatant advertising.

For general comments, advertising and contribution queries, please use the feedback form.

News feed (local)        FeedBurner Feed

Tuesday, October 10, 2006

 
Obfuscation, not just for code scrambling
Obfuscating Java code (including Java ME ditto) is critical, as it's otherwise very easy to decompile Java bytecode and that way reverse engineer the application. The core function of obfuscation is to rename all identifiers to something shorter and less obvious, but also other operations are done, in part complementing the optimizer in the compiler.

What's maybe less known is that due to the renaming and general optimization the code also gets much smaller. My applications easily become half the size with the "toughest" Proguard settings activated.

Proguard is included in NetBeans and it's very easy to set different levels of obfuscation, so there's no reason to not use it.

More in the article.

Obfuscating Your MIDlet Suite

Comments: Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?