Menu

Android + JML

2011-02-06
2013-04-29
  • Rafael Barrera Oro

    Hello!

    I've noticed that it's quite tricky to get JML to work on Android (some even say it cannot be done, i hope this is not the case).

    So far i've noticed two vital issues one should have in mind in order to make a functioning messenger client:

    1)There is no SSL implemented on Android
    2)The class sun.security.action.GetPropertyAction is not available when developing for Dalvik, which usually results in a java.lang.NoClassDefFoundError: sun.security.action.GetPropertyAction kind of exception

    In order to fix the afforementioned problems i'd like to ask you to two questions (to begin with at least)

    1)How can i set the client to use TLS instead of SSL
    2)Is it possible to avoid the usage of sun.security.action.GetPropertyAction in order to prevent the afforementioned exception?

    If any has some piece of working code which he'd like to share it will be really appreciated

    Thanks in advance!

    Rafael

     
  • Anonymous

    Anonymous - 2011-05-03

    For future reference:

    1. Go to net.sf.jml.protocol.soap -> ContactList.java, search for “SSLv3”, change to “TLS”.
    2. Apply this patch: http://sourceforge.net/tracker/?func=detail&aid=2910514&group_id=118829&atid=682291

    And you're set.

     
  • Anonymous

    Anonymous - 2011-05-04

    Oh, and you have to change SSLv3 to TLS at net.sf.protocol.soap.OIM.java line 797

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.