I\'m trying to read URL in java, and it works as long as the URL is loading in browser.
But if it is just cylcing in the browser and not loading that page when I\'m
You should add internet permission in AndroidMenifest.xml
and add it in the main function:
if (android.os.Build.VERSION.SDK_INT > 9) { StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.setThreadPolicy(policy); }