Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2006

    Question Update after Obfuscation

    Something came to my mind, while i was working on J2ME today..

    Think about a jar file which was obfuscated and all the unnecessary classes and the other things are removed from it. But when you add a functionality to your MIDlet which can be updated automatically from the mobile phone, will it be a problem, if you use the classes which were deleted by the obfuscator ( like proguard ) ?

    Will we also need to update the class definitions to the mobile , or how will it be possible, when you use those classes whose definitions were deleted by the obfuscator before..

  2. #2
    Regular Contributor
    Join Date
    Jan 2005
    France, Paris

    Re: Update after Obfuscation

    The only way to update a MIDlet is to use the MIDlet.platformRequest(url), where "url" is your updated midlet url (same midlet suite, midlet name and so on...). Consequently, the former MIDlet is overwritten by the new one, you won't have any problem with obfuscated classes.
    Some phones ask you if you want to save your "RMS" data, if you used RMS in the former MIDlet. Some other phones are unable to overwrite the MIDlet, because of their old firmwares.

  3. #3
    Registered User
    Join Date
    Feb 2006

    Re: Update after Obfuscation

    Thanks so much for your answer, canard_42, it has been really helpful !

    So it's not possible to change only a part of the midlet but we have to change the jar file itself...

Similar Threads

  1. Update SQL statement doesn't work
    By asheeshv in forum Symbian
    Replies: 4
    Last Post: 2008-12-11, 05:41
  2. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  3. Serious issues with PC Suite 6.7 and firmware update 6680 / 4.04.07
    By Bouthillier in forum General Development Questions
    Replies: 0
    Last Post: 2005-12-24, 14:56
  4. Replies: 3
    Last Post: 2005-11-15, 03:16
  5. Nokia update manager
    By revelldominic in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2005-07-27, 15:51

Posting Permissions

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