I have the following manifest.
<application
android:name=".MyMainApplication"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".MyMainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
I also have the following global static function.
MyMainApplication application = MyMainApplication.instance();
as technique described in Using Application context everywhere?
I was wondering, out from application
variable, is it possible for me to get MyMainActivity
?