• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to scan for bluetooth devices and store details?

Hello,
Please bear with me!

I would like to display a simple list of device names, in Python this was easy, but i'm unsure how to do this in java...

Question#1:
How do I go about storing text into an array?

Question#2:
How do I scan for discoverable bluetooth devices and append their details to the array?

Many thanks for your help,
Gir
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones