Android Question using OkHttpUtils2

geoffharper

Member
Licensed User
Longtime User
Hello,

I have posted my entire project zipped. I really haven't started it yet - I wanted to get the http communication stuff working first. I try things I've seen posted here and it just doesn't work.

Thanks!

-Geoff
 

Attachments

  • iplg.zip
    74 KB · Views: 148

geoffharper

Member
Licensed User
Longtime User
Sorry - I didn't post the error message when I try to compile it.

Error message is a uploaded image file. The text is below.

B4A version: 6.30
Parsing code. Error
Error parsing program.
Error description: Unknown type: httpclient
Are you missing a library reference?
Occurred on line: 7 (HttpUtilsService)
Dim hc As HttpClient
 

Attachments

  • HttpclientError.png
    HttpclientError.png
    8.9 KB · Views: 155
  • HttpclientError.png
    HttpclientError.png
    8.9 KB · Views: 157
Upvote 0

geoffharper

Member
Licensed User
Longtime User
Thanks for the reply! I have attached a .zip of my entire project again after changes. I got the errors below. Then I tried adding the HTTP library and I got the same result.

B4A version: 6.30
Parsing code. Error
Error parsing program.
Error description: Undeclared variable 'httputils' is used before it was assigned any value.
Occurred on line: 38 (Main)
HttpUtils.CallbackActivity = "MainScreen" 'Current activity name.
 

Attachments

  • iplg.zip
    9.6 KB · Views: 151
Upvote 0
Top