$("#tovarname").val( $(".nametovar").text() );
$("#sum").val( $(".autocalc-product-price").text() );
if (checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED && checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
Log.d("debug", "nety prav!!!");
return ;
}
2019-07-29 04:19:59.829 23026-24236/com.and.test D/myLogs: errjava.net.SocketException: socket failed: EPERM (Operation not permitted)
2019-07-29 04:20:55.436 23026-24241/com.and.test W/System.err: java.net.SocketException: socket failed: EPERM (Operation not permitted)
2019-07-29 04:20:55.437 23026-24241/com.and.test W/System.err: at java.net.Socket.createImpl(Socket.java:492)
2019-07-29 04:20:55.437 23026-24241/com.and.test W/System.err: at java.net.Socket.getImpl(Socket.java:552)
2019-07-29 04:20:55.437 23026-24241/com.and.test W/System.err: at java.net.Socket.setSoTimeout(Socket.java:1180)
2019-07-29 04:20:55.437 23026-24241/com.and.test W/System.err: at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:218)
2019-07-29 04:20:55.438 23026-24241/com.and.test W/System.err: at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:146)
2019-07-29 04:20:55.438 23026-24241/com.and.test W/System.err: at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:186)
2019-07-29 04:20:55.438 23026-24241/com.and.test W/System.err: at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121)
2019-07-29 04:20:55.438 23026-24241/com.and.test W/System.err: at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100)
2019-07-29 04:20:55.438 23026-24241/com.and.test W/System.err: at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
2019-07-29 04:20:55.439 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
2019-07-29 04:20:55.439 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
2019-07-29 04:20:55.439 23026-24241/com.and.test W/System.err: at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
2019-07-29 04:20:55.439 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
2019-07-29 04:20:55.440 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
2019-07-29 04:20:55.440 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
2019-07-29 04:20:55.440 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
2019-07-29 04:20:55.440 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
2019-07-29 04:20:55.441 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
2019-07-29 04:20:55.441 23026-24241/com.and.test W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
2019-07-29 04:20:55.441 23026-24241/com.and.test W/System.err: at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
2019-07-29 04:20:55.441 23026-24241/com.and.test W/System.err: at okhttp3.RealCall$AsyncCall.execute(RealCall.java:129)
2019-07-29 04:20:55.441 23026-24241/com.and.test W/System.err: at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
2019-07-29 04:20:55.442 23026-24241/com.and.test W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2019-07-29 04:20:55.442 23026-24241/com.and.test W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2019-07-29 04:20:55.442 23026-24241/com.and.test W/System.err: at java.lang.Thread.run(Thread.java:919)