[Galaxy S II Android Development] remuntada78:
Hi i was trying to work with SecContacts.apk to implement a mod that make me choose the dialer background image, so i added the following code in com/sec/android/app/dialertab/dialpad/DialpadFragment.smali:

.method public DialerBackground()V
.locals 5

iget-object v1, p0, Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;->mContext:Landroid/content/Context;

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "choose_dialer"

const v3, 0x0

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

const v2, 0x1

if-eq v1, v2, :cond_0

const v2, 0x7f02039e

goto :goto_0

:cond_0
const v2, 0x7f02064a

:goto_0
iget-object v3, p0, Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;->mDialpadBG:Landroid/view/View;

invoke-virtual {v3, v2}, Landroid/view/View;->setBackgroundResource(I)V

.end method

and i got the following error

W/ResourceType( 3053): Bad XML block: header size 28024 or total size 1702240364 is larger than data size 427

D/AndroidRuntime( 3053): Shutting down VM

W/dalvikvm( 3053): threadid=1: thread exiting with uncaught exception (group=0x410b12a0)

E/AndroidRuntime( 3053): FATAL EXCEPTION: main

E/AndroidRuntime( 3053): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.DialtactsActivity}: android.content.res.Resources$NotFoundException: File res/layout-sw320dp-hdpi/dialtacts_activity.xml from xml type layout resource ID #0x7f0400b9

E/AndroidRuntime( 3053):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110)

E/AndroidRuntime( 3053):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)

E/AndroidRuntime( 3053):	at android.app.ActivityThread.access$700(ActivityThread.java:140)

E/AndroidRuntime( 3053):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)

E/AndroidRuntime( 3053):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 3053):	at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 3053):	at android.app.ActivityThread.main(ActivityThread.java:4921)

E/AndroidRuntime( 3053):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 3053):	at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 3053):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)

E/AndroidRuntime( 3053):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)

E/AndroidRuntime( 3053):	at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 3053): Caused by: android.content.res.Resources$NotFoundException: File res/layout-sw320dp-hdpi/dialtacts_activity.xml from xml type layout resource ID #0x7f0400b9

E/AndroidRuntime( 3053):	at android.content.res.Resources.loadXmlResourceParser(Resources.java:2178)

E/AndroidRuntime( 3053):	at android.content.res.Resources.loadXmlResourceParser(Resources.java:2133)

E/AndroidRuntime( 3053):	at android.content.res.Resources.getLayout(Resources.java:865)

E/AndroidRuntime( 3053):	at android.view.LayoutInflater.inflate(LayoutInflater.java:394)

E/AndroidRuntime( 3053):	at android.view.LayoutInflater.inflate(LayoutInflater.java:352)

E/AndroidRuntime( 3053):	at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:313)

E/AndroidRuntime( 3053):	at android.app.Activity.setContentView(Activity.java:1924)

E/AndroidRuntime( 3053):	at com.android.contacts.activities.DialtactsActivity.onCreate(DialtactsActivity.java:926)

E/AndroidRuntime( 3053):	at android.app.Activity.performCreate(Activity.java:5206)

E/AndroidRuntime( 3053):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)

E/AndroidRuntime( 3053):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)

E/AndroidRuntime( 3053):	... 11 more

E/AndroidRuntime( 3053): Caused by: java.io.FileNotFoundException: Corrupt XML binary file

E/AndroidRuntime( 3053):	at android.content.res.AssetManager.openXmlAssetNative(Native Method)

E/AndroidRuntime( 3053):	at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:487)

E/AndroidRuntime( 3053):	at android.content.res.Resources.loadXmlResourceParser(Resources.java:2160)

E/AndroidRuntime( 3053):	... 21 more

what this mean?

thanks in advance