×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    13

    Obfuscation and Native calls

    Is there an 'emptied-out' version (i.e. no Native calls) of the Nokia API available or any plans to make one as the Native calls used (for example, when using a List) cause an 'Unsatisified Link Error' which means the no obfuscation can occur on the code, which given the small file limits in place can be vital.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    RE: Obfuscation and Native calls

    I was able to obfuscate my midlet jar with RetroGuard using 'emptied-out' MIDP API which can be found at http://developer.java.sun.com/developer/qow/archive/161/emptyapi.zip

    After running the preverifier on the obfuscated jar file, the midlet runs nicely on the 6310i emulator. But for some reason NOT on the actual phone! Any ideas why ?

    Harri

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    RE: Obfuscation and Native calls

    In your 6310i emulator directory, there is a file called classes.zip, this file contains all the API you need. Include this file in your classpath when compiling.

    When obfuscating, remember NOT to include all javax.* and com.nokia.* packages. This might be your problem.

Posting Permissions

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