Would anyone be able to help me implement threading into my app, I have previously tried the threading library (https://www.b4x.com/android/forum/threads/threading-library.6775/#content) but get the error message "wrong number of arguments; expected 4, got 0". I have got this error when trying the example and have even modified and made a test application in an attempt to get it working.
Hi Erel,
There is multiple reasons why I need threading, for synchronizing data between devices using a web service, loading large files with a lot of separated data and for changing large amounts of data in my application. I have tried other solutions but due to the criteria of the project and the scale of the application, threading although maybe complicated is the best solution. I may also need threading in the future for other applications.
Use SQLite. The SQL library supports asynchronous access.
My recommendation is to avoid using the Threading library. It will make your application more complex and less reliable.
With that said you can use it. The error you encountered is discussed in the library forum thread.
This is handled by OkHttpUtils2. Adding another thread will not do anything useful.
Use SQLite. The SQL library supports asynchronous access.
My recommendation is to avoid using the Threading library. It will make your application more complex and less reliable.
With that said you can use it. The error you encountered is discussed in the library forum thread.