B4A Tutorial Download huge files with HttpUtils2 - Erel    Jul 25, 2021   (18 reactions)   tags: download, erel, download with progress Better to use: https://www.b4x.com/android/forum/threads/simple-progress-http-download.127214/#post-796463 The attached project includes a slightly modified version of HttpUtils2 and a new service... are required: OkHttp StringUtils Phone (required in order to acquire a partial lock during the download) RandomAccessFile As this is a modified version of OkHttpUtils2 you should not reference OkHttpUtils2... size. http://www.b4x.com/basic4android/images/SS-2013-06-13_17.34.35.png It is very simple to use... B4A Tutorial HttpUtils2 - Web services are now even simpler - Erel    Feb 28, 2016   (18 reactions)   tags: b4j, Http, Erel, b4a HttpUtils2 was replaced with OkHttpUtils2: https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/ Both libraries are included in the IDE. HttpUtils2 is a small framework that helps with communicating with web services (Http servers). HttpUtils2 is an improved version of HttpUtils. The advantages of HttpUtils2 over HttpUtils are: Any number of jobs can run...) HttpUtils2 requires Basic4android v2.00 or above. It is made of two code modules... B4A Tutorial Download list of images with HttpUtils2 and CustomListView - Erel    Dec 3, 2020   (6 reactions) Old and irrelevant tutorial. Many better examples, including this one: https://www.b4x.com/android/forum/threads/b4x-bitmapsasync.119589/ This example demonstrates an efficient way to download a list of images and show them in a CustomListView. http://www.b4x.com/basic4android/images/SS-2013-02-06_14.49.10.png The first step is to download the "main" html page: Lists of Images on Popular Topics (Prints and Photographs Reading Room, Library of Congress) The image links are then... B4A Tutorial For beginners: How to communicate with a server using httputils2 (Part 1: php) - KMatle    Sep 4, 2018   (28 reactions)   tags: Code, comms servers php, KMATLE to communicate with servers: http://www.b4x.com/android/forum/threads/httputils2-web-services... you communicated with a server. With b4a & httputils2 it's exact that simple, too. Let's see what...", Me) job2.PostString("http://www.b4x.com/print.php", "first key=first value...", Me) job2.PostString("http://www.yourdomain.com/examples/myscript.php", "p1=php...This tutorial is deprecated. You can still use it to understand the basic communication. A newer... B4A Tutorial For beginners: How to communicate with a server using httputils2 (Part 2: MySql) - KMatle    Jun 4, 2018   (18 reactions) Small update: I use Download2 instead of Poststring now. It handles some things for us like removing illegal space, etc. Otherwise some examples wont work as decribed. Part 1: http://www.b4x.com/android/forum/threads/for-beginners-how-to-communicate-with-a-server-using-httputils2-part-1-php.42442... job2.Initialize("Job2", Me) job2.Download2("http://www.yourdomain.com/myscript.php... as httpjob InsertPerson.Initialize("InsertP", Me) InsertPerson.download2("http... B4A Code Snippet Http Login example using HttpUtils2 - aeric    Jun 5, 2015   (8 reactions) Http Login example using HttpUtils2 32488 Introduction: Hi members, this is my first code sharing in this forum. This example is using HttpUtils2 library included in B4A v4.0. Hope this Code....Download2("http://kbase.herobo.com/login.php", _ Array As String("user_id"... by 000webhost.com which provide MySQL database and php) 2. The B4A app has a log in screen with 2 TextEdits..., user_name, password) B4A code #Region Project Attributes #ApplicationLabel: HTTP Login... B4A Tutorial Getting List of Files of a webserver directory via httputils2 & php - KMatle    Jul 28, 2014   (6 reactions) When you like to download files with httputils2 you need to know the files by name. There are some... this directory as a JSON encoded array. In b4a we use it this way: Dim fi As HttpJob fi.Initialize("getfiles", Me) fi.Download2("http://www.yourdomain.com/pictures/files.php"... more dynamic. My tutorial uses this php script: <?php $return_array = array(); if ($handle... JobDone(Job As HttpJob) If Job.Success Then Dim res As String res = Job... B4A Tutorial For beginners: How to communicate with a server using httputils2 (Part 3: php, MySql & JSON) - KMatle    Jul 7, 2014   (18 reactions) Part 2 see here: http://www.b4x.com/android/forum/threads/for-beginners-how-to-communicate-with-a-server-using-httputils2-part-2-mysql.42456/ Well. Today we want to: - make an app which calls... how we work with single parms and a list of) In tutorial 2 I have created a table with two culumns....download2("http://www.yourdomain.com/myscript.php", Array As String ("action"...), 2 Edittext views (to input name and age) and a listview to display the data. Insert: Dim... B4A Tutorial User registration using httputils2, php, MySql and mail - KMatle    Jul 10, 2014   (19 reactions)   tags: registration, Login &RegNr=547057 As we know there is no difference calling a php scrip by our app via httputils2 or... Sub RegButton_Click Dim register As HttpJob register.Initialize("register", Me) register.Download2("http://www.yourdomain.com/registerlogin.php", _ Array... As HttpJob) ProgressDialogHide If Job.Success Then Dim res As String, action As String... B4A Tutorial [B4X] OkHttpUtils2 with Wait For - Erel    Dec 25, 2025   (59 reactions)   tags: image, wait, Download, Http MySql, Wait For, ws ("https://b4x-4c17.kxcdn.com/images3/code.png", ImageView2) End Sub The images... have a single sub that handles all requests results. Simplest example: Dim j As HttpJob j.Initialize("", Me) j.Download("https://www.google.com") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release Example of downloading a quote from a quotes service: Sub DownloadQuote Dim j As HttpJob j.Initialize("", Me) 'name... Page: 1   2   3   4   5   6   7   |