On some devices, the onCreate in the Activity will be called before the one in the Application.
( (App) getApplication() ) throws ClassCastException occationally, with the correct AndroidManifest.xml settings. <application android:name=".App" ... String.replaceAll("[^0-9;]", "") replace nothing. CPU rate raises up to 100% when the application is in the background. Any idea about these problems? All of these problems occur on few devices, some of them only occur once or on one device. Is there any other application that will change the default behavior of the Android device? Or these are bugs from Android itself? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/ea91b4d7-00a3-4377-8408-a3c6b0192158%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.