发布时间:2013-05-07 16:32:49
当前的activity切换到后台,切换语言,回到原来的activity,原来的activity不见,出现又一新activity。原因:没有在AndroidManifest.xml 中申明android:configChangesandroid:configChangesLists configuration changes that the activity will handle itself. When a configuration change occurs at runtime, the a.........【阅读全文】
发布时间:2013-05-07 16:31:37
今天彻底解决了OOM的问题,其实还是自己写代码不严谨,有些东西没有及时释放,还有些释放的位置不对,总结一下就是: 如果项目有三关,每一关需要的资源都不一样,那就最好每关单独写。 Init();//初始化,里面存放一些变量的值 getImage();//里面是获取图片或者声音的代码,比如说.........【阅读全文】
发布时间:2013-05-07 16:30:33
<supports-screens android:smallScreens="false" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" &.........【阅读全文】