I've implemented this solution in my app:
https://stackoverflow.com/a/708317/290043
And now that I my app won't start anymore. Here from the catlog:
Starting activity com.example.css.cih.ActivityMain on device 015d2994a6280018
ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.css.cih/.ActivityMain }
ActivityManager: Error type 3
ActivityManager: Error: Activity class {com.example.css.cih/com.example.css.cih.ActivityMain} does not exist.
I did add the manifest element as stated in that question:
<application
android:name="com.example.css.cih.MyApp"
android:allowBackup="false"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
</application>
And, the class:
import android.app.Application;
public class MyApp extends Application {
public boolean isCbpProject;
public boolean isMrProject;
}
I should state that the app ran as expected before I implemented that solution.