Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Which event works like OnClose in VCL?



Permlink Replies: 2 - Last Post: Aug 22, 2017 2:32 PM Last Post By: duf _ Threads: [ Previous | Next ]
duf _

Posts: 28
Registered: 7/2/06
Which event works like OnClose in VCL?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 22, 2017 6:12 AM
I have tried to find an event that runs on Android as a result of application closure and unfortunately I do not have any that is called in addition to OnDeactivate but do not follow instructions and is also called when opening application. Is there a chance of executing instructions when closing an application and how to do it?
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Which event works like OnClose in VCL?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 22, 2017 10:07 AM   in response to: duf _ in response to: duf _
duf _ wrote:

I have tried to find an event that runs on Android as a result of
application closure and unfortunately I do not have any that is
called in addition to OnDeactivate but do not follow instructions and
is also called when opening application. Is there a chance of
executing instructions when closing an application and how to do it?

See this blog article:

Mobile app lifecycle events handling in Delphi XE5
https://community.embarcadero.com/blogs/entry/mobile-app-lifecycle-events-handling-in-delphi-xe5-40067

--
Remy Lebeau (TeamB)
duf _

Posts: 28
Registered: 7/2/06
Re: Which event works like OnClose in VCL?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 22, 2017 2:32 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:
duf _ wrote:

I have tried to find an event that runs on Android as a result of
application closure and unfortunately I do not have any that is
called in addition to OnDeactivate but do not follow instructions and
is also called when opening application. Is there a chance of
executing instructions when closing an application and how to do it?

See this blog article:

Mobile app lifecycle events handling in Delphi XE5
https://community.embarcadero.com/blogs/entry/mobile-app-lifecycle-events-handling-in-delphi-xe5-40067

--
Remy Lebeau (TeamB)

Thanks, I have just seen it
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02