B4A Tutorial [B4X] OkHttpUtils2 with Wait For - Erel    Apr 11, 2021   (55 reactions)   tags: image, wait, Download, Http MySql, Wait For, ws .Initialize("", Me) j.Download("https://www.google.com") Wait For (j) JobDone(j...=rand") Wait For (j) JobDone(j As HttpJob) If j.Success Then 'The result...://www.google.com") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j... j.Initialize("", Me) j.Download("https://www.duckduckgo.com") Wait For (j... is empty as it is no longer needed j.Download(link) Wait For (j) JobDone(j As HttpJob... B4A Library OkHttp - Replaces the Http library - Erel    Mar 14, 2018   (22 reactions)   tags: Webservices as an internal library. Usage: OkHttpUtils2 with Wait For The current Http library is based.... The OkHttp library is based on the OkHttp SDK: http://square.github.io/okhttp/ As this is a newer SDK it supports new features such as SSL SNI, SPDY, Patch requests and better performance. The OkHttp...+. Attached is a modified version of HttpUtils2 library (v2.12) that is based on OkHttp instead of Http.... V1.01 - Compatible with B4J. V1.00 - Adds support for digest authentication. OkHttpUtils2 v2.20... B4J Tutorial [B4X] Resumable Subs - Sleep / Wait For - Erel    Feb 22, 2018   (48 reactions)   tags: Reference, Comm, download, Resumable Subs, Code, Wait For or Wait For is a resumable subs. The IDE shows an indicator next to the sub declaration: https://www... parameter is no longer needed. job.Download(Link) Wait For (job) JobDone(job As HttpJob) If job... pausing the executing thread, and later be resumed. The program doesn't wait for the resumable... b.Text = i Sleep(100) Next b.Text = "Takeoff!" End Sub 54879 Wait For... when the task completes. With the new Wait For keyword you can handle the event inside the current... B4A Question Needing okHTTP support for Android 4.x - JakeBullet70    Jun 22, 2022 Hi all. Working on an app that will NEVER see the play store and will be open source, GITHUB style. Anyway i want it to run on Android 4.x and above. Point being to re claim all those old Android devices every one just tosses in a drawer or the garbage dump and never use again. Am using the latest B4A and ran into issues where some libraries need a a newer API then the old phones . tablets have. 1st problem is OkHttpClient. It wants API level 21, I believe I need 16. Question, Should I go... Other B4J v8.30 BETA is available for download - Erel    Feb 28, 2023   (39 reactions) Improvements: Support for Java 14. As with Java 11, B4J expects a specific structure. You should download this package (OpenJDK 14 + OpenJFX 14): https://b4xfiles-4c17.kxcdn.com/jdk-14.0.1.zip Build standalone package - B4JPackager11 is now integrated in the IDE. This makes it simpler to build... the different platforms. Fix for a design issue that existed since B4A v1.0 where in some cases assignment... is not installed under C:\Windows. This is fixed for the next beta.... Share My Creation [B4X] B4X Pleroma - open source client for Mastodon / Pleroma social networks - Erel    Nov 4, 2020   (14 reactions) . B4X Pleroma is a client for these social networks. More information here: https://www.b4x.com/android..., BitmapCreator, MiniHtmlParser, OkHttpUtils2, OAuth, KeyValueStore, XUI Views, B4XPages, B4XDrawer.... Resources = images, videos and animated gifs. Google Play: https://play.google.com/store/apps/details?id=b4a.pleroma iOS app store: https://apps.apple.com/app/b4x-pleroma/id1538396871 Code: https... require an account. Best to create an account here: https://mas.to... B4J Code Snippet Resumable Subs (wait for / sleep) in server handlers - Erel    Feb 16, 2020   (15 reactions) ) Wait For (j) JobDone(j As HttpJob) If j.Success Then resp.Write(j.GetString) End If...: Use the correct library. OkHttpUtils2_NonUI for server apps and OkHttpUtils2 for UI apps. Above tip... the Handle sub is completed. They do not create a message loop. If you want to wait for an event then... itself. Why? - Wait For / Sleep must be called before the call to StartMessageLoop or they will never be executed. - Wait For / Sleep code flow is equivalent to Return so if they appear before... B4A Question (RESOLVE) sending message to waiting queue of uninitialized activity (submitjob) - fishwolf    Aug 18, 2023 I have a simple form with a input text field when/where i can check the value of field for start with other functions. if i check in create function i have this warning and app is blocked sending message to waiting queue of uninitialized activity (submitjob)... B4A Tutorial [B4X] Net library (FTP, SMTP, POP) with Wait For - Erel    Feb 14, 2021   (16 reactions)   tags: FTP, SMTP, POP.Net, B4X Net ftp smtp pop wait filter' object. This object can be passed as the sender filter parameter in a Wait For call. This makes it simpler to manage multiple requests. For example: 'ftp was previously initialized..., "somefile", False, "/somefile") Wait For (sf) ftp_UploadCompleted (ServerPath As String...("Error uploading file") End If Multiple subs can wait for the same event. Thanks to the sender filter parameter, each event will be intercepted in the correct wait for call. The same... B4A Tutorial [java] Creating libraries for B4A - Erel    Sep 29, 2016   (8 reactions)   tags: Java library, Library, Creation /java-creating-libraries-for-basic4android.6810/ See this thread for the default license: http...New video tutorial is available here: http://www.b4x.com/forum/libraries-developers-questions/12431-video-tutorial-creating-simple-library.html Basic4android has a very good support for external... concepts: http://www.b4x.com/forum/basic4android-getting-started-tutorials/6487-android-process... the documentation for the online help. The XML file is created by using a custom Javadoc tool... Page: 1   2   3   4   5   6   7   |