Quantcast
Viewing all articles
Browse latest Browse all 1567

(httplog)-static: issbsettingenabled false android

I am developing Android app and running in Samsung J7. The problem is while running the app it show the error "(httplog)-static: issbsettingenabled false" is there any way to enable httplog true or an alternative way to solve this. If programmatially want to enable this how to do that

private void tryLogin(String log, String pass) {            HttpURLConnection connection;               OutputStreamWriter request = null;                    URL url = null;                       String response = null;                             String parameters = "="+log+"&="+pass;                       try                    {                         url = new URL("http://209.68.26.95/anglertechnologieseit/lc_webservice/webservice.php?Case=loginCheck");                        connection = (HttpURLConnection) url.openConnection();                        connection.setDoOutput(true);                        connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");                        connection.setRequestMethod("POST");                            request = new OutputStreamWriter(connection.getOutputStream());                        request.write(parameters);                        request.flush();                        request.close();                                    String line = "";                                       InputStreamReader isr = new InputStreamReader(connection.getInputStream());                        BufferedReader reader = new BufferedReader(isr);                        StringBuilder sb = new StringBuilder();                        while ((line = reader.readLine()) != null)                        {                            sb.append(line +"\n");                        }                       stored in response variable.                                        response = sb.toString();                    Toast.makeText(this,"Message from Server: \n"+ response, 0).show();                                     System.out.println("Message from Serverrrrrrrrrrrr     :"+response);                        isr.close();                        reader.close();                    }                    catch(IOException e)                    {                        System.out.println("eeerrrrooorrr"+e);                    }        }

Image may be NSFW.
Clik here to view.
enter image description here


Viewing all articles
Browse latest Browse all 1567

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>