[Nexus One Themes and Apps] rolle3k:
Hiya,

I've been trying to get the Samsung Galaxy Applications, such as Memo.apk to work. Right now I keep getting FC's when I try to start Memo.apk, it, however, installs without any problems.

I pushed twframework.jar and twframework-res.apk, which are part of my deodexed framework archiv, to /system/framework.

I've edited init.rc and added /system/framework/twframework.jar, at my end it looks like this

export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/twframework.jar

I pushed touchwiz.xml to system/etc/permissions/ - if you can't be arsed to download the full system dump, here is the content:

<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="touchwiz" file="/system/framework/twframework.jar"/>
</permissions>

This allowed me to install Memo.apk without any problems.

However, as I already mentioned, I keep getting FC's - I'm done with my latin so maybe one of you guys know what to do next.

Here is the logcat output:

I/ActivityManager( 119): Starting activity: Intent { act=android.intent.action.MEMO_CREATE cmp=com.sec.android.app.memo/.MemoCreateActivity }

W/ResourceType( 723): Resources don't contain package for resource number 0x02050001

D/AndroidRuntime( 723): Shutting down VM

W/dalvikvm( 723): threadid=3: thread exiting with uncaught exception (group=0x4001b178)

E/AndroidRuntime( 723): Uncaught handler: thread main exiting due to uncaught exception

E/AndroidRuntime( 723): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sec.android.app.memo/com.sec.android.app.memo.MemoCreateActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class <unknown>

E/AndroidRuntime( 723):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)

E/AndroidRuntime( 723):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)

E/AndroidRuntime( 723):	at android.app.ActivityThread.access$2200(ActivityThread.java:119)

E/AndroidRuntime( 723):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)

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

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

E/AndroidRuntime( 723):	at android.app.ActivityThread.main(ActivityThread.java:4363)

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

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

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

E/AndroidRuntime( 723):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

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

E/AndroidRuntime( 723): Caused by: android.view.InflateException: Binary XML file line #31: Error inflating class <unknown>

E/AndroidRuntime( 723):	at android.view.LayoutInflater.createView(LayoutInflater.java:513)

E/AndroidRuntime( 723):	at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.inflate(LayoutInflater.java:407)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.inflate(LayoutInflater.java:320)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.inflate(LayoutInflater.java:276)

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

E/AndroidRuntime( 723):	at android.app.Activity.setContentView(Activity.java:1622)

E/AndroidRuntime( 723):	at com.sec.android.app.memo.MemoCreateActivity.onCreate(MemoCreateActivity.java:114)

E/AndroidRuntime( 723):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

E/AndroidRuntime( 723):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)

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

E/AndroidRuntime( 723): Caused by: java.lang.reflect.InvocationTargetException

E/AndroidRuntime( 723):	at android.widget.TextView.<init>(TextView.java:320)

E/AndroidRuntime( 723):	at java.lang.reflect.Constructor.constructNative(Native Method)

E/AndroidRuntime( 723):	at java.lang.reflect.Constructor.newInstance(Constructor.java:446)

E/AndroidRuntime( 723):	at android.view.LayoutInflater.createView(LayoutInflater.java:500)

E/AndroidRuntime( 723):	... 25 more

E/AndroidRuntime( 723): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi/memo_more_bg.png from drawable resource ID #0x2050001: .xml extension required

E/AndroidRuntime( 723):	at android.content.res.Resources.loadColorStateList(Resources.java:1820)

E/AndroidRuntime( 723):	at android.content.res.TypedArray.getColorStateList(TypedArray.java:289)

E/AndroidRuntime( 723):	at android.widget.TextView.<init>(TextView.java:627)

E/AndroidRuntime( 723):	... 29 more

Deodexed Framework: http://ul.to/6ocdh7

Deodexed Memo.apk	http://ul.to/vmv7tc

/system dump of the Galaxy S: