Back to project page Exif-Editor.
The source code is released under:
MIT License
If you think the Android project Exif-Editor listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * @user https://github.com/EgaTuts/*from w w w .j a v a2 s .c o m*/ * @repo https://github.com/EgaTuts/Exif-Editor.git * @file https://github.com/EgaTuts/Exif-Editor/blob/master/src/git/egatuts/android/utils/EgaActivityManager.java * @package git.egatuts.android.utils * @license MIT (http://www.opensource.org/licenses/MIT) */ package git.egatuts.android.utils; import android.app.Activity; /** * Activity manager to get and set the active activity. * @author Esa Garca <egatuts@gmail.com> * @author EgaTuts <egatuts@gmail.com> * @version 1.0.0 * @created 31/8/2014 at 12:53:06. */ public class EgaActivityManager { /** * The active Activity. */ private static Activity activeActivity = null; /** * Sets the active Android's Activity. * @param activity The active Activity. */ public static void setActivity (Activity activity) { activeActivity = activity; } /** * Gets the active Activity. * @return The active activity. */ public static Activity getActivity () { return activeActivity; } }