Highlighted

Toggle execute in backgound?

Participant ,
Feb 10, 2015

Copy link to clipboard

Copied

Is it possible to have my app run in the background only if audio is playing?

I tried adding NativeApplication.nativeapplication.executeInBackground = true during playback function and false when the sound completes or the stop button pressed, but it crashes if the sound stops while in the background.

Thanks

Craig

TOPICS
Development

Views

143

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

Toggle execute in backgound?

Participant ,
Feb 10, 2015

Copy link to clipboard

Copied

Is it possible to have my app run in the background only if audio is playing?

I tried adding NativeApplication.nativeapplication.executeInBackground = true during playback function and false when the sound completes or the stop button pressed, but it crashes if the sound stops while in the background.

Thanks

Craig

TOPICS
Development

Views

144

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
Feb 10, 2015 0

Have something to add?

Join the conversation