I want to code an Android app, which will connect to a network printer with a specific IP address, and then make a printing.
For printing I know that I need to write
Just Add This Code After oncreate Method
if (android.os.Build.VERSION.SDK_INT > 9) { StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.setThreadPolicy(policy); }