android - Song being played in background and user again clicks app icon -


my app music player app , using bound service in app, working fine except if open app play song list of searched result , press home button or button, song being played in background(through bound service) , again launch app clicking app icon, seekbar moving pause button changed play button , there not list of searched result(every thing on initial stage except seekbar).

how can open app on clicking app icon situation left app? time , help

i added android:cleartaskonlaunch="true" in manifest file in launcher activity

<activity                 android:name=""                 android:label="@string/app_name"                 android:launchmode="singletop"                 android:screenorientation="portrait"                 android:windowsoftinputmode="adjustpan"                 android:cleartaskonlaunch="true"> 

and started behaving want


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -