Please help me on this: The server (192.168.1.103) answers:
LogCat connected to: B4A-Bridge: Sony C5302-355810056046306
--------- Beginning of / dev / log / main
Service ** (service1) Create **
Service ** (service1) Start **
Connected to B4A-Bridge (Wifi)
Streams_terminated
Connected to B4A-Bridge (Wifi)
Installing file.
Activity ** (main) Pause, UserClosed = false **
PackageAdded: package: anywheresoftware.b4a.samples.mysql
Activity ** (main) Create, isFirst = true **
Activity ** (main) Resume **
Service ** (httputils2service) Create **
Service ** (httputils2service) Start **
Log Message longer than limit (4000). Message was truncated.
Response from server: <br />
<font size = "1"> <table class = 'Error xdebug-xe-deprecated' dir = 'ltr' border = "1" cellspacing = "0" cellpadding = "1">
<tr> <th align = 'left' bgcolor = '# f57900' colspan = "5"> <span style = 'background-color: # cc0000; color: # fce94f; font-size: (!) x-large '> </ span> Deprecated: mysql_connect (): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C: \ wamp \ www \ dialer .PHP on line <i> 6 </ i> </ th> </ tr>
<tr> <th align = 'left' bgcolor = '# e9b96e' colspan = "5 '> Call Stack </ th> </ tr>
<tr> <th align = "center" bgcolor = '# eeeeec'> # </ th> <th align = 'left' bgcolor = '# eeeeec'> Time </ th> <th align = 'left' bgcolor = '#eeeeec'> Memory </ th> <th align = 'left' bgcolor = '# eeeeec'> Function </ th> <th align = 'left' bgcolor = '# eeeeec'> Location </ th> </ tr>
<tr> <td bgcolor = '# eeeeec' align = 'center'> 1 </ td> <td bgcolor = '# eeeeec' align = 'center'> 0.0005 </ td> <td bgcolor = '# eeeeec' align = "right"> 241944 </ td> <td bgcolor = '# eeeeec'> {main} () </ td> <td title = 'C: \ wamp \ www \ dialer.PHP' bgcolor = '# eeeeec' > .. \ dialer.PHP <b>: </ b> 0 </ td> </ tr>
<tr> <td bgcolor = '# eeeeec' align = 'center'> 2 </ td> <td bgcolor = '# eeeeec' align = 'center'> 0.0005 </ td> <td bgcolor = '# eeeeec' align = "right"> 242712 </ td> <td bgcolor = '# eeeeec'> <a href='
http://www.php.net/function.mysql-connect' target='_new'> mysql_connect </ a >
() </ Td> <td title = 'C: \ wamp \ www \ dialer.PHP' bgcolor = '# eeeeec'> .. \ dialer.PHP <b>: </ b> 6 </ td> </ tr>
</ table> </ font>
[{"Description": "AMERICAN BREAKFAST (Z)", "CODE": "000001"}, {"Description": "BREAKFAST WITH HARD MEAT (Z)", "CODE": "000002"}, {"DESCRIPTION ":" BREAKFAST PAN (Z) "," CODE ":" 000003 "}, {" Description ":" CONTINENTAL BREAKFAST (Z) "," CODE ":" 000004 "}, {" Description ":" EGGS SCRAMBLED WITH PAPA (Z) "," CODE ":" 000005 "}, {" Description ":" PANCAKES (Z) "," CODE ":" 000006 "}, {" Description ":" PAN + COFFEE (Z) "" CODE ":" 000007 "}, {" Description ":" HASH BROWNS - PAPA FR (Z) "," CODE. ":" 000008 "}, {" Description ":" HAMB 1 \ / 3 SINGLE (Z) "," CODE ":" 000009 "}, {" Description ":" WAFFLES "," CODE ":" 000010 "}, {" Description ":" SERVING FRUIT (Z) "," CODE ":" 000011 "}, {" Description ":" CHOCOLATE "," CODE ":" 000012 "}, {" Description ":" CAF ?, TE, (Z) "," CODE ":" 000013 "}, {" DESCRIPTION ""CHOCOLATE BREAD", "CODE": "000014"}, {"Description": "CAPPUCCINO (Z)", "CODE": "000015"}, {"Description": "CHOCOLATE BREAD AND CHEESE" "CODE": "000016"}, {"Description": "EGGS RANCHEROS Z", "CODE": "000017"}, {"Description": "NUT PIE", "CODE": "000018"}, {"Description": "BIG BREAST FINGERS", "CODE": "000019"}, {"Description": "BREAST SMALL FINGERS", "CODE": "000020"}, {"Description": "RIB SOUP RAS (Z ) "," CODE ":" 000021 "}, {" Description ":" HAMB.-CHICKEN 1 \ / 4-PAPA "," CODE ":" 000022 "}, {" Description ":" HAMB.MR-CHICKEN 1 \ / 3 PAPA "," CODE ":" 000023 "}, {" Description ":" PAPA JUMBO (Z) "," CODE ":" 000024 "}, {" Description ":" PAPA P \ / CARRIED (Z) "," CODE ":" 000025 "}, {" Description ":" HOT DOG (Z) "," CODE ":" 000026 "}, {" Description ":" omelette Z "," CODE ":" 000027 "}, {" Description ":" salchipapa BIG (Z) "," CODE ":" 000028 "}, {" Description ":" salchipapa SMALL A (Z) "," CODE? ":" 000029 "}, {"Description": "POTATO CHIPS PAQ.", "CODE": "000030"}, {"Description": "RED - HERBS (Z)", "CODE": "000031"}, {"Description": "MORA SHAKE BANANA (Z) "," CODE ":" 000032 "}, {" Description ":" STRAWBERRY SHAKE (Z) "," CODE ":" 000033 "}, {" Description ":" STRAWBERRY BANANA SMOOTHIE (Z) "," CODE ":" 000034 "}, {" Description ":" BURGER COMBO 1 \ / 3 CP (Z) "," CODE ":" 000035 "}, {" Description ":" CARROT JUICE (Z) "," CODE ":" 000036 "}, {" Description ":" TANGERINE JUICE (Z) "," CODE ":" 000037 "}, {" Description ":" ICE BAG SMALL (Z) ""CODE": "000038"}, {"Description": "BOTTLED WATER (Z)", "CODE": "000039"}, {"DESCRIPTION", "BANANA SPLIT (Z)", "CODE": "000041 "}, {" Description ":" BIG BAG OF ICE (Z) "," CODE ":" 000042 "}, {" Description ":" SOFT ICE CREAM CUP (Z) "," CODE ":" 000044 "} , {"Description": "SOFT WAFFLE CONE (Z)", "CODE": "000046"}, {"Description": "ICE CREAM (Z)", "CODE": "000047"}, {"DESCRIPTION "" MISTER S BANANA (Z) "," CODE? ":" 000048 "}, {" Description ":" PEACH SPLIT (Z) "," CODE ":" 000049 "}, {" Description ":" GAS SMALL A (Z) "," CODE? ":" 000050 "}, {" Description ":" GC 350
Log Message longer than limit (4000). Message was truncated.
Error occurred on line: 60 (main)
java.lang.RuntimeException: JSON Array expected.
at anywheresoftware.b4a.objects.collections.JSONParser.NextArray (JSONParser.java: 62)
at anywheresoftware.b4a.samples.mysql.main._jobdone (Main.java: 444)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java: 525)
at anywheresoftware.b4a.shell.Shell.runMethod (Shell.java: 636)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl (Shell.java: 305)
at anywheresoftware.b4a.shell.Shell.raiseEvent (Shell.java: 238)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java: 525)
at anywheresoftware.b4a.ShellBA.raiseEvent2 (ShellBA.java: 121)
anywheresoftware.b4a.BA at $ 3.run (BA.java: 320)
at android.os.Handler.handleCallback (Handler.java: 730)
at android.os.Handler.dispatchMessage (Handler.java: 92)
at android.os.Looper.loop (Looper.java: 213)
at android.app.ActivityThread.main (ActivityThread.java: 5225)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java: 525)
com.android.internal.os.ZygoteInit at $ MethodAndArgsCaller.run (ZygoteInit.java: 741)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java: 557)
at dalvik.system.NativeStart.main (Native Method)
Activity ** (main) Pause, UserClosed = true **
Activity ** (main) Resume **
Activity ** (main) Pause, UserClosed = false **
libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
running messages waiting (1)
Activity ** (main) Resume **
Service ** (service1) Destroy **
Service ** (service1) Create **
Service ** (service1) Start **
Service ** (service1) Destroy **
Activity ** (main) Pause, UserClosed = false **
Activity ** (main) Resume **
Activity ** (main) Pause, UserClosed = true **
Activity ** (main) Create, isFirst = true **
Activity ** (main) Resume **
Service ** (service1) Create **
Service ** (service1) Start **
Connected to B4A-Bridge (Wifi)
Installing file.
Activity ** (main) Pause, UserClosed = false **
PackageAdded: package: anywheresoftware.b4a.samples.mysql
Please help me on this: The server (192.168.1.103) answers:
LogCat connected to: B4A-Bridge: Sony C5302-355810056046306
--------- Beginning of / dev / log / main
Service ** (service1) Create **
Service ** (service1) Start **
Connected to B4A-Bridge (Wifi)
Streams_terminated
Connected to B4A-Bridge (Wifi)
Installing file.
Activity ** (main) Pause, UserClosed = false **
PackageAdded: package: anywheresoftware.b4a.samples.mysql
Activity ** (main) Create, isFirst = true **
Activity ** (main) Resume **
Service ** (httputils2service) Create **
Service ** (httputils2service) Start **
Log Message longer than limit (4000). Message was truncated.
Response from server: <br />
<font size = "1"> <table class = 'Error xdebug-xe-deprecated' dir = 'ltr' border = "1" cellspacing = "0" cellpadding = "1">
<tr> <th align = 'left' bgcolor = '# f57900' colspan = "5"> <span style = 'background-color: # cc0000; color: # fce94f; font-size: (!) x-large '> </ span> Deprecated: mysql_connect (): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C: \ wamp \ www \ dialer .PHP on line <i> 6 </ i> </ th> </ tr>
<tr> <th align = 'left' bgcolor = '# e9b96e' colspan = "5 '> Call Stack </ th> </ tr>
<tr> <th align = "center" bgcolor = '# eeeeec'> # </ th> <th align = 'left' bgcolor = '# eeeeec'> Time </ th> <th align = 'left' bgcolor = '#eeeeec'> Memory </ th> <th align = 'left' bgcolor = '# eeeeec'> Function </ th> <th align = 'left' bgcolor = '# eeeeec'> Location </ th> </ tr>
<tr> <td bgcolor = '# eeeeec' align = 'center'> 1 </ td> <td bgcolor = '# eeeeec' align = 'center'> 0.0005 </ td> <td bgcolor = '# eeeeec' align = "right"> 241944 </ td> <td bgcolor = '# eeeeec'> {main} () </ td> <td title = 'C: \ wamp \ www \ dialer.PHP' bgcolor = '# eeeeec' > .. \ dialer.PHP <b>: </ b> 0 </ td> </ tr>
<tr> <td bgcolor = '# eeeeec' align = 'center'> 2 </ td> <td bgcolor = '# eeeeec' align = 'center'> 0.0005 </ td> <td bgcolor = '# eeeeec' align = "right"> 242712 </ td> <td bgcolor = '# eeeeec'> <a href='
http://www.php.net/function.mysql-connect' target='_new'> mysql_connect </ a >
() </ Td> <td title = 'C: \ wamp \ www \ dialer.PHP' bgcolor = '# eeeeec'> .. \ dialer.PHP <b>: </ b> 6 </ td> </ tr>
</ table> </ font>
[{"Description": "AMERICAN BREAKFAST (Z)", "CODE": "000001"}, {"Description": "BREAKFAST WITH HARD MEAT (Z)", "CODE": "000002"}, {"DESCRIPTION ":" BREAKFAST PAN (Z) "," CODE ":" 000003 "}, {" Description ":" CONTINENTAL BREAKFAST (Z) "," CODE ":" 000004 "}, {" Description ":" EGGS SCRAMBLED WITH PAPA (Z) "," CODE ":" 000005 "}, {" Description ":" PANCAKES (Z) "," CODE ":" 000006 "}, {" Description ":" PAN + COFFEE (Z) "" CODE ":" 000007 "}, {" Description ":" HASH BROWNS - PAPA FR (Z) "," CODE. ":" 000008 "}, {" Description ":" HAMB 1 \ / 3 SINGLE (Z) "," CODE ":" 000009 "}, {" Description ":" WAFFLES "," CODE ":" 000010 "}, {" Description ":" SERVING FRUIT (Z) "," CODE ":" 000011 "}, {" Description ":" CHOCOLATE "," CODE ":" 000012 "}, {" Description ":" CAF ?, TE, (Z) "," CODE ":" 000013 "}, {" DESCRIPTION ""CHOCOLATE BREAD", "CODE": "000014"}, {"Description": "CAPPUCCINO (Z)", "CODE": "000015"}, {"Description": "CHOCOLATE BREAD AND CHEESE" "CODE": "000016"}, {"Description": "EGGS RANCHEROS Z", "CODE": "000017"}, {"Description": "NUT PIE", "CODE": "000018"}, {"Description": "BIG BREAST FINGERS", "CODE": "000019"}, {"Description": "BREAST SMALL FINGERS", "CODE": "000020"}, {"Description": "RIB SOUP RAS (Z ) "," CODE ":" 000021 "}, {" Description ":" HAMB.-CHICKEN 1 \ / 4-PAPA "," CODE ":" 000022 "}, {" Description ":" HAMB.MR-CHICKEN 1 \ / 3 PAPA "," CODE ":" 000023 "}, {" Description ":" PAPA JUMBO (Z) "," CODE ":" 000024 "}, {" Description ":" PAPA P \ / CARRIED (Z) "," CODE ":" 000025 "}, {" Description ":" HOT DOG (Z) "," CODE ":" 000026 "}, {" Description ":" omelette Z "," CODE ":" 000027 "}, {" Description ":" salchipapa BIG (Z) "," CODE ":" 000028 "}, {" Description ":" salchipapa SMALL A (Z) "," CODE? ":" 000029 "}, {"Description": "POTATO CHIPS PAQ.", "CODE": "000030"}, {"Description": "RED - HERBS (Z)", "CODE": "000031"}, {"Description": "MORA SHAKE BANANA (Z) "," CODE ":" 000032 "}, {" Description ":" STRAWBERRY SHAKE (Z) "," CODE ":" 000033 "}, {" Description ":" STRAWBERRY BANANA SMOOTHIE (Z) "," CODE ":" 000034 "}, {" Description ":" BURGER COMBO 1 \ / 3 CP (Z) "," CODE ":" 000035 "}, {" Description ":" CARROT JUICE (Z) "," CODE ":" 000036 "}, {" Description ":" TANGERINE JUICE (Z) "," CODE ":" 000037 "}, {" Description ":" ICE BAG SMALL (Z) ""CODE": "000038"}, {"Description": "BOTTLED WATER (Z)", "CODE": "000039"}, {"DESCRIPTION", "BANANA SPLIT (Z)", "CODE": "000041 "}, {" Description ":" BIG BAG OF ICE (Z) "," CODE ":" 000042 "}, {" Description ":" SOFT ICE CREAM CUP (Z) "," CODE ":" 000044 "} , {"Description": "SOFT WAFFLE CONE (Z)", "CODE": "000046"}, {"Description": "ICE CREAM (Z)", "CODE": "000047"}, {"DESCRIPTION "" MISTER S BANANA (Z) "," CODE? ":" 000048 "}, {" Description ":" PEACH SPLIT (Z) "," CODE ":" 000049 "}, {" Description ":" GAS SMALL A (Z) "," CODE? ":" 000050 "}, {" Description ":" GC 350
Log Message longer than limit (4000). Message was truncated.
Error occurred on line: 60 (main)
java.lang.RuntimeException: JSON Array expected.
at anywheresoftware.b4a.objects.collections.JSONParser.NextArray (JSONParser.java: 62)
at anywheresoftware.b4a.samples.mysql.main._jobdone (Main.java: 444)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java: 525)
at anywheresoftware.b4a.shell.Shell.runMethod (Shell.java: 636)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl (Shell.java: 305)
at anywheresoftware.b4a.shell.Shell.raiseEvent (Shell.java: 238)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java: 525)
at anywheresoftware.b4a.ShellBA.raiseEvent2 (ShellBA.java: 121)
anywheresoftware.b4a.BA at $ 3.run (BA.java: 320)
at android.os.Handler.handleCallback (Handler.java: 730)
at android.os.Handler.dispatchMessage (Handler.java: 92)
at android.os.Looper.loop (Looper.java: 213)
at android.app.ActivityThread.main (ActivityThread.java: 5225)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java: 525)
com.android.internal.os.ZygoteInit at $ MethodAndArgsCaller.run (ZygoteInit.java: 741)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java: 557)
at dalvik.system.NativeStart.main (Native Method)
Activity ** (main) Pause, UserClosed = true **
Activity ** (main) Resume **
Activity ** (main) Pause, UserClosed = false **
libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
running messages waiting (1)
Activity ** (main) Resume **
Service ** (service1) Destroy **
Service ** (service1) Create **
Service ** (service1) Start **
Service ** (service1) Destroy **
Activity ** (main) Pause, UserClosed = false **
Activity ** (main) Resume **
Activity ** (main) Pause, UserClosed = true **
Activity ** (main) Create, isFirst = true **
Activity ** (main) Resume **
Service ** (service1) Create **
Service ** (service1) Start **
Connected to B4A-Bridge (Wifi)
Installing file.
Activity ** (main) Pause, UserClosed = false **
PackageAdded: package: anywheresoftware.b4a.samples.mysql
AND LEAVE THE APP
ARE 700 RECORDS. SO WILL THE ERROR?
THANK YOU VERY MUCH