Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onClick(View v) {
- if (streamMusic != null) {
- EditText t = (EditText)findViewById(R.id.entry);
- String s = t.getText().toString();
- // send play/pause command
- streamMusic.playPause(this, s);
- }
- else {
- Log.d(APP, "service not bound yet.");
- }
- }
Add Comment
Please, Sign In to add comment