android - Cannot make api call while bluetooth adapter is searching for devices -


i have weird problem samsung tablet running on operating system lollipop . app making continuous bluetooth devices discovery in background service using bluetooth adapter , issue while adapter searching cannot make api call using retrofit or loopj or other type of networking , api returned connection timeout or other network exception . tried call api in intent service , worked intent service destroy after executing job . tried threadpool executor , api called in time between bluetooth broadcasts . need long running bluetooth discovery ability network call . problem appears in samsung view (18 inch) tablet.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -