Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
or how about this :
public void onItemClick(AdapterView<?> arg0, View view, int position,long id) {
MediaPlayer mPlayer2;
if(position==1)
{
mPlayer2= MediaPlayer.create(this, R.raw.song1);
mPlayer2.start();
}else it() .....
}
i got this error in:: .create(this, R.raw.one);
The method create(Context, int) in the type MediaPlayer is not applicable for the arguments (new AdapterView.OnItemClickListener(){}, int)
And what do you deduce from that?
how big are the sound files you are trying to use?
i will upload them to the server
30 audios
30 files, but what size? (b, kb, mb, etc. ?)