public virtual void actionPerformed(global::com.codename1.ui.events.ActionEvent n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.share.FacebookShare$2: void actionPerformed(com.codename1.ui.events.ActionEvent)] 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; _r10_o = this; _r11_o = n1; _r7_o = new global::com.codename1.components.InfiniteProgress(); ((global::com.codename1.components.InfiniteProgress) _r7_o).@this(); _r9_o = ((global::com.codename1.components.InfiniteProgress) _r7_o).showInifiniteBlocking(); _r1_o = global::com.codename1.facebook.FaceBookAccess.getInstance(); _r3_o = new global::com.codename1.share.FacebookShare_22_21(); ((global::com.codename1.share.FacebookShare_22_21) _r3_o).@this((global::com.codename1.share.FacebookShare_22) _r10_o, (global::com.codename1.ui.Dialog) _r9_o); ((global::com.codename1.facebook.FaceBookAccess) _r1_o).addResponseCodeListener((global::com.codename1.ui.events.ActionListener) _r3_o); _r0_o = new global::com.codename1.io.MultipartRequest(); ((global::com.codename1.io.MultipartRequest) _r0_o).@this(); _r1_o = new global::com.codename1.share.FacebookShare_22_22(); ((global::com.codename1.share.FacebookShare_22_22) _r1_o).@this((global::com.codename1.share.FacebookShare_22) _r10_o, (global::com.codename1.ui.Dialog) _r9_o); ((global::com.codename1.io.MultipartRequest) _r0_o).addResponseListener((global::com.codename1.ui.events.ActionListener) _r1_o); _r1_o = new global::java.lang.StringBuilder(); ((global::java.lang.StringBuilder) _r1_o).@this(); // Value=https://graph.facebook.com/me/photos?access_token= _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) 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) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 115)), 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) _r3_o); _r3_o = ((global::com.codename1.share.FacebookShare_22) _r10_o)._fthis_20; _r3_o = global::com.codename1.share.FacebookShare.access_2000((global::com.codename1.share.FacebookShare) _r3_o); _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r3_o); _r6_o = ((global::java.lang.StringBuilder) _r1_o).toString(); ((global::com.codename1.io.MultipartRequest) _r0_o).setUrl((global::java.lang.String) _r6_o); // Value=message _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)109)), 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))})); _r3_o = ((global::com.codename1.share.FacebookShare_22) _r10_o)._fval_2f; _r4.i = 0; _r3_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o)[_r4.i]; _r3_o = ((global::com.codename1.share.ShareForm) _r3_o).getMessage(); ((global::com.codename1.io.MultipartRequest) _r0_o).addArgumentNoEncoding((global::java.lang.String) _r1_o, (global::java.lang.String) _r3_o); _r2_o = null; try { _r1_o = global::com.codename1.io.FileSystemStorage.getInstance(); _r3_o = ((global::com.codename1.share.FacebookShare_22) _r10_o)._fval_2image; _r2_o = ((global::com.codename1.io.FileSystemStorage) _r1_o).openInputStream((global::java.lang.String) _r3_o); // Value=source _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) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101))})); _r3_o = global::com.codename1.io.FileSystemStorage.getInstance(); _r4_o = ((global::com.codename1.share.FacebookShare_22) _r10_o)._fval_2image; _r3.l = ((global::com.codename1.io.FileSystemStorage) _r3_o).getLength((global::java.lang.String) _r4_o); _r5_o = ((global::com.codename1.share.FacebookShare_22) _r10_o)._fval_2mime; ((global::com.codename1.io.MultipartRequest) _r0_o).addData((global::java.lang.String) _r1_o, (global::java.io.InputStream) _r2_o, (long) _r3.l, (global::java.lang.String) _r5_o); _r1_o = global::com.codename1.io.NetworkManager.getInstance(); ((global::com.codename1.io.NetworkManager) _r1_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r0_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 label112; } throw ex; } // end catch label111:; return; label112:; _r1_o = _ex.getJavaException(); _ex = null; _r8_o = _r1_o; ((global::java.io.IOException) _r8_o).printStackTrace(); goto label111; //XMLVM_END_WRAPPER[com.codename1.share.FacebookShare$2: void actionPerformed(com.codename1.ui.events.ActionEvent)] }
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)] }
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()] }