title: How to know when Parse.initialize() has already been called?
body: <p>Right now I am using a static boolean to tell when the initialization has occurred. Is there an easier way to know that I have already called initialize?</p>
  
  <p>Thank you!!!</p>
  
  <p>SOLVED!!!! Thank you so much for your comments. You need to initialize parse in a class that extends an application, and then add it to the manifest file as an application (not an other activity).    </p>
  
  <p>:)</p>
  
  <hr>
  
  <p>This is my class to use Parse:</p>
  
  <pre><code>package com.example.myapp;
  
  import com.parse.Parse;
  
  import android.app.Application;
  
  public class UseParse extends Application {
  @Override
  public void onCreate() {
  super.onCreate();
  Parse.initialize(this, "id", "key");
   }
  }   
  </code></pre>
  
  <hr>
  
  <p>This is my android manifest file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.myapp"
  android:versionCode="1"
  android:versionName="1.0" 
   &gt;
  
  
   &lt;uses-sdk android:minSdkVersion="11"
        android:targetSdkVersion="14"/&gt;
  
  
   &lt;supports-screens 
  android:smallScreens="true"
  android:normalScreens="true"
  android:largeScreens="true"
  android:xlargeScreens="true"
  android:anyDensity="true"/&gt;
  
  
  
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
  &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
  &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
  &lt;uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
  &lt;uses-permission android:name="android.permission.CALL_PHONE" android:required="false" /&gt;
  
  
  &lt;permission android:protectionLevel="signature"
  android:name="com.example.myapp.permission.C2D_MESSAGE" /&gt;
  &lt;uses-permission android:name="com.example.myapp.permission.C2D_MESSAGE" /&gt;
  
  
  &lt;application
      android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:screenOrientation="portrait"
      android:label="@string/app_name"
      android:name ="com.example.myapp.UseParse"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:screenOrientation="portrait"
          android:name="com.example.myapp.SplashActivity"
          android:configChanges="orientation|keyboardHidden|screenSize"
          android:label="@string/app_name"
          android:theme="@style/FullscreenTheme" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity android:name=".LoginActivity" /&gt;
       //... more
  
  
  
      &lt;service android:name="com.parse.PushService" /&gt;
      &lt;receiver android:name="com.parse.ParseBroadcastReceiver"&gt;
      &lt;intent-filter&gt;
       &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt;
       &lt;action android:name="android.intent.action.USER_PRESENT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  &lt;receiver android:name="com.parse.GcmBroadcastReceiver"
      android:permission="com.google.android.c2dm.permission.SEND"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
          &lt;action android:name="com.google.android.c2dm.intent.REGISTRATION" /&gt;
       &lt;category android:name="com.example.myapp" /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  
  
  
  
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>