Samsung GS3 Specific Error s3dReadConfigFile. Works on any other Android device. -
so have mainactivity goes this.
protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); this.setcontentview(r.layout.splash_layout); imageview imageview = (imageview) findviewbyid(r.id.logo); imageview.setimageresource(r.drawable.logo_p); handler handler = new handler(); handler.postdelayed(new runnable(){ @override public void run() { jump(); } }, 3000); }
with layout this
<?xml version="1.0" encoding="utf-8"?> <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <imageview android:id="@+id/logo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerhorizontal="true" android:layout_centervertical="true" android:paddingtop="5sp" android:paddingleft="8dp" android:paddingright="8dp" android:paddingbottom="5sp" />
when debug on samsung galaxy s2 (android 4.0.3), image appears , jump function called. when debug on samsung galaxy s3 (android 4.1.2), logcat throws error.
05-18 19:51:05.832: e/(20438): <s3dreadconfigfile:75>: can't open file reading
the jump function never called , app crashes completely. not have idea error , how fix it. question has been asked here has no answers of writing.
the application works long imageview not set source. if comment out line still error jump function called. if don't call setcontentview() @ all, error never appears.
Comments
Post a Comment