è²ã ãããããã®ã§ã¾ã¨ãã¡ã¢ âSoundPoolã«ã¤ã㦠â ã¡ãªãã 楽å¨ã¢ããªã«ãããããªé£æãå²ã¨æ®éã«å®è£ åºæ¥ã â ãã¡ãªãã å°ºãé·ãæ²ãè¦æãã¨ãããæ±ããªãã6ç§ãããã§é³ãåããã 3gpã§åçåºæ¥ãªãï¼mp3ã¯ä¸å®å®ããããoggãç¡é£ã loadãé ãããsetOnLoadCompleteListenerããAPI8(2.2)ãããã使ããªãã â å¦çã®æµãï¼ã ãããï¼ SoundPool sp = new SoundPool(5, AudioManager.STREAM_MUSIC, 0); int soundId = sp.load(getApplicationContext(), resourceId, 1); //int soundId = sp.load("", 0); stream_id = sp.play(soundId, 1.0F, 1.0F, 0, 0
{{#tags}}- {{label}}
{{/tags}}