• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Reset on app Closure

Guest
Jul 14, 2011 Jul 14, 2011

Copy link to clipboard

Copied

I have a android app that I am developeing and when I close the app (go to the home screen) then re-open the app its opens within the same page that it was closed.

What I would like is to detect the closing of the app and reset the start page back to the beginnning, I have looked but cannot find anyhing relating to this.

Using Flash Builder 4.5 on a mobile project mainly flex so I cna learn flex and not an actionscript project.

Many Thanks in advance

Si

Views

348

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
community guidelines
Guest
Jul 18, 2011 Jul 18, 2011

Copy link to clipboard

Copied

I have used AS to detect if the android phones HOME, MENU and BACK button where pressed and all working but obviously when the home button is pressed it closes

I was hoping to call a function on detecting the home button that woudl pop to the first view before closing thus when opened its looks as if its started again, but nothing, I knwo thes code works as I have a menu pop up on pressing the menu button on the device and trace a message out on the back button.

Am i missing something or is there an easy way to refresh the app / restart it on close ect

thanks

Votes

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
community guidelines
Guest
Jul 18, 2011 Jul 18, 2011

Copy link to clipboard

Copied

LATEST

I have moved this thread to some where appropriate sorry, http://forums.adobe.com/thread/878880

Votes

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
community guidelines