OSDN Git Service

Refactor IM client to build all stuff in a single APK
authorScott Su <scott.su@myriadgroup.com>
Thu, 20 Aug 2009 14:13:20 +0000 (22:13 +0800)
committerWei Huang <weih@google.com>
Sat, 22 Aug 2009 18:24:42 +0000 (11:24 -0700)
commit3a623dfea097ca2e30534a44df3600d7c1894e39
tree72b0ea40052e35657cdaa78e5e2ea63232cfff75
parent392febbbc530e39ca2f3758ee07b130f34192022
Refactor IM client to build all stuff in a single APK

- IM app was separated as three separated parts before: IM.apk, com.android.im.plugin.jar and the plugin APK. With this structure, it's hard to maintain the dependency and impossible to update through Market.
- The plug-in structure is kept with some changes: instead of with aidl files in a shared library, they are changed as normal java interfaces and will be built in the apk now.
- The branding resources have to be put in IM/res now since there is only one APK after the refactoring.
- The landing page has been moved to IM APK from ImProvider since GTalk has been separated from IMPS client.
88 files changed:
Android.mk
AndroidManifest.xml
libwbxml/Android.mk
libwbxml/include/imps_encoder.h
libwbxml/include/wbxml_encoder.h
libwbxml/src/imps_encoder.cpp
libwbxml/src/wbxml_encoder.cpp [new file with mode: 0644]
plugin/Android.mk [deleted file]
plugin/com/android/im/plugin/ImPlugin.java [moved from plugin/com/android/im/plugin/IImPlugin.aidl with 91% similarity]
plugin/com/android/im/plugin/PasswordDigest.java [moved from plugin/com/android/im/plugin/IPasswordDigest.aidl with 86% similarity]
plugin/com/android/im/plugin/PresenceMapping.java [moved from plugin/com/android/im/plugin/IPresenceMapping.aidl with 95% similarity]
res/color/landing_page_text.xml [new file with mode: 0644]
res/color/landing_page_text_secondary.xml [new file with mode: 0644]
res/drawable/default_background.9.png [moved from samples/PluginDemo/res/drawable/emo_im_cool.png with 75% similarity]
res/layout/account_view.xml [new file with mode: 0644]
res/layout/contact_list_view.xml
res/layout/contact_view.xml
res/layout/group_view.xml
res/values/strings.xml
samples/PluginDemo/Android.mk [deleted file]
samples/PluginDemo/AndroidManifest.xml [deleted file]
samples/PluginDemo/res/drawable/chat.png [deleted file]
samples/PluginDemo/res/drawable/chat_new.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_angel.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_crying.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_embarrassed.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_foot_in_mouth.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_happy.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_kissing.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_laughing.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_lips_are_sealed.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_money_mouth.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_sad.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_surprised.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_tongue_sticking_out.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_undecided.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_winking.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_wtf.png [deleted file]
samples/PluginDemo/res/drawable/emo_im_yelling.png [deleted file]
samples/PluginDemo/res/drawable/im_logo.png [deleted file]
samples/PluginDemo/res/drawable/im_logo_splashscr.png [deleted file]
samples/PluginDemo/res/values-cs/strings.xml [deleted file]
samples/PluginDemo/res/values-da/strings.xml [deleted file]
samples/PluginDemo/res/values-de/strings.xml [deleted file]
samples/PluginDemo/res/values-el/strings.xml [deleted file]
samples/PluginDemo/res/values-es-rUS/strings.xml [deleted file]
samples/PluginDemo/res/values-es/strings.xml [deleted file]
samples/PluginDemo/res/values-fr/strings.xml [deleted file]
samples/PluginDemo/res/values-it/strings.xml [deleted file]
samples/PluginDemo/res/values-ja/strings.xml [deleted file]
samples/PluginDemo/res/values-ko/strings.xml [deleted file]
samples/PluginDemo/res/values-nb/strings.xml [deleted file]
samples/PluginDemo/res/values-nl/strings.xml [deleted file]
samples/PluginDemo/res/values-pl/strings.xml [deleted file]
samples/PluginDemo/res/values-pt-rPT/strings.xml [deleted file]
samples/PluginDemo/res/values-pt/strings.xml [deleted file]
samples/PluginDemo/res/values-ru/strings.xml [deleted file]
samples/PluginDemo/res/values-sv/strings.xml [deleted file]
samples/PluginDemo/res/values-tr/strings.xml [deleted file]
samples/PluginDemo/res/values-zh-rCN/strings.xml [deleted file]
samples/PluginDemo/res/values-zh-rTW/strings.xml [deleted file]
samples/PluginDemo/res/values/strings.xml [deleted file]
samples/PluginDemo/src/com/android/im/plugin/demo/DemoImPlugin.java
samples/PluginDemo/src/com/android/im/plugin/demo/DemoPresenceMapping.java
src/com/android/im/app/BrandingResources.java
src/com/android/im/app/FrontDoorPlugin.java [deleted file]
src/com/android/im/app/ImApp.java
src/com/android/im/app/ImPluginHelper.java [new file with mode: 0644]
src/com/android/im/app/LandingPage.java [new file with mode: 0644]
src/com/android/im/app/ProviderListItem.java [new file with mode: 0644]
src/com/android/im/engine/SmsService.java
src/com/android/im/imps/CirChannel.java
src/com/android/im/imps/CustomPasswordDigest.java
src/com/android/im/imps/CustomPresenceMapping.java
src/com/android/im/imps/DefaultPresenceMapping.java
src/com/android/im/imps/HttpCirChannel.java
src/com/android/im/imps/ImpsConnectionConfig.java
src/com/android/im/imps/ImpsContactListManager.java
src/com/android/im/imps/ImpsPresenceUtils.java
src/com/android/im/imps/PasswordDigest.java [deleted file]
src/com/android/im/imps/PresenceMapping.java [deleted file]
src/com/android/im/imps/PresencePollingManager.java
src/com/android/im/imps/SmsCirChannel.java
src/com/android/im/imps/StandardPasswordDigest.java
src/com/android/im/imps/TcpCirChannel.java
src/com/android/im/service/AndroidHeartBeatService.java
src/com/android/im/service/AndroidSmsService.java
src/com/android/im/service/RemoteImService.java