ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 外链模块使用说明 外链第三方模块 ## Download Download grab via Maven: ```xml allprojects { repositories { maven { url "http://192.168.0.121:8081/repository/maven-releases/" } maven {url "https://clojars.org/repo/"} } } ``` ```xml dependencies { compile 'com.ucmed.monkey:wapLink:1.0.17' } ``` ## 使用 ### 1、AndroidManifest.xml配置 ```xml <activity android:name="com.rubik.ucemd.rubikwaplink.WapLinkMainActivity" android:configChanges="keyboardHidden|screenLayout" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" /> <activity android:name="com.rubik.ucemd.rubikwaplink.BarCodeActivity" android:configChanges="keyboardHidden|screenLayout" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" /> <activity android:name="com.rubik.ucemd.rubikwaplink.WapLinkErrorActivity" android:configChanges="keyboardHidden|screenLayout" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" /> ``` ### 2、Application配置 ```java public class AppPatientDemoContexts extends AppHttpContexts { @Override public void onCreate() { super.onCreate(); AppHttpContexts.getAppContext().setWapLinkErrorActivity(ErrorActivity.class); AppHttpContexts.getAppContext().setWapLinkActivity(WapLinkMainActivity.class); AssetsUtils.initAsssets(this); } } ``` ### 3、包重复 ```xml android { packagingOptions { exclude 'META-INF/services/javax.annotation.processing.Processor' pickFirst 'META-INF/services/javax.annotation.processing.Processor' } } ```