├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── README.md ├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── bg.png │ │ │ │ ├── back.png │ │ │ │ ├── index.png │ │ │ │ ├── left.png │ │ │ │ ├── right.png │ │ │ │ ├── bg_main.png │ │ │ │ ├── bg_tab.png │ │ │ │ ├── ic_pink.png │ │ │ │ ├── plates.png │ │ │ │ ├── ranking.png │ │ │ │ ├── refresh.png │ │ │ │ ├── bg_chart.png │ │ │ │ ├── bg_title.png │ │ │ │ ├── messages.png │ │ │ │ ├── my_futures.png │ │ │ │ ├── settings.png │ │ │ │ ├── standings.png │ │ │ │ ├── back_pressed.png │ │ │ │ ├── bg_grid_cell.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── left_pressed.png │ │ │ │ ├── bg_tab_focused.png │ │ │ │ ├── classification.png │ │ │ │ ├── my_trasanction.png │ │ │ │ ├── refresh_pressed.png │ │ │ │ ├── right_pressed.png │ │ │ │ ├── bg_grid_cell_pressed.png │ │ │ │ ├── selector_btn_back.xml │ │ │ │ ├── selector_btn_left.xml │ │ │ │ ├── selector_bg_cell.xml │ │ │ │ ├── selector_bg_tabs.xml │ │ │ │ ├── selector_btn_right.xml │ │ │ │ └── selector_btn_refresh.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── styles.xml │ │ │ │ ├── colors.xml │ │ │ │ └── strings.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── layout │ │ │ │ ├── tab_about.xml │ │ │ │ ├── tab_guide.xml │ │ │ │ ├── tab_kcharts.xml │ │ │ │ ├── tab_times.xml │ │ │ │ ├── fragment_times.xml │ │ │ │ ├── fragment_kcharts.xml │ │ │ │ ├── fragment_guide.xml │ │ │ │ ├── selector_text_color.xml │ │ │ │ ├── fragment_about.xml │ │ │ │ ├── activity_welcome.xml │ │ │ │ ├── content_main.xml │ │ │ │ └── activity4fragment_my.xml │ │ │ └── menu │ │ │ │ └── menu_main.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── zhangchen │ │ │ │ └── stock │ │ │ │ └── futures │ │ │ │ ├── http │ │ │ │ └── HttpHelper.java │ │ │ │ ├── entity │ │ │ │ ├── RSIEntity.java │ │ │ │ ├── AppInfo.java │ │ │ │ ├── PayLogEntity.java │ │ │ │ ├── AnnouncementEntity.java │ │ │ │ ├── MALineEntity.java │ │ │ │ ├── OHLCEntity.java │ │ │ │ ├── GameLogEntity.java │ │ │ │ ├── FutruesEntity.java │ │ │ │ ├── MACDEntity.java │ │ │ │ ├── KDJEntity.java │ │ │ │ └── TimesEntity.java │ │ │ │ ├── util │ │ │ │ └── Tools.java │ │ │ │ ├── AboutFragment.java │ │ │ │ ├── GuideFragment.java │ │ │ │ ├── WelcomeActivity.java │ │ │ │ ├── MyFragmentActivity.java │ │ │ │ ├── KChartsFragment.java │ │ │ │ ├── view │ │ │ │ ├── TimesView.java │ │ │ │ ├── GridChart.java │ │ │ │ └── KChartsView.java │ │ │ │ └── TimesFragment.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── zhangchen │ │ │ └── stock │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── zhangchen │ │ └── stock │ │ └── ApplicationTest.java ├── proguard-rules.pro ├── build.gradle └── app.iml ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── Stock.iml ├── gradlew.bat └── gradlew /.idea/.name: -------------------------------------------------------------------------------- 1 | Stock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 基于开源的股票交易软件 2 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/bg.png -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/index.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/left.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/right.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/bg_main.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/bg_tab.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/ic_pink.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/plates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/plates.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ranking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/ranking.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/refresh.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | /captures 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/bg_chart.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/bg_title.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/messages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/messages.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/my_futures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/my_futures.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/settings.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/standings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/standings.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/back_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/back_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_grid_cell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/bg_grid_cell.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/left_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/left_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_tab_focused.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/bg_tab_focused.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/classification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/classification.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/my_trasanction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/my_trasanction.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/refresh_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/refresh_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/right_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/right_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_grid_cell_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/a1401601741/Stock/HEAD/app/src/main/res/drawable/bg_grid_cell_pressed.png -------------------------------------------------------------------------------- /app/src/main/java/com/example/zhangchen/stock/futures/http/HttpHelper.java: -------------------------------------------------------------------------------- 1 | package com.example.zhangchen.stock.futures.http; 2 | 3 | public class HttpHelper { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Oct 26 21:15:09 CST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/zhangchen/stock/futures/entity/RSIEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.zhangchen.stock.futures.entity; 2 | 3 | import java.util.List; 4 | 5 | 6 | /** 7 | * @author nanjingbiao 8 | * 9 | */ 10 | public class RSIEntity { 11 | public RSIEntity(List OHLCData) { 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_btn_back.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_btn_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_bg_cell.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_bg_tabs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_btn_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_btn_refresh.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | > 2 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/zhangchen/stock/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.zhangchen.stock; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/zhangchen/stock/futures/util/Tools.java: -------------------------------------------------------------------------------- 1 | package com.example.zhangchen.stock.futures.util; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | 7 | public class Tools { 8 | 9 | public static void startActivity(Context context, Class cls) { 10 | Intent intent = new Intent(context, cls); 11 | context.startActivity(intent); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/tab_about.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/tab_guide.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/tab_kcharts.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/tab_times.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_times.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_kcharts.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/zhangchen/stock/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.example.zhangchen.stock; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/zhangchen/stock/futures/AboutFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.zhangchen.stock.futures; 2 | 3 | import android.os.Bundle; 4 | import android.support.v4.app.Fragment; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import com.example.zhangchen.stock.R; 10 | 11 | public class AboutFragment extends Fragment { 12 | 13 | @Override 14 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 15 | View view = inflater.inflate(R.layout.fragment_about, null); 16 | 17 | return view; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/zhangchen/stock/futures/GuideFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.zhangchen.stock.futures; 2 | 3 | import android.os.Bundle; 4 | import android.support.v4.app.Fragment; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import com.example.zhangchen.stock.R; 10 | 11 | public class GuideFragment extends Fragment { 12 | 13 | @Override 14 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 15 | View view = inflater.inflate(R.layout.fragment_guide, null); 16 | 17 | return view; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_guide.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/selector_text_color.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_about.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 15 | 16 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\Installation\adt-bundle-windows\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 22 5 | buildToolsVersion "22.0.1" 6 | 7 | defaultConfig { 8 | applicationId "com.example.zhangchen.stock" 9 | minSdkVersion 15 10 | targetSdkVersion 22 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | testCompile 'junit:junit:4.12' 25 | compile 'com.android.support:appcompat-v7:22.2.1' 26 | compile 'com.android.support:design:22.2.1' 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/zhangchen/stock/futures/entity/AppInfo.java: -------------------------------------------------------------------------------- 1 | package com.example.zhangchen.stock.futures.entity; 2 | 3 | public class AppInfo { 4 | private boolean shouldUpdate;// 是否需要更新应用 5 | private String appUri;// 新版本应用地址 6 | 7 | public AppInfo() { 8 | super(); 9 | } 10 | 11 | public AppInfo(boolean shouldUpdate, String appUri) { 12 | super(); 13 | this.shouldUpdate = shouldUpdate; 14 | this.appUri = appUri; 15 | } 16 | 17 | public boolean isShouldUpdate() { 18 | return shouldUpdate; 19 | } 20 | 21 | public void setShouldUpdate(boolean shouldUpdate) { 22 | this.shouldUpdate = shouldUpdate; 23 | } 24 | 25 | public String getAppUri() { 26 | return appUri; 27 | } 28 | 29 | public void setAppUri(String appUri) { 30 | this.appUri = appUri; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 14 |