Android Open Source - Exif-Editor Ega Activity Manager






From Project

Back to project page Exif-Editor.

License

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.

Java Source Code

/*
 * @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;
  }

}




Java Source Code List

git.egatuts.android.FileUtils.EgaCursorLoader.java
git.egatuts.android.FileUtils.EgaFileSystemBase.java
git.egatuts.android.FileUtils.EgaFileSystem.java
git.egatuts.android.FileUtils.EgaStorageUtils.java
git.egatuts.android.fragment.EgaFragmentActivityBase.java
git.egatuts.android.fragment.EgaFragmentActivity.java
git.egatuts.android.utils.EgaActivityManager.java
git.egatuts.exifeditor.MainActivity.java