techinically - at least on a nexus one running 2.3.3 - they don't always pop up. If you background the connection via a thread (as is done in the examples) the pairing dialog does not come to the foreground. It comes up in the notification bar - which I suspect many users would not notice. If you run the connection in the UI thread (which is required to get the popup to come foreground you get horrible pauses in the UI and risk the dreaded ANR error. IMO the pairing process is not user friendly in it's current state
Cheers Mike On Mon, Mar 21, 2011 at 2:27 AM, Lance Nanek <[email protected]> wrote: > Either the pairing dialog, or the pairing notification, pop up > automatically when you try to connect to an unpaired device. It would > be nice if I could force the dialog version, though. > > On Mar 11, 5:28 pm, Michael Elmsly <[email protected]> wrote: > > Technically it is the platforms fault. OK - so the spec requires pairing > > and for security reasons you always want the user to be responsible for > that > > (no autopairing or hidden pairing of devices). Since this means you > can't > > allow apps to control pairing the logical thing to do is open the > bluetooth > > pairing activity via a public intent so that developers can request > pairing > > with a device while still having the security and UI managed by the > android > > platform to protect the users. > > > > Seems fairly obvious to me or am I being unreasonable? > > > > Mike > > > > On Fri, Mar 11, 2011 at 8:12 PM, Kristopher Micinski < > [email protected] > > > > > wrote: > > > (But of course, having to pair isn't the Android platform's fault, it's > > > just 802.15.1 in general :-). > > > > > Kris > > > > > On Fri, Mar 11, 2011 at 2:00 AM, Kristopher Micinski < > > > [email protected]> wrote: > > > > >> P.s., > > > > >> Bluetooth API support seems to be not that amazingly great, and you > have > > >> to pair the phones first, which is annoying. (People always have to > pair > > >> before playing your game!). Can you fake it using TCP/IP? > > > > >> Kris > > > > >> On Thu, Mar 10, 2011 at 1:47 AM, Marcin Orlowski < > > >> [email protected]> wrote: > > > > >>> On 8 March 2011 19:40, bhaskar bommala <[email protected]> wrote: > > >>> > Hi I am new to the android development , i need to access 2 android > > >>> devices > > >>> > as remote devices each other via bluetooth.. > > >>> > for example if i press the 1 as input from device 1 that should > appear > > >>> on > > >>> > device 2 .. > > > > >>> See SDK samples. There's Bluetooth chat app there IIRC > > > > >>> -- > > >>> Regards, > > >>> Marcin Orlowski > > > > >>> -- > > >>> You received this message because you are subscribed to the Google > > >>> Groups "Android Developers" group. > > >>> To post to this group, send email to > [email protected] > > >>> 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 > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to > [email protected] > > > 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 > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > 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 > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] 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

