Guest User

Untitled

a guest
Jan 17th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. btRecord.setOnClickListener(new OnClickListener() {
  2.  
  3. public void onClick(View arg0) {
  4.  
  5.  
  6. try {
  7. recorder.prepare();
  8. } catch (IllegalStateException e) {
  9. // TODO Auto-generated catch block
  10. e.printStackTrace();
  11. } catch (IOException e) {
  12. // TODO Auto-generated catch block
  13. e.printStackTrace();
  14. }
  15. try{
  16. recorder.start();
  17. /**** i need a method like recorder.Volume(); ***/
  18. }catch(Exception ex)
  19. {}
Add Comment
Please, Sign In to add comment