Kiosk-Mode Bluetooth-Request -
i´m programming kiosk-mode/cosu/single-purpose/locktaskmode app, have possible accept bluetooth pairing request form phone. problem long app in locktaskmode request doesn´t show or shows in background can´t out of app accept it. question is:
- is there possibility foreground of app accept it?
or.
- is progmatically possible accept request, can make own alert dialog possibility accept there.
i registered broadcastreceiver react request , i´ve made alert dialog want accept request if it´s not possible foreground.
any ideas?
thanks
the easiest way use bluetoothchattutorial androids developers page. using bluetoothchatservice class on both phones , change rfcomm listener , creater insecure made possible connect without alert.
Comments
Post a Comment