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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -