B4A Tutorial Download huge files with HttpUtils2 - Erel    
Jul 25, 2021   
(18 reactions)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)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...
B4i Library [class] HttpUtils2 - Erel    
Aug 9, 2017   
(4 reactions)Latest version is available here: https://www.b4x.com/android/forum/threads/b4x-okhttputils2-ihttputils2-httputils2-source-code.82632/
B4i implementation of HttpUtils2: http://www.b4x.com/android/forum/threads/httputils2-web-services-are-now-even-simpler.18992/#content
http://www.b4x.com/basic4android/images/SS-2014-11-06_16.36.36.png
V2.10 is attached. See post #9 for more information.
Note that it requires B4i v2+. You can delete HttpJob.PostMultipart if you need to work with previous...
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 Class Dropbox API V2. All HTTP! All using httputils2 - DonManfred    
Aug 20, 2017   
(22 reactions) are missing totally as yet: TODO
- Restore
TODO:
-
Dependencies:
- httputils2 (okHTTP)
- JSON... is about the HTTP version of the new Dropbox V2 api.
See the documentation... switch to my Java-Wrap for the Drobox Api V2. Here you are able to get an OAuth-Token as this lib... the next 12 months. Drobox has now released an new preview site for the new V2 API
Dropbox released an API Explorer for their V2 api.
See the announce too for the explorer...
B4J Question Using HttpUtils2 behind a proxy - jmon    
Aug 18, 2014Hi,
when using HttpUtils2 I get an error when calling PostString:
Error: job1 : java.net.UnknownHostException: www.xxxxxxx.netau.net
My website is not down, the files are there. I have managed to ping correctly from another computer. I have read on the forum that the reason of this error is that I have no internet connection. I guess in my case is because I am behind a proxy.
Is there a way to specify my proxy address with HttpUtils2?
Thanks for your help.
Jmon....
B4A Tutorial For beginners: How to communicate with a server using httputils2 (Part 1: php) - KMatle    
Sep 4, 2018   
(28 reactions) 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... one can be found here: https://www.b4x.com/android/forum/threads/updated-mysql-php-example.96790/#post...
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 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....download2("http://www.yourdomain.com/myscript.php", Array As String ("action"... how we work with single parms and a list of)
In tutorial 2 I have created a table with two culumns...), 2 Edittext views (to input name and age) and a listview to display the data.
Insert:
Dim...
B4A Library OkHttp - Replaces the Http library - Erel    
Mar 14, 2018   
(22 reactions)OkHttpUtils2 source code: OkHttpUtils2 / iHttpUtils2 / HttpUtils2 source code
It is included as an internal library.
Usage: OkHttpUtils2 with Wait For
The current Http library is based... implementation.
Note that if you are using HttpUtils2 (as you should) it is also based on Http library...+.
Attached is a modified version of HttpUtils2 library (v2.12) that is based on OkHttp instead of Http.
If you want to use the new HttpUtils2 library you need to copy it to the internal libraries folder...
Page: 1  
2  
3  
4  
5  
6  
7