I'm trying to store a list of bluetooth devices, with the friendly name and bluetooth id.
From what I can tell, I can use a Vector instead. But bearing in mind the limitations of mobile devices, is that the best route?
Vector is the grandparent of all of Java's collection classes. It should be OK.
The main reason why Vector is out of favor these days is that (like StringBuffer) it adds the overhead of a thread-lock to its operations (they run synchronized). However, I don't think I'd worry about that on a mobile device.
An IDE is no substitute for an Intelligent Developer.
bacon. tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads