the solution concerning bluetooth is to ask for permission as described here
what about elaborating what exactly is your problem? see also
Taifun