Highlighted

[ANE] Prevent activity onDestroy to be called when app resumes

Explorer ,
Oct 30, 2014

Copy link to clipboard

Copied

I have an ANE that creates an activity on top of the main one.

For some reason, this activity will call onDestroy if I minimize the app and relaunch it.

Is there a way to prevent this?

I tried a native app and it is not behaving like this, so it makes me think it might be an Air thing.

Thanks.

TOPICS
Development

Views

160

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

[ANE] Prevent activity onDestroy to be called when app resumes

Explorer ,
Oct 30, 2014

Copy link to clipboard

Copied

I have an ANE that creates an activity on top of the main one.

For some reason, this activity will call onDestroy if I minimize the app and relaunch it.

Is there a way to prevent this?

I tried a native app and it is not behaving like this, so it makes me think it might be an Air thing.

Thanks.

TOPICS
Development

Views

161

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
Oct 30, 2014 0

Have something to add?

Join the conversation