Android Question Error when using httputils2

Fernando Fontes

New Member
I am analyzing the product (trial) to purchase, and am testing several examples in the forum. When testing a web service example to compile the following message appears:

B4A version: 5.20
Parsing code. (0.01s)
Compiling code. (0.15s)
Compiling layouts code. (0.01s)
Generating R file. (3.72s)
Compiling debugger engine code. (4.02s)
Compiling generated Java code. Error
B4A line: 55
Log(Response.GetString(\
javac 1.8.0_60
src\anywheresoftware\b4a\samples\httputils2\httputils2service.java:158: error: cannot access ParseException
anywheresoftware.b4a.keywords.Common.Log(_response.GetString("UTF8"));
^
class file for org.apache.http.ParseException not found
 

Attachments

  • HttpUtils2.zip
    64 KB · Views: 340

DonManfred

Expert
Licensed User
Longtime User
this is my log running your code

LogCat connected to: 05157df57d72d204
--------- beginning of main
--------- beginning of system
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
** Service (httputils2service) Start **
** Service (httputils2service) Start **
JobName = Job2, Success = true
POST variables:
array(0) {
}
GET variables:
array(0) {
}
JobName = Job1, Success = true
POST variables:
array(0) {
}
GET variables:
array(2) {
["first_key"]=>
string(18) "first value %3A%29"
["second_key"]=>
string(7) "value 2"
}
JobName = Job3, Success = true
 
Upvote 0

Fernando Fontes

New Member
Hi, Erel
A question, I can download the OkHttp using the trial version? Because when I go to download a page from the following message:

B4X Community - Android, iOS, desktop programming tools - Error
You do not have permission to access this page or file.
This page may have been removed.
If you are trying to download a file and have purchased Basic4android then please contact [email protected] and mention your user name.

Purchase Basic4android and enjoy the full power of Basic4android.

(https://www.b4x.com/android/forum/attachments/okhttp-zip.35682/)

Regads
Fernando
 
Upvote 0
Top