Featured post
android - Multiple apps connect to bluetooth issue -
i have 2 applications w/ bluetooth code derived bluetooth chat sample. individually work fine. each app connects via spp separate devices. issue i'm having on phones android 2.1, after first app connects device, can press home , running other app, connection made other device other app, both apps "sorry! application xyz (process com.xyz) has stopped unexpectedly. force close" dialogs. there try/catch blocks throughout bt code, catches not executed. neither app connect (individually) until after bluetooth turned off on again. not happen when these same apps running on samsung tab android 2.2 - both apps can run , connect devices simultaneously fine , can switch between apps, no problems.
is android 2.1 issue or else? whether or not, need way prevent app connecting if app using bluetooth. couldn't find in android apis allow finding out. there way coordinate/manage this? have specific insights whole issue?
i think bug in samsung bluetooth stack. upgrading samsung cyanogenmod fixes it.
see link http://www.samsunggalaxysforum.com/firmware-problems/connection-problems-sgs-bluetooth-spp-device/
- Get link
- X
- Other Apps
Comments
Post a Comment