android:textIsSelectable works (at least in ICS – I haven’t yet checked in earlier versions)
<TextView
android:id="@+id/deviceIdTV"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textIsSelectable="true"
android:text="" />