How to control the default music player from android wear App -
hi need play music android wear app.
i use code open default music player
if(android.os.build.version.sdk_int>=15){ intent intent=intent.makemainselectoractivity(intent.action_main, intent.category_app_music); intent.addflags(intent.flag_activity_new_task);//min sdk 15 intent.setaction(intent.action_run); startactivity(intent); }
but need implement onplay,next, previ, stop..
searched services not working..
is other way play songs android wear can me finish this.
Comments
Post a Comment