Highlighted

app keep running after user leave it in android platform

New Here ,
Jun 10, 2019

Copy link to clipboard

Copied

Hi everyone,

I have one app designed for ios & android with same code base, but the app behavior is different on ios & android. when I click the home button on ios, the app auto stop runinng as expected, but on android platform, the app still running with sound. Do I need manually stop all sound & timer when app become deactive? Is there any shortcut solution for this issue? Thanks

TOPICS
Development

Views

228

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

app keep running after user leave it in android platform

New Here ,
Jun 10, 2019

Copy link to clipboard

Copied

Hi everyone,

I have one app designed for ios & android with same code base, but the app behavior is different on ios & android. when I click the home button on ios, the app auto stop runinng as expected, but on android platform, the app still running with sound. Do I need manually stop all sound & timer when app become deactive? Is there any shortcut solution for this issue? Thanks

TOPICS
Development

Views

229

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 10, 2019 0
Enthusiast ,
Jun 11, 2019

Copy link to clipboard

Copied

Yes, on Android you need to manually stop/pause sound and other activity on deactivate. Unfortunately there's no shortcut to pause everything.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 11, 2019 0
New Here ,
Jun 11, 2019

Copy link to clipboard

Copied

Thanks, Lars Laborious. Is there any official documents about this issue from adobe?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 11, 2019 0
Enthusiast ,
Jun 12, 2019

Copy link to clipboard

Copied

It’s hard to find official documents from Adobe on Android development, but you need to listen for the deactivate/activate events fired by the NativeApplication class.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2019 0