Implementation of the Discuz Forum client application source code, discuz source code
By using the source code, developers can quickly migrate the Discuz forum to the Android client. You can have the Android client of your forum without any development work.
Source code download: http://code.662p.com/view/13266.html
Preparations
Before using the source code, you must install the BigApp plug-in the Discuz forum.
I. Plug-in Installation
Application Center-> plug-in-> Search for bigapp-> click BigApp mobile client-> install the application.
For installation steps, refer to the Bigapp installation method.
2. Configure the plug-in
1. login registration mode (native login, web login, native registration, web registration, and allow the client to change the profile picture)
2. Third-party logon switch (QQ logon and logon switch)
3. sign-In settings (APP sign-In settings)
4. Advanced DIY settings are as follows (APP designer and style settings ),
Note: The following configurations will be unavailable (webmaster authentication, App generation, layout settings, push settings, and statistical analysis ),
Instructions for use
Note: Please use the Android Studio development tool, gralde Script Editor: This Source Code does not contain message push and version update functions.
1. Use Android Studio to import a project
2. Find and configure the Clan \ res \ values \ strings_config.xml file in the project.
The configuration items are described as follows:
<! -- Whether to enable the sharing function. 1 indicates that the sharing function is enabled, and other means that the sharing function is not enabled. --> <string name = "is_use_share"> 1 </string> <! -- Whether to enable or not, share via qq or Weibo, and use 1 or use_xx_ OK, others do not use --> <string name = "use_wechat"> use_wechat_ OK </string> <string name = "use_qq"> use_qq_ OK </string> <string name = "use_weibo"> use_weibo_ OK </string> <! -- App theme style 1. tab style, 2. sidebar style, 3. QQ sidebar style, 4. drawer menu style, 99. QQ space style --> <string name = "custom_theme"> 1 </string> <! -- Api address: your site address + api/mobile/iyz_index.php --> <string name = "api_url"> http://bbs.bigappdemo.com/api/mo... tring> <string name = "api_url_base"> http://bbs.bigappdemo.com/</string> <string name = "api_url_path"> api/mobile/iyz_index.php </string>
Note: For Sina, QQ application information settings, if you do not use the relevant platform Functions, you can not set.
3. In the project, find the libs \ ShareSDK \ assets \ ShareSDK. xml file and set the sharing key.
This app uses sharesdk for third-party sharing. Copy the key of QQ, sina, and developer platform to this file.
4. Compile and run the application.
Http://android.662p.com/thread-6525-1-1.html