[Wildfire Android Development] AnantK123:
QuickOffice in OpenFire

Anyone know how to install QuickOffice in OpenFire. I extracted the apk out of the nandroid backup and installed that, but when I try to use it, it keeps getting a force close.

Log Cat excerpt if anyone is interested. Seems like the app is attempting to check if it's HTC and failing.

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

I/ActivityManager( 360): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.qo.android.htc/com.qo.android.quickoffice.QuickofficeDispatcher }

I/ActivityManager( 360): Start proc com.qo.android.htc for activity com.qo.android.htc/com.qo.android.quickoffice.QuickofficeDispatcher: pid=1446 uid=10082 gids={3003, 1015}

D/Logger ( 1446): initProps() props: null

I/dalvikvm( 1446): Could not find method android.os.Environment.getSupportedStorages, referenced from method com.qo.android.htc.RootSettings.getRoot

W/dalvikvm( 1446): VFY: unable to resolve static method 2865: Landroid/os/Environment;.getSupportedStorages ()I

D/dalvikvm( 1446): VFY: replacing opcode 0x71 at 0x0002

D/dalvikvm( 1446): VFY: dead code 0x0005-0048 in Lcom/qo/android/htc/RootSettings;.getRoot ()Ljava/lang/String;

I/dalvikvm( 1446): Could not find method android.os.Environment.getSupportedStorages, referenced from method com.qo.android.htc.RootSettings.getRootInt

W/dalvikvm( 1446): VFY: unable to resolve static method 2865: Landroid/os/Environment;.getSupportedStorages ()I

D/dalvikvm( 1446): VFY: replacing opcode 0x71 at 0x0002

D/dalvikvm( 1446): VFY: dead code 0x0005-0012 in Lcom/qo/android/htc/RootSettings;.getRootInt ()Ljava/lang/String;

D/dalvikvm( 1446): GC_FOR_MALLOC freed 2186 objects / 199336 bytes in 78ms

D/dalvikvm( 1446): GC_FOR_MALLOC freed 707 objects / 477184 bytes in 71ms

D/AndroidRuntime( 1446): Shutting down VM

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

E/AndroidRuntime( 1446): FATAL EXCEPTION: main

E/AndroidRuntime( 1446): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.qo.android.htc/com.qo.android.quickoffice.QuickofficeDispatcher}: java.lang.IllegalArgumentException:

E/AndroidRuntime( 1446):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)

E/AndroidRuntime( 1446):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)

E/AndroidRuntime( 1446):	at android.app.ActivityThread.access$2300(ActivityThread.java:125)

E/AndroidRuntime( 1446):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)

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

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

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

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

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

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

E/AndroidRuntime( 1446):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)

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

E/AndroidRuntime( 1446): Caused by: java.lang.IllegalArgumentException:

E/AndroidRuntime( 1446):	at com.htc.protection.api._HtcCheck.invoke(Unknown Source)

E/AndroidRuntime( 1446):	at $Proxy0.bomb(Native Method)

E/AndroidRuntime( 1446):	at awm.b(Unknown Source)

E/AndroidRuntime( 1446):	at com.qo.android.quickoffice.QuickofficeDispatcherBase.startCustomActivity(Unknown Source)

E/AndroidRuntime( 1446):	at com.qo.android.quickoffice.QuickofficeDispatcherBase.onCreate(Unknown Source)

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

E/AndroidRuntime( 1446):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)

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

W/ActivityManager( 360): Force finishing activity com.qo.android.htc/com.qo.android.quickoffice.QuickofficeDispatcher

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