コード例 #1
0
public static bool createAnonymous(){
//XMLVM_BEGIN_WRAPPER[com.codename1.cloud.CloudPersona: boolean createAnonymous()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = null;
    _r7.i = 1;
    _r4_o = global::com.codename1.cloud.CloudPersona._finstance;
    if (_r4_o != null) goto label9;
    global::com.codename1.cloud.CloudPersona.getCurrentPersona();
    label9:;
    _r3_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r3_o).@this();
    ((global::com.codename1.io.ConnectionRequest) _r3_o).setPost(0!=_r7.i);
    // Value=https://codename-one.appspot.com/objStoreUser
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 106)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.io.ConnectionRequest) _r3_o).setUrl((global::java.lang.String) _r4_o);
    // Value=pk
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 107))}));
    _r5_o = global::com.codename1.ui.Display.getInstance();
    // Value=package_name
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101))}));
    _r5_o = ((global::com.codename1.ui.Display) _r5_o).getProperty((global::java.lang.String) _r6_o, (global::java.lang.String) _r8_o);
    ((global::com.codename1.io.ConnectionRequest) _r3_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    // Value=bb
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 98))}));
    _r5_o = global::com.codename1.ui.Display.getInstance();
    // Value=built_by_user
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r5_o = ((global::com.codename1.ui.Display) _r5_o).getProperty((global::java.lang.String) _r6_o, (global::java.lang.String) _r8_o);
    ((global::com.codename1.io.ConnectionRequest) _r3_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    _r4_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r4_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r3_o);
    _r4.i = ((global::com.codename1.io.ConnectionRequest) _r3_o).getResposeCode();
    _r5.i = 200;
    if (_r4.i == _r5.i) goto label69;
    _r4.i = 0;
    label68:;
    return _r4.i!=0;
    label69:;
    _r0_o = new global::java.io.ByteArrayInputStream();
    _r4_o = ((global::com.codename1.io.ConnectionRequest) _r3_o).getResponseData();
    ((global::java.io.ByteArrayInputStream) _r0_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r4_o);
    _r1_o = new global::java.io.DataInputStream();
    ((global::java.io.DataInputStream) _r1_o).@this((global::java.io.InputStream) _r0_o);
    _r4_o = global::com.codename1.cloud.CloudPersona._finstance;
    if (_r4_o != null) goto label94;
    _r4_o = new global::com.codename1.cloud.CloudPersona();
    ((global::com.codename1.cloud.CloudPersona) _r4_o).@this();
    global::com.codename1.cloud.CloudPersona._finstance = (global::com.codename1.cloud.CloudPersona) _r4_o;
    label94:;
    try {
    _r4_o = global::com.codename1.cloud.CloudPersona._finstance;
    _r5_o = ((global::java.io.DataInputStream) _r1_o).readUTF();
    ((global::com.codename1.cloud.CloudPersona) _r4_o)._fpersona = (global::java.lang.String) _r5_o;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.io.IOException) {
            _ex = ex;
            goto label121;
        }
        throw ex;
    } // end catch
    label102:;
    // Value=CN1Persona
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97))}));
    _r5_o = global::com.codename1.cloud.CloudPersona._finstance;
    _r5_o = ((global::com.codename1.cloud.CloudPersona) _r5_o)._fpersona;
    global::com.codename1.io.Preferences.set((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    // Value=CN1PersonaAnonymous
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 65)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115))}));
    global::com.codename1.io.Preferences.set((global::java.lang.String) _r4_o, 0!=_r7.i);
    global::com.codename1.io.Util.cleanup((global::java.lang.Object) _r1_o);
    _r4.i = _r7.i;
    goto label68;
    label121:;
    _r4_o = _ex.getJavaException();
    _ex = null;
    _r2_o = _r4_o;
    ((global::java.io.IOException) _r2_o).printStackTrace();
    goto label102;
//XMLVM_END_WRAPPER[com.codename1.cloud.CloudPersona: boolean createAnonymous()]
}
コード例 #2
0
ファイル: Message.cs プロジェクト: shannah/CN1WindowsPort
private global::System.Object createMessage(global::java.lang.String n1, global::java.lang.String n2, global::java.lang.String n3, global::java.lang.String n4, global::java.lang.String n5){
//XMLVM_BEGIN_WRAPPER[com.codename1.messaging.Message: com.codename1.io.ConnectionRequest createMessage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r6_o = this;
    _r7_o = n1;
    _r8_o = n2;
    _r9_o = n3;
    _r10_o = n4;
    _r11_o = n5;
    // Value=body
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121))}));
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    _r1_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r1_o).@this();
    _r2_o = global::com.codename1.ui.Display.getInstance();
    // Value=cloudServerURL
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 76))}));
    // Value=https://codename-one.appspot.com/
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47))}));
    _r2_o = ((global::com.codename1.ui.Display) _r2_o).getProperty((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    // Value=sendEmailServlet
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 69)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 116))}));
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r1_o);
    _r1.i = ((global::com.codename1.messaging.Message) _r6_o)._fcloudMessageFailSilently ? 1 : 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r1.i);
    _r1.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r1.i);
    // Value=d
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100))}));
    _r2_o = global::com.codename1.ui.Display.getInstance();
    // Value=built_by_user
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    // Value=
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r2_o = ((global::com.codename1.ui.Display) _r2_o).getProperty((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o);
    // Value=from
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)102)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r7_o);
    // Value=to
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 111))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r8_o);
    // Value=re
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 101))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r9_o);
    // Value=subject
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)115)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 106)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 116))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r10_o);
    _r1_o = ((global::com.codename1.messaging.Message) _r6_o)._fmimeType;
    // Value=text/plain
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110))}));
    _r1.i = ((global::java.lang.String) _r1_o).equals((global::java.lang.Object) _r2_o) ? 1 : 0;
    if (_r1.i == 0) goto label105;
    // Value=body
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121))}));
    _r1_o = ((global::com.codename1.messaging.Message) _r6_o)._fcontent;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r1_o);
    label104:;
    return (global::com.codename1.io.ConnectionRequest) _r0_o;
    label105:;
    // Value=body
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r11_o);
    // Value=html
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 108))}));
    _r2_o = ((global::com.codename1.messaging.Message) _r6_o)._fcontent;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o);
    goto label104;
//XMLVM_END_WRAPPER[com.codename1.messaging.Message: com.codename1.io.ConnectionRequest createMessage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)]
}
コード例 #3
0
ファイル: Util.cs プロジェクト: shannah/CN1WindowsPort
private static bool downloadUrlTo(global::java.lang.String n1, global::java.lang.String n2, bool n3, bool n4, bool n5, global::com.codename1.ui.events.ActionListener n6){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.Util: boolean downloadUrlTo(java.lang.String, java.lang.String, boolean, boolean, boolean, com.codename1.ui.events.ActionListener)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r7_o = n1;
    _r8_o = n2;
    _r9.i = n3 ? 1 : 0;
    _r10.i = n4 ? 1 : 0;
    _r11.i = n5 ? 1 : 0;
    _r12_o = n6;
    _r6.i = 0;
    _r5.i = 1;
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r6.i);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r5.i);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r7_o);
    if (_r12_o == null) goto label21;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addResponseListener((global::com.codename1.ui.events.ActionListener) _r12_o);
    label21:;
    if (_r11.i == 0) goto label37;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setDestinationStorage((global::java.lang.String) _r8_o);
    label26:;
    if (_r10.i == 0) goto label41;
    _r3_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r3_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r0_o);
    _r3.i = _r5.i;
    label36:;
    return _r3.i!=0;
    label37:;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setDestinationFile((global::java.lang.String) _r8_o);
    goto label26;
    label41:;
    if (_r9.i == 0) goto label72;
    _r2_o = new global::com.codename1.components.InfiniteProgress();
    ((global::com.codename1.components.InfiniteProgress) _r2_o).@this();
    _r1_o = ((global::com.codename1.components.InfiniteProgress) _r2_o).showInifiniteBlocking();
    _r3_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r3_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r0_o);
    ((global::com.codename1.ui.Dialog) _r1_o).dispose();
    label62:;
    _r3.i = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseCode();
    _r4.i = 200;
    if (_r3.i != _r4.i) goto label80;
    _r3.i = _r5.i;
    goto label36;
    label72:;
    _r3_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r3_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r0_o);
    goto label62;
    label80:;
    _r3.i = _r6.i;
    goto label36;
//XMLVM_END_WRAPPER[com.codename1.io.Util: boolean downloadUrlTo(java.lang.String, java.lang.String, boolean, boolean, boolean, com.codename1.ui.events.ActionListener)]
}
コード例 #4
0
public static void logOut(){
//XMLVM_BEGIN_WRAPPER[com.codename1.facebook.FaceBookAccess: void logOut()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    _r1.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r1.i);
    _r1_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r1_o).@this();
    // Value=https://www.facebook.com/logout.php?access_token=
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 63)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 61))}));
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    _r2_o = global::com.codename1.facebook.FaceBookAccess._ftoken;
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    // Value=&confirm=1&next=
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)38)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 61)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 38)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 61))}));
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    _r2_o = global::com.codename1.facebook.FaceBookAccess._fredirectURI;
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r1_o);
    _r1_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r1_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r0_o);
    _r1_o = null;
    global::com.codename1.facebook.FaceBookAccess._ftoken = (global::java.lang.String) _r1_o;
    return;
//XMLVM_END_WRAPPER[com.codename1.facebook.FaceBookAccess: void logOut()]
}
コード例 #5
0
public static void anonymousLogin(global::java.lang.String n1, global::java.lang.String n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.facebook.FaceBookAccess: void anonymousLogin(java.lang.String, java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = n1;
    _r5_o = n2;
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    _r1.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r1.i);
    // Value=https://graph.facebook.com/oauth/access_token
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r1_o);
    // Value=client_id
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 100))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r4_o);
    // Value=client_secret
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 116))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r5_o);
    // Value=grant_type
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)103)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101))}));
    // Value=client_credentials
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 115))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o);
    _r1_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r1_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r0_o);
    _r1_o = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseData();
    if (_r1_o == null) goto label73;
    _r1_o = new global::java.lang.String();
    _r2_o = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseData();
    ((global::java.lang.String) _r1_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r2_o);
    global::com.codename1.facebook.FaceBookAccess._ftoken = (global::java.lang.String) _r1_o;
    _r1_o = global::com.codename1.facebook.FaceBookAccess._ftoken;
    _r2_o = global::com.codename1.facebook.FaceBookAccess._ftoken;
    _r3.i = 61;
    _r2.i = ((global::java.lang.String) _r2_o).indexOf((int) _r3.i);
    _r2.i = _r2.i + 1;
    _r1_o = ((global::java.lang.String) _r1_o).substring((int) _r2.i);
    global::com.codename1.facebook.FaceBookAccess._ftoken = (global::java.lang.String) _r1_o;
    label73:;
    return;
//XMLVM_END_WRAPPER[com.codename1.facebook.FaceBookAccess: void anonymousLogin(java.lang.String, java.lang.String)]
}
コード例 #6
0
public virtual void deleteAllCloudFilesBefore(long n1, global::java.lang.String n2, global::java.lang.String n3){
//XMLVM_BEGIN_WRAPPER[com.codename1.cloud.CloudStorage: void deleteAllCloudFilesBefore(long, java.lang.String, java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = this;
    _r5.l = n1;
    _r7_o = n2;
    _r8_o = n3;
    _r1_o = global::com.codename1.cloud.CloudPersona.getCurrentPersona();
    _r1_o = ((global::com.codename1.cloud.CloudPersona) _r1_o).getToken();
    if (_r1_o != null) goto label11;
    label10:;
    return;
    label11:;
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    _r1.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r1.i);
    _r1.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r1.i);
    // Value=https://codename-one.appspot.com/purgeCloudFiles
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r1_o);
    // Value=d
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100))}));
    _r2_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r2_o).@this();
    // Value=
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).append((global::java.lang.String) _r3_o);
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).append((long) _r5.l);
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o);
    // Value=u
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r7_o);
    // Value=p
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r8_o);
    _r1_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r1_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r0_o);
    goto label10;
//XMLVM_END_WRAPPER[com.codename1.cloud.CloudStorage: void deleteAllCloudFilesBefore(long, java.lang.String, java.lang.String)]
}
コード例 #7
0
public static void deregisterPushFromServer(){
//XMLVM_BEGIN_WRAPPER[com.codename1.impl.CodenameOneImplementation: void deregisterPushFromServer()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4.l = -1L;
    // Value=push_id
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 100))}));
    // Value=push_id
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 100))}));
    _r0.l = global::com.codename1.io.Preferences.get((global::java.lang.String) _r7_o, (long) _r4.l);
    _r3.i = _r0.l > _r4.l ? 1 : (_r0.l == _r4.l ? 0 : -1);
    if (_r3.i <= 0) goto label107;
    _r2_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r2_o).@this();
    _r3.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r2_o).setPost(0!=_r3.i);
    _r3_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r3_o).@this();
    _r4_o = global::com.codename1.ui.Display.getInstance();
    // Value=cloudServerURL
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 76))}));
    // Value=https://codename-one.appspot.com/
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47))}));
    _r4_o = ((global::com.codename1.ui.Display) _r4_o).getProperty((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o);
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).append((global::java.lang.String) _r4_o);
    // Value=deregisterPush
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104))}));
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).append((global::java.lang.String) _r4_o);
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r2_o).setUrl((global::java.lang.String) _r3_o);
    // Value=p
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112))}));
    _r4_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r4_o).@this();
    // Value=
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r4_o = ((global::java.lang.StringBuilder) _r4_o).append((global::java.lang.String) _r5_o);
    _r4_o = ((global::java.lang.StringBuilder) _r4_o).append((long) _r0.l);
    _r4_o = ((global::java.lang.StringBuilder) _r4_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r2_o).addArgument((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    // Value=a
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)97))}));
    _r4_o = global::com.codename1.impl.CodenameOneImplementation.getApplicationKey();
    ((global::com.codename1.io.ConnectionRequest) _r2_o).addArgument((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    _r3_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r3_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r2_o);
    // Value=push_id
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 100))}));
    global::com.codename1.io.Preferences.delete((global::java.lang.String) _r7_o);
    // Value=push_key
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 121))}));
    global::com.codename1.io.Preferences.delete((global::java.lang.String) _r3_o);
    label107:;
    return;
//XMLVM_END_WRAPPER[com.codename1.impl.CodenameOneImplementation: void deregisterPushFromServer()]
}
コード例 #8
0
private global::System.Object uploadCloudFileImpl(global::java.lang.String n1, global::java.lang.String n2, global::java.io.InputStream n3, int n4){
//XMLVM_BEGIN_WRAPPER[com.codename1.cloud.CloudStorage: java.lang.String uploadCloudFileImpl(java.lang.String, java.lang.String, java.io.InputStream, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nElement _r14;
    global::System.Object _r14_o = null;
    global::org.xmlvm._nElement _r15;
    global::System.Object _r15_o = null;
    global::org.xmlvm._nElement _r16;
    global::System.Object _r16_o = null;
    global::org.xmlvm._nElement _r17;
    global::System.Object _r17_o = null;
    global::org.xmlvm._nElement _r18;
    global::System.Object _r18_o = null;
    global::org.xmlvm._nElement _r19;
    global::System.Object _r19_o = null;
    global::org.xmlvm._nElement _r20;
    global::System.Object _r20_o = null;
    global::org.xmlvm._nElement _r21;
    global::System.Object _r21_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r17_o = this;
    _r18_o = n1;
    _r19_o = n2;
    _r20_o = n3;
    _r21.i = n4;
    _r5_o = global::com.codename1.cloud.CloudPersona.getCurrentPersona();
    _r16_o = ((global::com.codename1.cloud.CloudPersona) _r5_o).getToken();
    if (_r16_o == null) goto label16;
    _r5.i = ((global::java.lang.String) _r16_o).length();
    if (_r5.i != 0) goto label39;
    label16:;
    _r5.i = global::com.codename1.cloud.CloudPersona.createAnonymous() ? 1 : 0;
    if (_r5.i != 0) goto label31;
    _r5_o = new global::com.codename1.cloud.CloudException();
    _r6.i = 2;
    // Value=Error creating anonymous login
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)69)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110))}));
    ((global::com.codename1.cloud.CloudException) _r5_o).@this((int) _r6.i, (global::java.lang.String) _r7_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::com.codename1.cloud.CloudException) _r5_o);
    label31:;
    _r5_o = global::com.codename1.cloud.CloudPersona.getCurrentPersona();
    _r16_o = ((global::com.codename1.cloud.CloudPersona) _r5_o).getToken();
    label39:;
    _r14_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r14_o).@this();
    _r5.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r14_o).setPost(0!=_r5.i);
    // Value=https://codename-one.appspot.com/fileStoreURLRequest
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 76)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 113)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116))}));
    ((global::com.codename1.io.ConnectionRequest) _r14_o).setUrl((global::java.lang.String) _r5_o);
    _r5_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r5_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r14_o);
    _r13.i = ((global::com.codename1.io.ConnectionRequest) _r14_o).getResponseCode();
    _r5.i = 200;
    if (_r13.i == _r5.i) goto label86;
    _r5.i = 420;
    if (_r13.i != _r5.i) goto label79;
    _r5_o = new global::com.codename1.cloud.CloudException();
    _r6.i = 3;
    ((global::com.codename1.cloud.CloudException) _r5_o).@this((int) _r6.i);
    throw new global::org.xmlvm._nExceptionAdapter((global::com.codename1.cloud.CloudException) _r5_o);
    label79:;
    _r5_o = new global::com.codename1.cloud.CloudException();
    _r6.i = 2;
    ((global::com.codename1.cloud.CloudException) _r5_o).@this((int) _r6.i);
    throw new global::org.xmlvm._nExceptionAdapter((global::com.codename1.cloud.CloudException) _r5_o);
    label86:;
    _r10_o = new global::java.lang.String();
    _r5_o = ((global::com.codename1.io.ConnectionRequest) _r14_o).getResponseData();
    ((global::java.lang.String) _r10_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r5_o);
    _r4_o = new global::com.codename1.io.MultipartRequest();
    ((global::com.codename1.io.MultipartRequest) _r4_o).@this();
    ((global::com.codename1.io.MultipartRequest) _r4_o).setUrl((global::java.lang.String) _r10_o);
    _r5.i = 0;
    ((global::com.codename1.io.MultipartRequest) _r4_o).setManualRedirect(0!=_r5.i);
    // Value=bb
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 98))}));
    _r6_o = global::com.codename1.ui.Display.getInstance();
    // Value=built_by_user
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r8_o = null;
    _r6_o = ((global::com.codename1.ui.Display) _r6_o).getProperty((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    ((global::com.codename1.io.MultipartRequest) _r4_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o);
    // Value=t
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116))}));
    _r6_o = global::com.codename1.cloud.CloudPersona.getCurrentPersona();
    _r6_o = ((global::com.codename1.cloud.CloudPersona) _r6_o).getToken();
    ((global::com.codename1.io.MultipartRequest) _r4_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o);
    // Value=pk
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 107))}));
    _r6_o = global::com.codename1.ui.Display.getInstance();
    // Value=package_name
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101))}));
    _r8_o = null;
    _r6_o = ((global::com.codename1.ui.Display) _r6_o).getProperty((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    ((global::com.codename1.io.MultipartRequest) _r4_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o);
    if (_r20_o != null) goto label206;
    _r5.i = 47;
    _r0_o = _r19_o;
    _r1.i = _r5.i;
    _r11.i = ((global::java.lang.String) _r0_o).lastIndexOf((int) _r1.i);
    _r15_o = _r19_o;
    _r5.i = -1;
    if (_r11.i <= _r5.i) goto label175;
    _r0_o = _r19_o;
    _r1.i = _r11.i;
    _r15_o = ((global::java.lang.String) _r0_o).substring((int) _r1.i);
    label175:;
    _r0_o = _r4_o;
    _r1_o = _r15_o;
    _r2_o = _r19_o;
    _r3_o = _r18_o;
    ((global::com.codename1.io.MultipartRequest) _r0_o).addData((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o, (global::java.lang.String) _r3_o);
    label184:;
    _r5_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r5_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r4_o);
    _r5.i = ((global::com.codename1.io.MultipartRequest) _r4_o).getResponseCode();
    _r6.i = 200;
    if (_r5.i == _r6.i) goto label220;
    _r5_o = new global::com.codename1.cloud.CloudException();
    _r6.i = 2;
    ((global::com.codename1.cloud.CloudException) _r5_o).@this((int) _r6.i);
    throw new global::org.xmlvm._nExceptionAdapter((global::com.codename1.cloud.CloudException) _r5_o);
    label206:;
    _r0.i = _r21.i;
    _r0.l = (long) _r0.i;
    _r7.l = _r0.l;
    _r5_o = _r19_o;
    _r6_o = _r20_o;
    _r9_o = _r18_o;
    ((global::com.codename1.io.MultipartRequest) _r4_o).addData((global::java.lang.String) _r5_o, (global::java.io.InputStream) _r6_o, (long) _r7.l, (global::java.lang.String) _r9_o);
    goto label184;
    label220:;
    _r12_o = new global::java.lang.String();
    _r5_o = ((global::com.codename1.io.MultipartRequest) _r4_o).getResponseData();
    ((global::java.lang.String) _r12_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r5_o);
    // Value=ERROR
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)69)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 79)), unchecked((char) unchecked((uint) 82))}));
    _r5.i = ((global::java.lang.String) _r5_o).equals((global::java.lang.Object) _r12_o) ? 1 : 0;
    if (_r5.i == 0) goto label244;
    _r5_o = new global::com.codename1.cloud.CloudException();
    _r6.i = 2;
    ((global::com.codename1.cloud.CloudException) _r5_o).@this((int) _r6.i);
    throw new global::org.xmlvm._nExceptionAdapter((global::com.codename1.cloud.CloudException) _r5_o);
    label244:;
    return (global::java.lang.String) _r12_o;
//XMLVM_END_WRAPPER[com.codename1.cloud.CloudStorage: java.lang.String uploadCloudFileImpl(java.lang.String, java.lang.String, java.io.InputStream, int)]
}
コード例 #9
0
public virtual bool deleteCloudFile(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.cloud.CloudStorage: boolean deleteCloudFile(java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = this;
    _r5_o = n1;
    _r3.i = 0;
    _r1_o = global::com.codename1.cloud.CloudPersona.getCurrentPersona();
    _r1_o = ((global::com.codename1.cloud.CloudPersona) _r1_o).getToken();
    if (_r1_o != null) goto label14;
    global::com.codename1.cloud.CloudPersona.createAnonymous();
    label14:;
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r3.i);
    _r1.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r1.i);
    // Value=https://codename-one.appspot.com/fileStoreDelete
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 68)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r1_o);
    // Value=i
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)105))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r5_o);
    // Value=t
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116))}));
    _r2_o = global::com.codename1.cloud.CloudPersona.getCurrentPersona();
    _r2_o = ((global::com.codename1.cloud.CloudPersona) _r2_o).getToken();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o);
    _r1_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r1_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r0_o);
    _r1.i = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseCode();
    _r2.i = 200;
    if (_r1.i != _r2.i) goto label80;
    _r1_o = new global::java.lang.String();
    _r2_o = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseData();
    ((global::java.lang.String) _r1_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r2_o);
    // Value=OK
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)79)), unchecked((char) unchecked((uint) 75))}));
    _r1.i = ((global::java.lang.String) _r1_o).equals((global::java.lang.Object) _r2_o) ? 1 : 0;
    label79:;
    return _r1.i!=0;
    label80:;
    _r1.i = _r3.i;
    goto label79;
//XMLVM_END_WRAPPER[com.codename1.cloud.CloudStorage: boolean deleteCloudFile(java.lang.String)]
}
コード例 #10
0
public virtual void visitPage(global::java.lang.String n1, global::java.lang.String n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.analytics.AnalyticsService: void visitPage(java.lang.String, java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r9_o = this;
    _r10_o = n1;
    _r11_o = n2;
    _r4.i = global::com.codename1.analytics.AnalyticsService._fappsMode ? 1 : 0;
    if (_r4.i == 0) goto label62;
    _r1_o = global::com.codename1.analytics.AnalyticsService.GetGARequest();
    // Value=t
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116))}));
    // Value=appview
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 119))}));
    ((global::com.codename1.io.ConnectionRequest) _r1_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    // Value=an
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)97)), unchecked((char) unchecked((uint) 110))}));
    _r5_o = global::com.codename1.ui.Display.getInstance();
    // Value=AppName
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)65)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101))}));
    // Value=Codename One App
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 79)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 65)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112))}));
    _r5_o = ((global::com.codename1.ui.Display) _r5_o).getProperty((global::java.lang.String) _r6_o, (global::java.lang.String) _r7_o);
    ((global::com.codename1.io.ConnectionRequest) _r1_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    _r4_o = global::com.codename1.ui.Display.getInstance();
    // Value=AppVersion
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)65)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 86)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110))}));
    // Value=1.0
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)49)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 48))}));
    _r3_o = ((global::com.codename1.ui.Display) _r4_o).getProperty((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o);
    // Value=av
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)97)), unchecked((char) unchecked((uint) 118))}));
    ((global::com.codename1.io.ConnectionRequest) _r1_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r3_o);
    // Value=cd
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 100))}));
    ((global::com.codename1.io.ConnectionRequest) _r1_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r10_o);
    _r4_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r4_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r1_o);
    label61:;
    return;
    label62:;
    _r4_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r4_o).@this();
    _r5_o = global::com.codename1.ui.Display.getInstance();
    // Value=cloudServerURL
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 76))}));
    // Value=https://codename-one.appspot.com/
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47))}));
    _r5_o = ((global::com.codename1.ui.Display) _r5_o).getProperty((global::java.lang.String) _r6_o, (global::java.lang.String) _r7_o);
    _r4_o = ((global::java.lang.StringBuilder) _r4_o).append((global::java.lang.String) _r5_o);
    // Value=anal
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108))}));
    _r4_o = ((global::java.lang.StringBuilder) _r4_o).append((global::java.lang.String) _r5_o);
    _r2_o = ((global::java.lang.StringBuilder) _r4_o).toString();
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r2_o);
    _r4.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r4.i);
    _r4.i = global::com.codename1.analytics.AnalyticsService._ffailSilently ? 1 : 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r4.i);
    // Value=guid
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)103)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 100))}));
    // Value=ON
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)79)), unchecked((char) unchecked((uint) 78))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    // Value=utmac
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99))}));
    _r5_o = global::com.codename1.analytics.AnalyticsService._finstance;
    _r5_o = ((global::com.codename1.analytics.AnalyticsService) _r5_o)._fagent;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    // Value=utmn
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 110))}));
    _r5.l = global::java.lang.System.currentTimeMillis();
    _r7.l = 2147483647L;
    _r5.l = _r5.l % _r7.l;
    _r5.i = (int) _r5.l;
    _r5_o = global::java.lang.Integer.toString((int) _r5.i);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    if (_r10_o == null) goto label152;
    _r4.i = ((global::java.lang.String) _r10_o).length();
    if (_r4.i != 0) goto label154;
    label152:;
    // Value=-
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)45))}));
    label154:;
    // Value=utmp
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 112))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r10_o);
    if (_r11_o == null) goto label167;
    _r4.i = ((global::java.lang.String) _r11_o).length();
    if (_r4.i != 0) goto label169;
    label167:;
    // Value=-
    _r11_o = new global::java.lang.String();
    ((global::java.lang.String)_r11_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)45))}));
    label169:;
    // Value=utmr
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r11_o);
    // Value=d
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100))}));
    _r5_o = global::com.codename1.analytics.AnalyticsService._finstance;
    _r5_o = ((global::com.codename1.analytics.AnalyticsService) _r5_o)._fdomain;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    _r4.i = 30;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPriority((sbyte) _r4.i);
    _r4_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r4_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r0_o);
    goto label61;
//XMLVM_END_WRAPPER[com.codename1.analytics.AnalyticsService: void visitPage(java.lang.String, java.lang.String)]
}
コード例 #11
0
private static global::System.Object GetGARequest(){
//XMLVM_BEGIN_WRAPPER[com.codename1.analytics.AnalyticsService: com.codename1.io.ConnectionRequest GetGARequest()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4.i = 1;
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    // Value=http://www.google-analytics.com/collect
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 116))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r3_o);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r4.i);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r4.i);
    // Value=v
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)118))}));
    // Value=1
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)49))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    // Value=tid
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 100))}));
    _r4_o = global::com.codename1.analytics.AnalyticsService._finstance;
    _r4_o = ((global::com.codename1.analytics.AnalyticsService) _r4_o)._fagent;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    _r1.l = global::com.codename1.io.Log.getUniqueDeviceId();
    // Value=cid
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 100))}));
    _r4_o = global::java.lang.String.valueOf((long) _r1.l);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    return (global::com.codename1.io.ConnectionRequest) _r0_o;
//XMLVM_END_WRAPPER[com.codename1.analytics.AnalyticsService: com.codename1.io.ConnectionRequest GetGARequest()]
}
コード例 #12
0
public virtual void run(){
//XMLVM_BEGIN_WRAPPER[com.codename1.impl.CodenameOneImplementation$4: void run()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r11_o = this;
    // Value=last_push_req
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 113))}));
    // Value=
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    // Value=last_push_req
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 113))}));
    // Value=0
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)48))}));
    _r3_o = global::com.codename1.io.Preferences.get((global::java.lang.String) _r8_o, (global::java.lang.String) _r7_o);
    label12:;
    _r7.i = global::com.codename1.impl.CodenameOneImplementation.access_2200() ? 1 : 0;
    if (_r7.i == 0) goto label220;
    try {
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    _r7_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r7_o).@this();
    _r8_o = global::com.codename1.ui.Display.getInstance();
    // Value=cloudServerURL
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 76))}));
    // Value=https://codename-one.appspot.com/
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47))}));
    _r8_o = ((global::com.codename1.ui.Display) _r8_o).getProperty((global::java.lang.String) _r9_o, (global::java.lang.String) _r10_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    // Value=pollManualPush
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 77)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104))}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r7_o);
    _r7.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r7.i);
    _r7.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r7.i);
    // Value=i
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)105))}));
    _r8_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r8_o).@this();
    // Value=
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r9_o);
    _r9.l = ((global::com.codename1.impl.CodenameOneImplementation_24) _r11_o)._fval_2pushId;
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((long) _r9.l);
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    // Value=last
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r7_o, (global::java.lang.String) _r3_o);
    _r7_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r7_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r0_o);
    _r7.i = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseCode();
    _r8.i = 200;
    if (_r7.i == _r8.i) goto label150;
    _r7_o = global::com.codename1.impl.CodenameOneImplementation.access_2100();
    // Value=Server registration error
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114))}));
    _r9.i = 1;
    ((global::com.codename1.push.PushCallback) _r7_o).pushRegistrationError((global::java.lang.String) _r8_o, (int) _r9.i);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.io.IOException) {
            _ex = ex;
            goto label214;
        }
        throw ex;
    } // end catch
    label121:;
    try {
    _r7_o = global::com.codename1.impl.CodenameOneImplementation.access_2100();
    global::System.Threading.Monitor.Enter(_r7_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Throwable) {
            _ex = ex;
            goto label143;
        }
        throw ex;
    } // end catch
    try {
    _r8_o = global::com.codename1.impl.CodenameOneImplementation.access_2100();
    _r9.i = global::com.codename1.impl.CodenameOneImplementation.access_2300();
    _r9.l = (long) _r9.i;
    ((global::java.lang.Object) _r8_o).wait((long) _r9.l);
    global::System.Threading.Monitor.Exit(_r7_o);
    goto label12;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label140;
        }
        throw ex;
    } // end catch
    label140:;
    try {
    _r8_o = _ex.getJavaException();
    _ex = null;
    global::System.Threading.Monitor.Exit(_r7_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label140;
        }
        throw ex;
    } // end catch
    try {
    throw new global::org.xmlvm._nExceptionAdapter((global::System.Object) _r8_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Throwable) {
            _ex = ex;
            goto label143;
        }
        throw ex;
    } // end catch
    label143:;
    _r7_o = _ex.getJavaException();
    _ex = null;
    _r5_o = _r7_o;
    ((global::java.lang.Throwable) _r5_o).printStackTrace();
    goto label12;
    label150:;
    try {
    _r1_o = new global::java.io.DataInputStream();
    _r7_o = new global::java.io.ByteArrayInputStream();
    _r8_o = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseData();
    ((global::java.io.ByteArrayInputStream) _r7_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r8_o);
    ((global::java.io.DataInputStream) _r1_o).@this((global::java.io.InputStream) _r7_o);
    _r7.i = ((global::java.io.DataInputStream) _r1_o).readBoolean() ? 1 : 0;
    if (_r7.i == 0) goto label121;
    _r6.i = ((global::java.io.DataInputStream) _r1_o).readByte();
    _r4_o = ((global::java.io.DataInputStream) _r1_o).readUTF();
    _r7_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r7_o).@this();
    // Value=
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r8.l = ((global::java.io.DataInputStream) _r1_o).readLong();
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((long) _r8.l);
    _r3_o = ((global::java.lang.StringBuilder) _r7_o).toString();
    // Value=last_push_req
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 113))}));
    global::com.codename1.io.Preferences.set((global::java.lang.String) _r7_o, (global::java.lang.String) _r3_o);
    _r7_o = global::com.codename1.impl.CodenameOneImplementation.access_2100();
    ((global::com.codename1.push.PushCallback) _r7_o).push((global::java.lang.String) _r4_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.io.IOException) {
            _ex = ex;
            goto label214;
        }
        throw ex;
    } // end catch
    goto label121;
    label214:;
    _r7_o = _ex.getJavaException();
    _ex = null;
    _r2_o = _r7_o;
    ((global::java.io.IOException) _r2_o).printStackTrace();
    goto label121;
    label220:;
    return;
//XMLVM_END_WRAPPER[com.codename1.impl.CodenameOneImplementation$4: void run()]
}
コード例 #13
0
ファイル: Push.cs プロジェクト: shannah/CN1WindowsPort
private static global::System.Object createPushMessage(global::java.lang.String n1, global::java.lang.String n2, bool n3, global::java.lang.String n4, global::java.lang.String n5, global::java.lang.String n6, global::java.lang.String n7, global::java.lang.String n8, global::java.lang.String n9, global::java.lang.String n10){
//XMLVM_BEGIN_WRAPPER[com.codename1.push.Push: com.codename1.io.ConnectionRequest createPushMessage(java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nElement _r14;
    global::System.Object _r14_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r5_o = n1;
    _r6_o = n2;
    _r7.i = n3 ? 1 : 0;
    _r8_o = n4;
    _r9_o = n5;
    _r10_o = n6;
    _r11_o = n7;
    _r12_o = n8;
    _r13_o = n9;
    _r14_o = n10;
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    _r1.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r1.i);
    _r1_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r1_o).@this();
    _r2_o = global::com.codename1.ui.Display.getInstance();
    // Value=cloudServerURL
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 76))}));
    // Value=https://codename-one.appspot.com/
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47))}));
    _r2_o = ((global::com.codename1.ui.Display) _r2_o).getProperty((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    // Value=sendPushMessage
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 77)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101))}));
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r1_o);
    // Value=packageName
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101))}));
    _r2_o = global::com.codename1.ui.Display.getInstance();
    // Value=package_name
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101))}));
    // Value=
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r2_o = ((global::com.codename1.ui.Display) _r2_o).getProperty((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o);
    // Value=email
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)101)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108))}));
    _r2_o = global::com.codename1.ui.Display.getInstance();
    // Value=built_by_user
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    // Value=
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r2_o = ((global::com.codename1.ui.Display) _r2_o).getProperty((global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o);
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o);
    if (_r6_o == null) goto label84;
    // Value=device
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r1_o, (global::java.lang.String) _r6_o);
    label84:;
    // Value=type
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101))}));
    // Value=1
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)49))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r6_o, (global::java.lang.String) _r1_o);
    // Value=auth
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)97)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 104))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r6_o, (global::java.lang.String) _r8_o);
    // Value=certPassword
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 100))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r6_o, (global::java.lang.String) _r10_o);
    // Value=cert
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 116))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r6_o, (global::java.lang.String) _r9_o);
    // Value=body
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r6_o, (global::java.lang.String) _r5_o);
    // Value=burl
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 108))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r11_o);
    // Value=bbAppId
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 65)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 73)), unchecked((char) unchecked((uint) 100))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r12_o);
    // Value=bbPass
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 115))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r13_o);
    // Value=bbPort
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 116))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r14_o);
    if (_r7.i == 0) goto label145;
    // Value=production
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110))}));
    // Value=true
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 101))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o);
    label140:;
    _r5.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r5.i);
    return (global::com.codename1.io.ConnectionRequest) _r0_o;
    label145:;
    // Value=production
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110))}));
    // Value=false
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)102)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o);
    goto label140;
//XMLVM_END_WRAPPER[com.codename1.push.Push: com.codename1.io.ConnectionRequest createPushMessage(java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)]
}
コード例 #14
0
ファイル: VServAds.cs プロジェクト: shannah/CN1WindowsPort
public override global::System.Object getAdDestination(){
//XMLVM_BEGIN_WRAPPER[com.codename1.impl.VServAds: java.lang.String getAdDestination()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r2_o = this;
    _r1_o = ((global::com.codename1.impl.VServAds) _r2_o)._factionNotify;
    if (_r1_o == null) goto label37;
    _r1_o = ((global::com.codename1.impl.VServAds) _r2_o)._factionNotify;
    _r1.i = ((global::java.lang.String) _r1_o).length();
    if (_r1.i <= 0) goto label37;
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    _r1.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r1.i);
    _r1_o = ((global::com.codename1.impl.VServAds) _r2_o)._factionNotify;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r1_o);
    _r1.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r1.i);
    _r1_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r1_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r0_o);
    label37:;
    _r1_o = ((global::com.codename1.impl.VServAds) _r2_o)._fdestination;
    return (global::java.lang.String) _r1_o;
//XMLVM_END_WRAPPER[com.codename1.impl.VServAds: java.lang.String getAdDestination()]
}
コード例 #15
0
ファイル: VServAds.cs プロジェクト: shannah/CN1WindowsPort
public override global::System.Object getPendingAd(){
//XMLVM_BEGIN_WRAPPER[com.codename1.impl.VServAds: com.codename1.ui.Component getPendingAd()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r7_o = this;
    _r5_o = ((global::com.codename1.impl.VServAds) _r7_o)._fimageURL;
    if (_r5_o != null) goto label6;
    _r5_o = null;
    label5:;
    return (global::com.codename1.ui.Component) _r5_o;
    label6:;
    _r5_o = ((global::com.codename1.impl.VServAds) _r7_o)._frenderNotify;
    if (_r5_o == null) goto label43;
    _r5_o = ((global::com.codename1.impl.VServAds) _r7_o)._frenderNotify;
    _r5.i = ((global::java.lang.String) _r5_o).length();
    if (_r5.i <= 0) goto label43;
    _r2_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r2_o).@this();
    _r5.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r2_o).setFailSilently(0!=_r5.i);
    _r5_o = ((global::com.codename1.impl.VServAds) _r7_o)._frenderNotify;
    ((global::com.codename1.io.ConnectionRequest) _r2_o).setUrl((global::java.lang.String) _r5_o);
    _r5.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r2_o).setPost(0!=_r5.i);
    _r5_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r5_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r2_o);
    label43:;
    // Value=image
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)105)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101))}));
    _r6_o = ((global::com.codename1.impl.VServAds) _r7_o)._fcontentType;
    _r5.i = ((global::java.lang.String) _r5_o).equalsIgnoreCase((global::java.lang.String) _r6_o) ? 1 : 0;
    if (_r5.i == 0) goto label97;
    _r0_o = new global::com.codename1.impl.VServAds_22();
    ((global::com.codename1.impl.VServAds_22) _r0_o).@this((global::com.codename1.impl.VServAds) _r7_o);
    // Value=Container
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.ui.Button) _r0_o).setUIID((global::java.lang.String) _r5_o);
    _r5_o = ((global::com.codename1.ui.Button) _r0_o).getStyle();
    _r6.i = ((global::com.codename1.impl.VServAds) _r7_o)._fbackgroundColor;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setBgColor((int) _r6.i);
    _r5_o = ((global::com.codename1.ui.Button) _r0_o).getStyle();
    _r6.i = 255;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setOpacity((int) _r6.i);
    _r3_o = new global::com.codename1.io.services.ImageDownloadService();
    _r5_o = ((global::com.codename1.impl.VServAds) _r7_o)._fimageURL;
    ((global::com.codename1.io.services.ImageDownloadService) _r3_o).@this((global::java.lang.String) _r5_o, (global::com.codename1.ui.Label) _r0_o);
    _r5_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r5_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r3_o);
    _r5_o = _r0_o;
    goto label5;
    label97:;
    _r4_o = new global::com.codename1.components.WebBrowser();
    ((global::com.codename1.components.WebBrowser) _r4_o).@this();
    _r5_o = ((global::com.codename1.components.WebBrowser) _r4_o).getInternal();
    _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.BrowserComponent)) ? 1 : 0;
    if (_r5.i == 0) goto label124;
    _r1_o = ((global::com.codename1.components.WebBrowser) _r4_o).getInternal();
    _r1_o = _r1_o;
    _r5_o = new global::com.codename1.impl.VServAds_23();
    ((global::com.codename1.impl.VServAds_23) _r5_o).@this((global::com.codename1.impl.VServAds) _r7_o);
    ((global::com.codename1.ui.BrowserComponent) _r1_o).setBrowserNavigationCallback((global::com.codename1.ui.events.BrowserNavigationCallback) _r5_o);
    label124:;
    _r5_o = ((global::com.codename1.impl.VServAds) _r7_o)._fimageURL;
    ((global::com.codename1.components.WebBrowser) _r4_o).setURL((global::java.lang.String) _r5_o);
    _r5_o = _r4_o;
    goto label5;
//XMLVM_END_WRAPPER[com.codename1.impl.VServAds: com.codename1.ui.Component getPendingAd()]
}
コード例 #16
0
ファイル: Log.cs プロジェクト: shannah/CN1WindowsPort
private static void sendLogLegacy(){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.Log: void sendLogLegacy()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    // Value=
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    try {
    _r7.i = global::com.codename1.ui.Display.isInitialized() ? 1 : 0;
    if (_r7.i != 0) goto label9;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Throwable) {
            _ex = ex;
            goto label41;
        }
        throw ex;
    } // end catch
    label8:;
    try {
    return;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Throwable) {
            _ex = ex;
            goto label41;
        }
        throw ex;
    } // end catch
    label9:;
    try {
    _r7_o = global::com.codename1.io.Log._finstance;
    _r7.i = ((global::com.codename1.io.Log) _r7_o)._flogDirty ? 1 : 0;
    if (_r7.i == 0) goto label8;
    _r7_o = global::com.codename1.io.Log._finstance;
    _r8.i = 0;
    ((global::com.codename1.io.Log) _r7_o)._flogDirty = 0!=_r8.i;
    _r0.l = global::com.codename1.io.Log.getUniqueDeviceId();
    _r7.l = 0L;
    _r7.i = _r0.l > _r7.l ? 1 : (_r0.l == _r7.l ? 0 : -1);
    if (_r7.i >= 0) goto label47;
    // Value=Send Log Error
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 76)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 69)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114))}));
    // Value=Device Not Registered: Sending a log from an unregistered device is impossible
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)68)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101))}));
    // Value=OK
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)79)), unchecked((char) unchecked((uint) 75))}));
    _r10_o = null;
    global::com.codename1.ui.Dialog.show((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o, (global::java.lang.String) _r9_o, (global::java.lang.String) _r10_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Throwable) {
            _ex = ex;
            goto label41;
        }
        throw ex;
    } // end catch
    goto label8;
    label41:;
    _r7_o = _ex.getJavaException();
    _ex = null;
    _r2_o = _r7_o;
    ((global::java.lang.Throwable) _r2_o).printStackTrace();
    goto label8;
    label47:;
    try {
    _r4_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r4_o).@this();
    _r7.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r4_o).setPost(0!=_r7.i);
    _r7_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r7_o).@this();
    _r8_o = global::com.codename1.ui.Display.getInstance();
    // Value=cloudServerURL
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 76))}));
    // Value=https://codename-one.appspot.com/
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47))}));
    _r8_o = ((global::com.codename1.ui.Display) _r8_o).getProperty((global::java.lang.String) _r9_o, (global::java.lang.String) _r10_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    // Value=uploadLogRequest
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 76)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 113)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116))}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r4_o).setUrl((global::java.lang.String) _r7_o);
    _r7.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r4_o).setFailSilently(0!=_r7.i);
    _r7_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r7_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r4_o);
    _r6_o = new global::java.lang.String();
    _r7_o = ((global::com.codename1.io.ConnectionRequest) _r4_o).getResponseData();
    ((global::java.lang.String) _r6_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r7_o);
    _r3_o = new global::com.codename1.io.MultipartRequest();
    ((global::com.codename1.io.MultipartRequest) _r3_o).@this();
    ((global::com.codename1.io.MultipartRequest) _r3_o).setUrl((global::java.lang.String) _r6_o);
    _r7_o = global::com.codename1.io.Storage.getInstance();
    // Value=CN1Log__$
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 76)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 36))}));
    _r7_o = ((global::com.codename1.io.Storage) _r7_o).createInputStream((global::java.lang.String) _r8_o);
    _r5_o = global::com.codename1.io.Util.readInputStream((global::java.io.InputStream) _r7_o);
    // Value=i
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)105))}));
    _r8_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r8_o).@this();
    // Value=
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r9_o);
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((long) _r0.l);
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).toString();
    ((global::com.codename1.io.MultipartRequest) _r3_o).addArgument((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    // Value=by
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 121))}));
    _r8_o = global::com.codename1.ui.Display.getInstance();
    // Value=built_by_user
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    // Value=
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r8_o = ((global::com.codename1.ui.Display) _r8_o).getProperty((global::java.lang.String) _r9_o, (global::java.lang.String) _r10_o);
    ((global::com.codename1.io.MultipartRequest) _r3_o).addArgument((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    // Value=p
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112))}));
    _r8_o = global::com.codename1.ui.Display.getInstance();
    // Value=package_name
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101))}));
    // Value=
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r8_o = ((global::com.codename1.ui.Display) _r8_o).getProperty((global::java.lang.String) _r9_o, (global::java.lang.String) _r10_o);
    ((global::com.codename1.io.MultipartRequest) _r3_o).addArgument((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    // Value=v
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)118))}));
    _r8_o = global::com.codename1.ui.Display.getInstance();
    // Value=AppVersion
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)65)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 86)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110))}));
    // Value=0.1
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)48)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 49))}));
    _r8_o = ((global::com.codename1.ui.Display) _r8_o).getProperty((global::java.lang.String) _r9_o, (global::java.lang.String) _r10_o);
    ((global::com.codename1.io.MultipartRequest) _r3_o).addArgument((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    // Value=log
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103))}));
    // Value=text/plain
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110))}));
    ((global::com.codename1.io.MultipartRequest) _r3_o).addData((global::java.lang.String) _r7_o, (global::org.xmlvm._nArrayAdapter<sbyte>) _r5_o, (global::java.lang.String) _r8_o);
    _r7.i = 1;
    ((global::com.codename1.io.MultipartRequest) _r3_o).setFailSilently(0!=_r7.i);
    _r7_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r7_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r3_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Throwable) {
            _ex = ex;
            goto label41;
        }
        throw ex;
    } // end catch
    goto label8;
//XMLVM_END_WRAPPER[com.codename1.io.Log: void sendLogLegacy()]
}