문제

I want to make an in-app widget, that can pause/play and switch music forward/backward for a lockscreen app for Android. I've tried some different ways, such as working with mediaplayer or Intent, but this didn't help me. I need my app to control music from all the sources: web browser, native music app, social networking apps with music playback support and so on. Something close to that is made in Sony Xperias as a widget. The difference is, that mine won't be a widget, I want it to use inside an application, that replaces the native lockscreen. Hope that my question is clear.

도움이 되었습니까?

해결책

I've found the answer for Android 4+ versions: http://forum.xda-developers.com/showthread.php?p=45288378

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