Hi,
I wrote an app with 'android:targetSdkVersion="14"' in manifest.xml
that works perfectly on several devices under Android 4.4.2
but when testing with Android 4.3.6, I get the following error :
on line 256, I have :
Log("retour :"&job.GetString)
job is a post request from a web serveur and it is inJSon format
(perfectly read on the other devices ... the JSon is not the problem)
I found some related post on this forum, I clear the cache, ... no way
Any ideas ?
Thanks in advance.
(not easy to upload the project to the forum without revealing server's address and json request.
Sorry)
I wrote an app with 'android:targetSdkVersion="14"' in manifest.xml
that works perfectly on several devices under Android 4.4.2
but when testing with Android 4.3.6, I get the following error :
LogCat connected to: LGOTMS6c01b7
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
Error occurred on line: 265 (main)
java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.samples.customlistview/cache/1 (No such file or directory)
at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
at java.io.FileInputStream.<init>(FileInputStream.java:80)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
at anywheresoftware.b4a.samples.httputils2.httpjob._getstring2(httpjob.java:155)
at anywheresoftware.b4a.samples.httputils2.httpjob._getstring(httpjob.java:144)
at anywheresoftware.b4a.samples.customlistview.main._jobdone(main.java:1454)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
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:507)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:121)
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:130)
at android.app.ActivityThread.main(ActivityThread.java:3735)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Pause, UserClosed = true **
on line 256, I have :
Log("retour :"&job.GetString)
job is a post request from a web serveur and it is inJSon format
(perfectly read on the other devices ... the JSon is not the problem)
I found some related post on this forum, I clear the cache, ... no way
Any ideas ?
Thanks in advance.
(not easy to upload the project to the forum without revealing server's address and json request.
Sorry)