Alessandro Lacava’s Blog

Google
 

September 4, 2006

Build Brilliant Client/Server Apps with J2ME, PHP, and MySQL

Filed under: Computer, Java, Java ME, PHP — alessandrolacava @ 3:30 pm

In this article you’ll see how to make the three technologies work together by developing a simple and useful application that lets you update a multi-user blog and download the latest posts from it.
Read the Online article.


June 20, 2006

Using proguard obfuscator through the Wireless Toolkit

Filed under: Computer, Java, Java ME — alessandrolacava @ 10:53 pm

When you develop an application you might want to protect your code. A good way to accomplish this is using obfuscation. Proguard is a good open-source tool you can use for this purpose. To use it through the Wireless Toolkit (WTK), after downloading Proguard, you need to tell the WTK where it can find the obfuscator. You can do that by editing the file ktools.properties that you can find under %WTK%\wtklib\Windows, where %WTK% is the root directory of the Wireless Toolkit. Basically, you just need to add the two following lines to the aforementioned file: obfuscator.runner.class.name: proguard.wtk.ProGuardObfuscator
obfuscator.runner.classpath: proguard_path
where proguard_path is the absolute path to the proguard.jar file that you can find under the lib directory of proguard’s home folder. So the proguard_path will be (under a Windows system) something like: C:\\Programs\\proguard\\lib\\proguard.jar. After that, creating obfuscated code using the WTK is as easy as selecting Project->Package->Create Obfuscated Package from the WTK menu


Next Page »