[Captivate Themes and Apps] MikeyMike01:
Alright, I'm trying to make a JPY ROM. Normally I'd put the Captivate Contacts.apk in the ROM instead so it doesn't say "Video Chat", etc. Of course the Stock Widget too.

However, on JPY it force closes.

So, I decided to try and edit the i9000 Contacts.apk directly.

I found these four files:

contact_call_row.xml

contact_call_row_land.xml

contact_detail_dialog_layout.xml (there's two of them)

And removed the line with "video_call" in it.

Putting the .apk on my phone, the Contacts app opens. When you click on a contact, it force closes.

Here's the logcat:

--------- beginning of /dev/log/main

W/PowerManagerService( 2745): Timer 0x3->0x3|0x3

D/dalvikvm( 3325): GC_EXPLICIT freed 3104 objects / 184344 bytes in 103ms

--------- beginning of /dev/log/system

V/InputDevice( 2745): ID[0]=0(0) Dn(0=>1)

V/WindowManager( 2745): Dsptch > Window{48e39338 com.android.contacts/com.sec.android.app.contacts.PhoneBookTopMenuActivity paused=false}

V/WindowManager( 2745): Dsptch > Window{48e39338 com.android.contacts/com.sec.android.app.contacts.PhoneBookTopMenuActivity paused=false}

V/InputDevice( 2745): ID[0]=0(0) Up(1=>0)

V/WindowManager( 2745): Dsptch > Window{48e39338 com.android.contacts/com.sec.android.app.contacts.PhoneBookTopMenuActivity paused=false}

V/InputDevice( 2745): ID[0]=0(0) Dn(0=>1)

D/TwIndexScrollView( 4464): dispatchDraw(Canvas canvas) is now being called!!

D/TwIndexScrollView( 4464): dispatchDraw(Canvas canvas) is now being called!!

E/AudioTrack( 2745): getAudioMode[0]

I/ContactsListActivity( 4464): uri is content://com.android.contacts/contacts/lookup/0i1/1

I/ActivityManager( 2745): Starting activity: Intent { act=android.intent.action.VIEW dat=content://com.android.contacts/contacts/lookup/0i1/1 cmp=com.android.contacts/com.sec.android.app.contacts.PhoneBookDetailTabActivity }

D/ContactsListActivity( 4464): onSaveInstanceState

D/ContactsListActivity( 4464): onPause------------------------------------------

D/TwIndexScrollView( 4464): dispatchDraw(Canvas canvas) is now being called!!

D/AudioHardwareALSA( 2613):

D/AudioHardwareALSA( 2613): ALSA OPEN mode 0,device 2

I/AudioHardwareALSA( 2613): Try to open ALSA PLAYBACK device AndroidPlayback_Speaker_normal

I/AudioHardwareALSA( 2613): Initialized ALSA PLAYBACK device AndroidPlayback_Speaker_normal

D/AudioHardwareALSA( 2613): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)

D/AudioHardwareALSA( 2613): Using 2 channels for PLAYBACK.

D/AudioHardwareALSA( 2613): Set PLAYBACK sample rate to 44100 HZ

D/AudioHardwareALSA( 2613): Buffer size: 2048

D/AudioHardwareALSA( 2613): Latency: 46439

V/InputDevice( 2745): ID[0]=0(0) Up(1=>0)

D/PhoneBookDetailTabActivity( 4464): onResume, mJustCreated : true

D/TwIndexScrollView( 4464): dispatchDraw(Canvas canvas) is now being called!!

I/ActivityManager( 2745): Displayed activity com.android.contacts/com.sec.android.app.contacts.PhoneBookDetailTabActivity: 282 ms (total 282 ms)

D/ContactsListActivity( 4464): onStop--------------------=------------------------

D/AndroidRuntime( 4464): Shutting down VM

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

E/AndroidRuntime( 4464): FATAL EXCEPTION: main

E/AndroidRuntime( 4464): java.lang.NullPointerException

E/AndroidRuntime( 4464):	at com.android.contacts.ViewContactActivity$ViewAdapter.bindView(ViewContactActivity.java:3690)

E/AndroidRuntime( 4464):	at com.android.contacts.ViewContactActivity$ViewAdapter.getView(ViewContactActivity.java:3327)

E/AndroidRuntime( 4464):	at android.widget.AbsListView.obtainView(AbsListView.java:1431)

E/AndroidRuntime( 4464):	at android.widget.ListView.makeAndAddView(ListView.java:1802)

E/AndroidRuntime( 4464):	at android.widget.ListView.fillDown(ListView.java:727)

E/AndroidRuntime( 4464):	at android.widget.ListView.fillFromTop(ListView.java:784)

E/AndroidRuntime( 4464):	at android.widget.ListView.layoutChildren(ListView.java:1655)

E/AndroidRuntime( 4464):	at android.widget.AbsListView.onLayout(AbsListView.java:1263)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1249)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1125)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.onLayout(LinearLayout.java:1042)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.FrameLayout.onLayout(FrameLayout.java:334)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.FrameLayout.onLayout(FrameLayout.java:334)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.FrameLayout.onLayout(FrameLayout.java:334)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1249)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1125)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.onLayout(LinearLayout.java:1042)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.FrameLayout.onLayout(FrameLayout.java:334)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1249)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1125)

E/AndroidRuntime( 4464):	at android.widget.LinearLayout.onLayout(LinearLayout.java:1042)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.FrameLayout.onLayout(FrameLayout.java:334)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.widget.FrameLayout.onLayout(FrameLayout.java:334)

E/AndroidRuntime( 4464):	at android.view.View.layout(View.java:7088)

E/AndroidRuntime( 4464):	at android.view.ViewRoot.performTraversals(ViewRoot.java:1056)

E/AndroidRuntime( 4464):	at android.view.ViewRoot.handleMessage(ViewRoot.java:1752)

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

E/AndroidRuntime( 4464):	at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 4464):	at android.app.ActivityThread.main(ActivityThread.java:4627)

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

E/AndroidRuntime( 4464):	at java.lang.reflect.Method.invoke(Method.java:521)

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

E/AndroidRuntime( 4464):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

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

W/ActivityManager( 2745): Force finishing activity com.android.contacts/com.sec.android.app.contacts.PhoneBookDetailTabActivity

I/ ( 2745): dumpmesg > "/data/log/dumpstate_app_error.log"

W/ActivityManager( 2745): Activity pause timeout for HistoryRecord{48d51008 com.android.contacts/com.sec.android.app.contacts.PhoneBookDetailTabActivity}

V/WindowManager( 2745): Dsptch > Window{48cc09a8 Sorry! paused=false}

V/InputDevice( 2745): ID[0]=0(0) Dn(0=>1)

V/InputDevice( 2745): ID[0]=0(0) Up(1=>0)

V/WindowManager( 2745): Dsptch > Window{48cc09a8 Sorry! paused=false}

V/InputDevice( 2745): ID[0]=0(0) Dn(0=>1)

V/WindowManager( 2745): Dsptch > Window{48cc09a8 Sorry! paused=false}

V/WindowManager( 2745): Dsptch > Window{48cc09a8 Sorry! paused=false}

V/InputDevice( 2745): ID[0]=0(0) Up(1=>0)

E/AudioTrack( 2745): getAudioMode[0]

I/Process ( 4464): Sending signal. PID: 4464 SIG: 9

I/ActivityManager( 2745): Process android.process.acore (pid 4464) has died.

I/WindowManager( 2745): WIN DEATH: Window{48e39338 com.android.contacts/com.sec.android.app.contacts.PhoneBookTopMenuActivity paused=false}

I/WindowManager( 2745): WIN DEATH: Window{48fb9bd0 com.android.contacts/com.sec.android.app.contacts.PhoneBookDetailTabActivity paused=false}

I/UsageStats( 2745): Unexpected resume of com.android.launcher while already resumed in com.android.contacts

D/Launcher( 2995): onResume+

D/Launcher.DragController( 2995): +endDrag: false

D/Launcher.DragController( 2995): mDragging == false

D/Launcher.DragController( 2995): -endDrag: false

D/Launcher( 2995): onResume-

V/RenderScript_jni( 2995): surfaceCreated

D/Launcher.AllApps3D( 2995): +super.surfaceChanged

V/RenderScript_jni( 2995): surfaceChanged

D/Launcher.AllApps3D( 2995): -super.surfaceChanged

W/InputManagerService( 2745): Got RemoteException sending setActive(false) notification to pid 4464 uid 10002

W/Resources( 2745): Converting to boolean: TypedValue{t=0x3/d=0x692e "res/anim/accelerate_decelerate_interpolator.xml" a=1 r=0x10a0004}

Any help would be appreciated.