B4A Code Snippet Register User example using OkHttpUtils2 - aeric    
Jan 26, 2023   
(49 reactions)   
tags: registration, Login, UserRegister User example using OkHttpUtils2
77216 77217 77218 77219 77220 77221
Updates... 2019)
- Set targetSdkVersion=26
- Replaced HttpUtils2 with OkHttpUtils2
- Changed conflicting Job...
link: I found issue with the website. I create a submission test and getting an error with the database. I...
link:
Additional topic, on Friday August 13, I have sent you the completed form to your COMPUTERISE page ...
link: Hi
Excellent use of the laragon application instead of xampp to send the mail needed to register...
Share My Creation (PHP/MySQL/API) User Login App - aeric    
Aug 16, 2024   
(31 reactions) simple login app.
Http Login example using HttpUtils2
Later, I have shared a tutorial in Code Snippet title:
Register User example using OKHttpUtils2
Both of the samples I shared are using very...Web API
Updates:
Latest B4XPages user login client apps (using B4J server):
https://www.b4x.com/android/forum/threads/project-template-user-login-client-b4x.161914/
Older project:
https://www.b4x.com/android/forum/threads/b4j-mysql-api-server-key-token-and-b4x-user-login-apps.126081/
94106...
B4A Tutorial [B4X] OkHttpUtils2 with Wait For - Erel    
Dec 25, 2025   
(60 reactions)   
tags: image, wait, Download, Http MySql, Wait For, ws.OpenOutput(File.DirInternal, "filename.dat", False)
File.Copy2(j.GetInputStream, out...("https://b4x-4c17.kxcdn.com/images3/code.png", ImageView2)
End Sub
The images...
B4A Tutorial [B4X] OkHttpUtils2 / iHttpUtils2 and accept all option - Erel    
Jul 27, 2025   
(17 reactions)Note that OkHttpUtils2, jOkHttpUtils2 and iHttpUtils2 are actually the exact same b4x library.
Starting from v2.90 it is very simple to initialize the internal http client with the 'accept all' option.
The accept all option means that certificates will not be validated.
It is done by adding the following conditional symbol (Ctrl + B):
HU2_ACCEPTALL
There is another configurable conditional symbol:
HU2_PUBLIC - makes the http client variable (hc) a public variable. This can be used in...
B4A Code Snippet SaveAs - Let the user select a target folder + list of other related methods - Erel    
Nov 1, 2024   
(47 reactions):
ContentChooser (Phone libray) - allows the user to select a resource or file using external... (secondary) storages. Requires the user to first select the target folder. Once the user selected... the simpler version of ExternalStorage. Allows the user to choose the place where the file will be saved...
File.Copy2(Source, out)
out.Close
Return True
End If
Return False...
Supported in Android 5+ (21+).
Note that the user can change the file name. No simple way to get...
Share My Creation [B4J] [MySQL] [API] Server (Key + Token) and [B4X] User Login Apps - aeric    
Aug 16, 2024   
(39 reactions)
Updates:
Latest B4XPages user login client apps (using B4J server):
https://www.b4x.com/android/forum/threads/project-template-user-login-client-b4x.161914/
105281
Finally I would like to share my B4J API server written in B4J.
Compare to my previous PHP API, this API server implements user access token to authorize user to consume the API.
SQL.zip - SQL script to create necessary database and tables in MySQL server.
jAPI.zip - Source code for server app (B4J).
B4A.zip - Source code...
B4A Library FirebaseAuth - Authenticate your users - Erel    
Aug 12, 2025   
(22 reactions)   
tags: SigninThis library requires B4A v6+.
It allows the users to sign in to your app with their Google...-services.67692/
2. This service requires that the signing key SHA1 signature is set in the Firebase... sign in. Note that the user will be signed in automatically when the program restarts.
Sub...)
End If
Activity.LoadLayout("1")
If auth.CurrentUser.IsInitialized Then Auth_SignedIn(auth.CurrentUser)
End Sub
Sub btnSignIn_Click
auth.SignInWithGoogle
End Sub
Sub...
Share My Creation [Project Template] User Login Server - aeric    
Oct 15, 2025   
(12 reactions)Version: 3.11
164903
GitHub: https://github.com/pyhoon/user-login-server-b4j
Clients: User Login Client
Description:
This is a user registration and login server.
Includes API for change and reset user password.
Based on Web API Server v3.50 project template.
It is a remake of MySQL API Server (Key + Token) and User Login Apps.
By default the access token will expired in 10 minutes...
MiniORMUtils v2.63
WebApiUtils v3.05
You can use LibDownloader to download the correct version...
B4A Question Rewrite code in PHP - aeric (first post)    
Mar 4, 2020   
(2 reactions)Please search the forum first. There are already many threads and examples about this question.
https://www.b4x.com/android/forum/pages/results/?query=register+user+okhttputils2...
B4A Code Snippet Set HTTP Request Header with OkHttpUtils2 - Erel    
Sep 17, 2018   
(12 reactions)   
tags: http.
The content type header should be set with SetContentType.
Tags: http headers, httputils2, user agent...Description: The following code allows you to set the request headers before the request is sent. This is useful for example with sites that block requests without a User-Agent header.
This code depends on HttpUtils2 and Http libraries:
Dim j As HttpJob
j.Initialize("job name", Me)
j....SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox...
Page: 1  
2  
3  
4  
5  
6  
7