This is my problem.
I use a web pages to record data in an access database via odbc and classica asp pages.
In b4a project i collect some data and then use this code
All data are correctly saved on database but i receive this error StringIndexOutOfBoundsException
and i'm unable to debug the problem (i'm trying from 3 days with no success).
Any ideas about?
Thank you
I use a web pages to record data in an access database via odbc and classica asp pages.
In b4a project i collect some data and then use this code
B4X:
'recording
req.InitializeGet("http://localhost/rec_data.asp?secret=mypwd&idclie="&idcli&"&ragso="&encodedRagsoc&"&event="&encodedEvent&"¬e="&encodedNote&"&date_d="&dated&"&time_d="&timed&"&tecni="&usertec)
httpC.Execute(req, 1)
ProgressDialogShow("Recording...")
label2.Text="Ok"
B4X:
java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1579)
at OneGest.Web.main._httpc_responsesuccess(main.java:606)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
at anywheresoftware.b4a.BA$3.run(BA.java:320)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
java.lang.StringIndexOutOfBoundsException
and i'm unable to debug the problem (i'm trying from 3 days with no success).
Any ideas about?
Thank you