Skip to content

Instantly share code, notes, and snippets.

Joginder Sharma joginder89

View GitHub Profile
@joginder89
joginder89 / gist:1fda79dfe6ba5afce2cb
Last active Sep 21, 2018
AltBeacon library stop working
View gist:1fda79dfe6ba5afce2cb
Can't reach server
java.io.IOException: unexpected end of stream on Connection{data.altbeacon.org:80, proxy=DIRECT@ hostAddress=184.73.148.59 cipherSuite=none protocol=http/1.1} (recycle count=0)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:210)
at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:904)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:788)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:443)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:501)
at org.altbeacon.beacon.distance.DistanceConfigFetcher.request(DistanceConfigFetcher.java:71)
@joginder89
joginder89 / MyApplicationName.java
Created Aug 4, 2015
Unable to detect Beacons on Micromax A190
View MyApplicationName.java
D/BeaconManager﹕ This consumer is not bound. binding: com.kellton.beacondemo.RangingActivity@41cf1930
08-04 15:07:30.631 15586-15586/com.kellton.beacondemo D/BeaconManager﹕ consumer count is now: 4
08-04 15:07:30.632 15586-15586/com.kellton.beacondemo D/BackgroundPowerSaver﹕ activity resumed: com.kellton.beacondemo.RangingActivity@41cf1930 active activities: 1
08-04 15:07:30.632 15586-15586/com.kellton.beacondemo D/ActivityThread﹕ ACT-AM_ON_RESUME_CALLED ActivityRecord{41cd7888 token=android.os.BinderProxy@41cd6fd0 {com.kellton.beacondemo/com.kellton.beacondemo.RangingActivity}}
08-04 15:07:30.632 15586-15586/com.kellton.beacondemo V/PhoneWindow﹕ DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.impl.PhoneWindow$DecorView{41cf7378 I.E..... R.....ID 0,0-0,0}
08-04 15:07:30.640 15586-15586/com.kellton.beacondemo V/PhoneWindow﹕ DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{41d390e0 com.kellton.beacondemo/com.kellton.beacondemo.RangingActivity,ident = 0}, thi
You can’t perform that action at this time.