0 Replies - 301 Views - Last Post: 03 February 2011 - 06:12 AM

#1 sav_acharya  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 03-February 11

i want to add sound in my application

Posted 03 February 2011 - 06:12 AM

hi ,
i am working on a android based game programming ,there i want to add a sound in "onclick" action i am using this code but it is not working

//MediaPlayer mp = MediaPlayer.create(this.getApplicationContext(),
//R.raw.click2);
//mp.start();

can u suggest something else or can u tell me what is the problem there....
Is This A Good Question/Topic? 0
  • +

Page 1 of 1