×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    2

    Thumbs up How to achive Encryption of data in J2mePolish

    Hello Every body I had tried with
    import org.bouncycastle.crypto.*;
    import org.bouncycastle.crypto.engines.*;
    import org.bouncycastle.crypto.modes.*;
    import org.bouncycastle.crypto.params.*;
    **********AND*************
    And all other crypto classes but unable to achive iam getting somee serious waring
    proguard: Warning: org.bouncycastle.crypto.params.GOST3410Parameters: can't find referenced class java.math.BigInteger
    proguard: Warning: org.bouncycastle.crypto.params.GOST3410Parameters: can't find referenced class java.math.BigInteger
    proguard: Warning: org.bouncycastle.crypto.params.GOST3410Parameters: can't find referenced class java.math.BigInteger
    proguard: Warning: org.bouncycastle.crypto.params.GOST3410Parameters: can't find referenced class java.math.BigInteger
    proguard: Warning: org.bouncycastle.crypto.params.GOST3410Parameters: can't find referenced class java.math.BigInteger
    proguard: Warning: org.bouncycastle.crypto.params.GOST3410Parameters: can't find referenced class java.math.BigInteger
    proguard: Warning: org.bouncycastle.crypto.params.GOST3410Parameters: can't find referenced class java.math.BigInteger
    proguard: Warning: org.bouncycastle.crypto.params.GOST3410Parameters: can't find referenced class java.math.BigInteger
    proguard: Warning: org.bouncycastle.
    etc
    proguard: Error: Please correct the above warnings first.
    ProGuard arguments: [java, -jar, C:\J2ME-Polish2.2.1\lib\proguard.jar, -injars, "'C:\Documents and Settings\NeerajJaiswal\My Documents\NetBeansProjects\Saturn\build\real\source.jar'", -outjars, "'C:\Documents and Settings\NeerajJaiswal\My Documents\NetBeansProjects\Saturn\build\real\dest.jar'", -libraryjars, C:/J2ME-Polish2.2.1/import/mmapi.jar;C:/J2ME-Polish2.2.1/import/cldc-1.1.jar;C:/J2ME-Polish2.2.1/import/midp-2.0.jar;C:/J2ME-Polish2.2.1/import/btapi.jar;C:/J2ME-Polish2.2.1/import/m3g.jar;C:/J2ME-Polish2.2.1/import/nokia-ui.jar;C:/J2ME-Polish2.2.1/import/fileconnection.jar;C:/J2ME-Polish2.2.1/import/wmapi-2.0.jar;C:/J2ME-Polish2.2.1/import/wmapi.jar;C:/J2ME-Polish2.2.1/import/locationapi-1.0.jar;C:/J2ME-Polish2.2.1/import/pim.jar;C:/J2ME-Polish2.2.1/import/jsr172.jar;C:/J2ME-Polish2.2.1/import/jsr180.jar, -keep, class com.elixirct.appUI.MySaturnMidlet{ *; }, -dontoptimize, -applymapping, "'C:\Documents and Settings\NeerajJaiswal\My Documents\NetBeansProjects\Saturn\build\real\Nokia\E63\en_US\input-obfuscation-map.txt'", -printmapping, "'C:\Documents and Settings\NeerajJaiswal\My Documents\NetBeansProjects\Saturn\build\real\Nokia\E63\en_US\obfuscation-map.txt'", -allowaccessmodification, -overloadaggressively, -defaultpackage, "", -dontusemixedcaseclassnames, -microedition]
    C:\Documents and Settings\NeerajJaiswal\My Documents\NetBeansProjects\Saturn\build.xml:76: ProGuard was unable to obfuscate - got return value [1].

    Please Help me i getStuck....

  2. #2
    Nokia Developer Moderator
    Join Date
    Dec 2011
    Posts
    174

    Re: How to achive Encryption of data in J2mePolish

    Hi somraj_in,

    Do you get any errors if you disable the obfuscator in your build.xml file?

    <obfuscator name="ProGuard" enable="false" >

    -tiviinik

  3. #3
    Registered User
    Join Date
    Dec 2011
    Posts
    2

    Re: How to achive Encryption of data in J2mePolish

    Thanks for reply as per you i had used <obfuscator name="ProGuard" enable="false" > which disable obfuscate but now its giving me
    preverifying for device [Nokia/E63].
    Preverify call failed: 1
    preverify:Error preverifying class java.lang.String
    preverify:ERROR: finalize methods should not appear
    C:\WTK2.5.2_01\bin\preverify1.1.exe -classpath C:\J2ME-Polish2.2.1\import\mmapi.jar;C:\J2ME-Polish2.2.1\import\cldc-1.1.jar;C:\J2ME-Polish2.2.1\import\midp-2.0.jar;C:\J2ME-Polish2.2.1\import\btapi.jar;C:\J2ME-Polish2.2.1\import\m3g.jar;C:\J2ME-Polish2.2.1\import\nokia-ui.jar;C:\J2ME-Polish2.2.1\import\fileconnection.jar;C:\J2ME-Polish2.2.1\import\wmapi-2.0.jar;C:\J2ME-Polish2

    please help i am in trouble....

  4. #4
    Nokia Developer Moderator
    Join Date
    Dec 2011
    Posts
    174

    Re: How to achive Encryption of data in J2mePolish

    Don't know if this will help, but change the wtk.home path in global.properties file to your Nokia sdk folder.

    Downloading the newest WTK is also something that might be helpful.
    http://www.oracle.com/technetwork/ja...sdk/index.html

    -tiviinik

Similar Threads

  1. How to manipulate streaming voice data for encryption?
    By mrprintedwall in forum Symbian
    Replies: 5
    Last Post: 2010-01-29, 14:29
  2. How to achive multi processing?
    By VinodRaut in forum Symbian
    Replies: 2
    Last Post: 2007-08-07, 02:28
  3. How to achive a quality audio streaming over bluetooth
    By vivekthombare in forum Bluetooth Technology
    Replies: 0
    Last Post: 2006-10-16, 13:36
  4. Data file encryption in S60 3rd
    By whitewinds in forum Symbian
    Replies: 6
    Last Post: 2006-08-08, 09:19
  5. Data encryption/decryption in J2ME
    By divyas in forum Mobile Java General
    Replies: 1
    Last Post: 2006-05-18, 05:49

Posting Permissions

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