logo       

Re: Obfuscation: msg#00222

java.sun.kvm

Subject: Re: Obfuscation

> Anytime I try to obfuscate my application while using one of
> Motorola's APIs
> such as the GPS API for i88s, I get variuos errors when running the
> application. Does anyone know why or does anyone know how to
> obfuscate while using these APIs?

I ran into the same problem when obfuscating using JShrink (my obfuscator of
choice). It's because the obfuscator doesn't know where the extra class
files are. What I did for Nokia special classes was to get the midpapi.zip
file, get the nokia-specific class files, whack them in the appropriate
directory structure i.e. /com/nokia/specific/package/ClassName.class, then
stick it into a copy of the midpapi.zip file (I called mine
midpapi_nokia_specific.zip).

Then, when the obfuscator asks you what classpath you want, you can use the
phone-specific one with no problems. If obfuscating for a bog-standard
midp1.x phone, you use the standard midpapi.zip file.

HTH,


Adrian

Adrian Hill
Software Architect
NRMi

tel: +44 (0)1482 441142
www: http://www.nrmi.co.uk

The information contained in this message is confidential and may be legally
privileged. The message is intended solely for the addressee(s). If you are
not the intended recipient, you are hereby notified that any use,
dissemination, or reproduction is strictly prohibited and may be unlawful.
If you are not the intended recipient, please contact the sender by return
e-mail and destroy all copies of the original message.

===========================================================================
To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise