Android does not provide a native way to be notified of applications starting and stopping. This project solves that problem. Make your Activities inherit from ApplicationSessionActivity, and you can run code when the app starts and stops..
ApplicationSessionActivity is hosted in the following web site
https://github.com/apptentive/ApplicationSessionActivity
If you think the Android project ApplicationSessionActivity listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of ApplicationSessionActivity.
Item | Value |
---|---|
Java File Count | 3 |
Minimum SDK Version | 7 |
Activity Count | 2 |
Required Permissions | android.permission.GET_TASKS |
The license information of ApplicationSessionActivity is as follows:
Copyright (C) 2012 Apptentive Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the So...