[XDA-University] abo hani:
Hello again :P

I have fixed some problems ... now faced another :|

E/AndroidRuntime( 3371): FATAL EXCEPTION: main

E/AndroidRuntime( 3371): java.lang.RuntimeException: Unable to instantiate application com.sonymobile.home.HomeApplication: java.lang.ClassNotFoundException: com.sonymobile.home.HomeApplication

E/AndroidRuntime( 3371): at android.app.LoadedApk.makeApplication(LoadedApk.java:501)

E/AndroidRuntime( 3371): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4166)

E/AndroidRuntime( 3371): at android.app.ActivityThread.access$1300(ActivityThread.java:138)

E/AndroidRuntime( 3371): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1267)

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

E/AndroidRuntime( 3371): at android.os.Looper.loop(Looper.java:213)

E/AndroidRuntime( 3371): at android.app.ActivityThread.main(ActivityThread.java:4787)

E/AndroidRuntime( 3371): at java.lang.reflect.Method.invokeNative(NativeMethod)

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

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

E/AndroidRuntime( 3371): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)

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

E/AndroidRuntime( 3371): Caused by: java.lang.ClassNotFoundException: com.sonymobile.home.HomeApplication

E/AndroidRuntime( 3371): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)

E/AndroidRuntime( 3371): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)

E/AndroidRuntime( 3371): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)

E/AndroidRuntime( 3371): at android.app.Instrumentation.newApplication(Instrumentation.java:967)

E/AndroidRuntime( 3371): at android.app.LoadedApk.makeApplication(LoadedApk.java:496)

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

W/ActivityManager( 508): Force finishing activity com.sonyericsson.home/com.sonymobile.home.HomeActivity

I/CrashMonitor( 3015): CrashMonitorServiceBroadcastReceiver: Forwarding intent:android.intent.action.DROPBOX_ENTRY_ADDED tag: system_app_crash

I/CrashMonitor( 3015): CrashMonitorService: Service started...

I/CrashMonitor( 3015): CrashMonitorService: onHandleIntent action: android.intent.action.DROPBOX_ENTRY_ADDED

D/dalvikvm( 3032): Trying to load lib /data/data/com.sonyericsson.android.bootinfo/lib/libMiscTaAccessor.so 0x423f7c60

D/dalvikvm( 3032): Shared lib '/data/data/com.sonyericsson.android.bootinfo/lib/

libMiscTaAccessor.so' already loaded in same CL 0x423f7c60

W/ActivityManager( 508): Activity pause timeout for ActivityRecord{42e42a58 com.sonyericsson.home/com.sonymobile.home.HomeActivity}

W/ResourceType( 3059): No package identifier when getting value for resource number 0x00000000

This is the Log , I have fixed some bugs ...

Now here is Home Application Smali Code ( Some Off it )

.method private static initScreenType(Landroid/content/res/Resources;)V

.locals 1

.parameter "resources"

.prologue

.line 81

const v0, 0x7f070007

invoke-virtual {p0, v0}, Landroid/content/res/Resources;->getBoolean(I)Z

move-result v0

sput-boolean v0, Lcom/sonymobile/home/HomeApplication;->sIsLargeScreen:Z

.line 82

return-void

.end method

where is this 0x***** ?

------------------

Plus .. Is it impossible to fix Home smali codes not framework.jar methods ?? its like not fixing and making framework.jar smali methods look like the "being porting" framework.jar smali methods ?

And sorry for long post :P

Thanks in advance >>>> :)