Guest User

Untitled

a guest
Jun 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public void onClick(View v) {
  2. if (streamMusic != null) {
  3. EditText t = (EditText)findViewById(R.id.entry);
  4. String s = t.getText().toString();
  5.  
  6. // send play/pause command
  7. streamMusic.playPause(this, s);
  8. }
  9. else {
  10. Log.d(APP, "service not bound yet.");
  11. }
  12. }
Add Comment
Please, Sign In to add comment