com.indexOf("AVRCP_MEDIA TITLE:") + 2
This will move the pointer to extract from to the R. Is that really what you want? Or, are you trying to move the pointer two places past the end of the string?
com.indexOf("AVRCP_MEDIA TITLE:") + 2
This will move the pointer to extract from to the R. Is that really what you want? Or, are you trying to move the pointer two places past the end of the string?