문제

Do I have to call release() of a media player myself or will it be handled when the activity is destroyed/stopped?

도움이 되었습니까?

해결책

Call release() on the media player in your onDestroy(), I have never dealt with media players, but I know onDestroy() won't handle removing bitmaps from memory, so I would assume media assets are handled in a similar way, only removing them when you tell it to

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top