Hi, Another common use for Bluetooth from applications is connecting to mobile printers through SPP, I use it very much on SFA and other applications that require printing. G1 (and forthcomings) are very likely to be used by corporate applications in this kind of automation.
In other operating systems like PalmOS and Windows Mobile, pairing a printer is nothing more than adding it to the trusted devices list and entering the PIN. Of course it can be done manually of via BT API. After that, just acquire a handle to the virtual serial port and send/receive data. Marcio Alexandroni www.cialogica.com w Tel. 55 11 3717-2345 Cel. 55 11 9989-8316 [EMAIL PROTECTED] marcioalexandroni -----Original Message----- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of whitemice Sent: Thursday, December 04, 2008 06:55 To: Android Developers Subject: Re: Fw: [android-developers] Re: Android and bluetooth Hi Nick >>I can see there is a use case for this. If we were to do this, it would be through a scary sounding bluetooth permission. "This application can connect to untrusted Bluetooth devics". We'll have to think about this a little.<< I would do it this way: (1) Application permission: "This application can connect to any untrusted Bluetooth device without asking your permission". (2) To get this to work the user must manually activate Bluetooth, and then select an extra check box for Bluetooth Ad Hoc communication (seeing another scary warning) in the Bluetooth settings. The user is then shown a list of currently installed applications that make use of this feature, having to activate (or disable) this feature for each individual application. It would be the responsibility of application developer to detect when this feature is disabled, and then guide the user towards the Bluetooth settings panel. (3) Make the Android market a website, and make it searchable by permission. This would allow the community to find and strike down applications that misuse this capability. I think this would be enough hoops for the user to jump through while keeping the user in control, and making it more secure than existing Symbian Bluetooth implementations. >>The first step is to get any Bluetooth API out. Let me work on that first :)<< I’ve used enough bad Bluetooth stacks to know not to ask you to hurry ;-) …But you can put me down as a vested interest if you require some outside validation in this area. Thanks for listening Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---