title: java.lang.ClassCastException: android.app.Application cannot be cast to roboguice.application.RoboApplication
body: <p>example using roboguice.<br>
  This code get ClassCastException.</p>
  
  <pre><code>public class MainActivity extends RoboActivity{
  
      @InjectView(R.id.text)
      TextView name;
      @InjectView(R.id.imageView1)
      ImageView imageView;
      Drawable icon;
      @InjectResource(R.string.app_name)
      String myName;
  
  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  }
  </code></pre>
  
  <p>all jar files are already included.</p>
  
  <p>My manifest.xml is here..</p>
  
  <p>find this here.</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.roboguice"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="17" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.example.roboguice.MainActivity"
              android:label="@string/app_name" &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;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>no changes in manifest.xml.
  if required then say.</p>