-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 01/10/14 14:29, Nathan of Guardian wrote: > So, this should work: > > Intent discoverableIntent = new > Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); > discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, > > 0); > startActivity(discoverableIntent);
Results from the pile o'phones: Duration 0: Galaxy Nexus (4.3): Indefinite, setting is persistent when BT is turned off and on again Samsung Galaxy Ace 2 (4.2.1): Indefinite, not persistent Sony Xperia tipo (4.0.4): Prompt says indefinite, but phone doesn't actually become discoverable HTC Wildfire S (2.3.3): 120 seconds Huawei U8110 (2.1): 120 seconds Duration 120: Galaxy Nexus (4.3): 120 seconds Samsung Galaxy Ace 2 (4.2.1): 120 seconds Sony Xperia tipo (4.0.4): 120 seconds HTC Wildfire S (2.3.3): 120 seconds Huawei U8110 (2.1): 120 seconds Duration 3600: Galaxy Nexus (4.3): 3600 seconds, not persistent Samsung Galaxy Ace 2 (4.2.1): 3600 seconds, not persistent Sony Xperia tipo (4.0.4): 3600 seconds, not persistent HTC Wildfire S (2.3.3): 300 seconds, not persistent Huawei U8110 (2.1): 300 seconds, not persistent Cheers, Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBCAAGBQJULCcCAAoJEBEET9GfxSfMVnUIAJ+TruAWr6XW2T00onqaexaC x1+f1P87oSAOAiEmbfxMwnR8OQZaoFV+ptU+HI8cAi19wby2Hxj+v7olX0l5FBH+ 0hP56PQjD6MmbNkzSsyWcIrzHblZCkMihksY8/tuS2Stia1WP7aq6hEOiauPaqUJ wInZmglsj4B+Gc7KZQp3kuiKOO5QggyGTZ60gb3ZC3ttC14VplUXfr5jeXe6toJz R1sSn+A6zR4PZKPF23Rw2rZA4MtNw7koZ+gcvfyQ4n1HXfeig4U79mm/S5PJ7U/p sUJv8j7gHSJ/Imuz1zqrAG/h7U6rXvWdL1JH5H9WAFVSM6w6tp5FK7fbaUHDuP4= =MN4R -----END PGP SIGNATURE----- _______________________________________________ Guardian-dev mailing list Post: [email protected] List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To Unsubscribe Send email to: [email protected] Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/archive%40mail-archive.com You are subscribed as: [email protected]
