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:

  1. is there possibility foreground of app accept it?

or.

  1. 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

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? -