I'm trying to use JRDC2 with okhttputil because httputil2 is deprecated but when I add that library to my code, I get in the log window a red Unknown member: stopautomaticforeground
So a little background. The app is a modified version of a service that answers or intercepts an inbound call. It checks a list to see if the number is blocked or not. I wanted to take it a step more by allowing you to add a number to a backend MySQL database. I had it all working with JRDC, older version and it would add to the SQL database no problem but wanted to make sure I was using new stuff, so instead of JRDC, im using JRDC2 and okhttputil. Everything checks out, the DB server gives me a good connection test via browser. When I take the httputil out and add in okhttputil it will not compile and the red log error is there.
So a little background. The app is a modified version of a service that answers or intercepts an inbound call. It checks a list to see if the number is blocked or not. I wanted to take it a step more by allowing you to add a number to a backend MySQL database. I had it all working with JRDC, older version and it would add to the SQL database no problem but wanted to make sure I was using new stuff, so instead of JRDC, im using JRDC2 and okhttputil. Everything checks out, the DB server gives me a good connection test via browser. When I take the httputil out and add in okhttputil it will not compile and the red log error is there.