├── app ├── .gitignore ├── libs │ ├── httpmime-4.1.2.jar │ ├── BaiduLBS_Android.jar │ ├── achartengine-1.0.0.jar │ └── IndoorscapeAlbumPlugin.jar ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── fangda.png │ │ │ │ ├── hl_on.png │ │ │ │ ├── sc_low.png │ │ │ │ ├── send.png │ │ │ │ ├── hl_down.png │ │ │ │ ├── ic_back.png │ │ │ │ ├── ic_home.png │ │ │ │ ├── icon_en.png │ │ │ │ ├── icon_st.png │ │ │ │ ├── sc_high.png │ │ │ │ ├── suoxiao.png │ │ │ │ ├── cycle_check.png │ │ │ │ ├── old_homepage.jpg │ │ │ │ └── personal_item_arrow.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── timg1.jpg │ │ │ │ ├── old_icon.jpg │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_blue_round_bg.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_small_blue_rectangular.png │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── anim │ │ │ │ ├── popup_alpha_in.xml │ │ │ │ └── popup_alpha_out.xml │ │ │ ├── layout │ │ │ │ ├── activity_open.xml │ │ │ │ ├── activity_path_guide.xml │ │ │ │ ├── activity_weather_main.xml │ │ │ │ ├── before_or_after_calendar_layout.xml │ │ │ │ ├── activity_shake.xml │ │ │ │ ├── activity_fix_position.xml │ │ │ │ ├── activity_memo_info.xml │ │ │ │ ├── activity_people_info.xml │ │ │ │ ├── now.xml │ │ │ │ ├── forecast.xml │ │ │ │ ├── activity_flash_light.xml │ │ │ │ ├── title.xml │ │ │ │ ├── choose_area.xml │ │ │ │ ├── suggestion.xml │ │ │ │ ├── forecast_item.xml │ │ │ │ ├── activity_screen_light.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── activity_sleep_count.xml │ │ │ │ ├── activity_heart_rate.xml │ │ │ │ ├── activity_fall.xml │ │ │ │ ├── selectremindway_pop_window.xml │ │ │ │ ├── activity_magnifier.xml │ │ │ │ ├── fragment_tool.xml │ │ │ │ ├── activity_weather.xml │ │ │ │ ├── records_calender_item_view.xml │ │ │ │ ├── activity_fall_help.xml │ │ │ │ ├── fragment_health.xml │ │ │ │ ├── fragment_location.xml │ │ │ │ ├── fragment_help.xml │ │ │ │ ├── aqi.xml │ │ │ │ ├── activity_sleep.xml │ │ │ │ ├── activity_message.xml │ │ │ │ ├── activity_telphone.xml │ │ │ │ ├── activity_navigation.xml │ │ │ │ └── activity_urgent_info.xml │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── layout-land │ │ │ │ └── activity_message.xml │ │ │ └── layout-xlarge │ │ │ │ └── activity_message.xml │ │ ├── jniLibs │ │ │ └── armeabi │ │ │ │ ├── libbds.so │ │ │ │ ├── libssl.so │ │ │ │ ├── libbdtts.so │ │ │ │ ├── libcrypto.so │ │ │ │ ├── libcurl.so │ │ │ │ ├── libbd_etts.so │ │ │ │ ├── liblocSDK7a.so │ │ │ │ ├── liblocnaviSDK.so │ │ │ │ ├── libgnustl_shared.so │ │ │ │ ├── libapp_BaiduVIlib.so │ │ │ │ ├── libaudiomessage-jni.so │ │ │ │ ├── libBDSpeechDecoder_V1.so │ │ │ │ ├── libapp_BaiduNaviApplib.so │ │ │ │ ├── libBaiduMapSDK_base_v4_5_0.so │ │ │ │ ├── libapp_BaiduPanoramaAppLib.so │ │ │ │ ├── libetts_domain_data_builder.so │ │ │ │ ├── libBaiduMapSDK_bikenavi_v4_5_0.so │ │ │ │ └── libBaiduMapSDK_map_for_bikenavi_v4_5_0.so │ │ ├── java │ │ │ └── com │ │ │ │ └── liu │ │ │ │ └── oldsystem │ │ │ │ ├── constant │ │ │ │ └── Constant.java │ │ │ │ ├── gson │ │ │ │ ├── AQI.java │ │ │ │ ├── Now.java │ │ │ │ ├── Weather.java │ │ │ │ ├── Basic.java │ │ │ │ ├── Forecast.java │ │ │ │ └── Suggestion.java │ │ │ │ ├── util │ │ │ │ ├── HttpUtil.java │ │ │ │ ├── StepCountCheckUtil.java │ │ │ │ ├── ImageProcessing.java │ │ │ │ └── Utility.java │ │ │ │ ├── location │ │ │ │ ├── WeatherMainActivity.java │ │ │ │ ├── ShakeActivity.java │ │ │ │ └── OverlayManager.java │ │ │ │ ├── db │ │ │ │ ├── Word.java │ │ │ │ ├── Province.java │ │ │ │ ├── Memo.java │ │ │ │ ├── City.java │ │ │ │ ├── County.java │ │ │ │ ├── ContactPerson.java │ │ │ │ ├── Sleep.java │ │ │ │ └── DBOpenHelper.java │ │ │ │ ├── OpenActivity.java │ │ │ │ ├── bean │ │ │ │ └── StepEntity.java │ │ │ │ ├── tool │ │ │ │ ├── Screen.java │ │ │ │ ├── ScreenLightActivity.java │ │ │ │ ├── MagnifierActivity.java │ │ │ │ └── FlashLightActivity.java │ │ │ │ ├── help │ │ │ │ ├── PeopleInfoActivity.java │ │ │ │ ├── FallHelpActivity.java │ │ │ │ ├── UrgentInfoActivity.java │ │ │ │ └── TelphoneActivity.java │ │ │ │ ├── health │ │ │ │ ├── MemoInfoActivity.java │ │ │ │ └── SleepCountActivity.java │ │ │ │ ├── fragment │ │ │ │ ├── ToolFragment.java │ │ │ │ ├── HelpFragment.java │ │ │ │ ├── HealthFragment.java │ │ │ │ └── LocationFragment.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── view │ │ │ │ └── SelectRemindWayPopup.java │ │ │ │ ├── calendar │ │ │ │ ├── BeforeOrAfterCalendarView.java │ │ │ │ └── RecordsCalenderItemView.java │ │ │ │ └── service │ │ │ │ └── AutoUpdateService.java │ │ └── assets │ │ │ └── litepal.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── liu │ │ │ └── oldsystem │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── liu │ │ └── oldsystem │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── alarmmanagerclock ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── raw │ │ │ │ ├── beep.ogg │ │ │ │ └── in_call_alarm.ogg │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── color.xml │ │ │ │ └── styles.xml │ │ │ ├── drawable │ │ │ │ └── dialog_bg.xml │ │ │ └── layout │ │ │ │ ├── activity_clock_alarm.xml │ │ │ │ └── dialog_simple.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── loonggg │ │ │ └── lib │ │ │ └── alarmmanager │ │ │ └── clock │ │ │ ├── LoongggAlarmReceiver.java │ │ │ ├── ClockAlarmActivity.java │ │ │ └── SimpleDialog.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── loonggg │ │ │ └── lib │ │ │ └── alarmmanager │ │ │ └── clock │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── loonggg │ │ └── lib │ │ └── alarmmanager │ │ └── clock │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── project_picture ├── 01.gif ├── 02.gif ├── 03.gif ├── 04.gif ├── 05.gif ├── 06.gif ├── 07.gif ├── 08.gif ├── 09.gif ├── 10.gif ├── 11.gif ├── 12.gif ├── 13.gif ├── 14_首页.jpg ├── 15_一键求救.jpg ├── 16_位置服务.jpg ├── 17_健康监测.jpg └── 18_智能工具.jpg ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── copyright │ └── profiles_settings.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── .gitignore ├── gradle.properties ├── gradlew.bat └── README.md /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /alarmmanagerclock/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':alarmmanagerclock' 2 | -------------------------------------------------------------------------------- /project_picture/01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/01.gif -------------------------------------------------------------------------------- /project_picture/02.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/02.gif -------------------------------------------------------------------------------- /project_picture/03.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/03.gif -------------------------------------------------------------------------------- /project_picture/04.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/04.gif -------------------------------------------------------------------------------- /project_picture/05.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/05.gif -------------------------------------------------------------------------------- /project_picture/06.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/06.gif -------------------------------------------------------------------------------- /project_picture/07.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/07.gif -------------------------------------------------------------------------------- /project_picture/08.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/08.gif -------------------------------------------------------------------------------- /project_picture/09.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/09.gif -------------------------------------------------------------------------------- /project_picture/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/10.gif -------------------------------------------------------------------------------- /project_picture/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/11.gif -------------------------------------------------------------------------------- /project_picture/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/12.gif -------------------------------------------------------------------------------- /project_picture/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/13.gif -------------------------------------------------------------------------------- /project_picture/14_首页.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/14_首页.jpg -------------------------------------------------------------------------------- /app/libs/httpmime-4.1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/libs/httpmime-4.1.2.jar -------------------------------------------------------------------------------- /project_picture/15_一键求救.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/15_一键求救.jpg -------------------------------------------------------------------------------- /project_picture/16_位置服务.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/16_位置服务.jpg -------------------------------------------------------------------------------- /project_picture/17_健康监测.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/17_健康监测.jpg -------------------------------------------------------------------------------- /project_picture/18_智能工具.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/project_picture/18_智能工具.jpg -------------------------------------------------------------------------------- /app/libs/BaiduLBS_Android.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/libs/BaiduLBS_Android.jar -------------------------------------------------------------------------------- /app/libs/achartengine-1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/libs/achartengine-1.0.0.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/libs/IndoorscapeAlbumPlugin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/libs/IndoorscapeAlbumPlugin.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/fangda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/fangda.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/hl_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/hl_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sc_low.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/sc_low.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/send.png -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libbds.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libbds.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libssl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libssl.so -------------------------------------------------------------------------------- /app/src/main/res/drawable/hl_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/hl_down.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/ic_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/ic_home.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/icon_en.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_st.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/icon_st.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sc_high.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/sc_high.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/suoxiao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/suoxiao.png -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libbdtts.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libbdtts.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libcrypto.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libcrypto.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libcurl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libcurl.so -------------------------------------------------------------------------------- /app/src/main/res/drawable/cycle_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/cycle_check.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/timg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xhdpi/timg1.jpg -------------------------------------------------------------------------------- /alarmmanagerclock/src/main/res/raw/beep.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/alarmmanagerclock/src/main/res/raw/beep.ogg -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libbd_etts.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libbd_etts.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/liblocSDK7a.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/liblocSDK7a.so -------------------------------------------------------------------------------- /app/src/main/res/drawable/old_homepage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/old_homepage.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/old_icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xhdpi/old_icon.jpg -------------------------------------------------------------------------------- /alarmmanagerclock/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | AlarmManagerClock 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/liblocnaviSDK.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/liblocnaviSDK.so -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libgnustl_shared.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libgnustl_shared.so -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libapp_BaiduVIlib.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libapp_BaiduVIlib.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libaudiomessage-jni.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libaudiomessage-jni.so -------------------------------------------------------------------------------- /app/src/main/res/drawable/personal_item_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/drawable/personal_item_arrow.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_blue_round_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xhdpi/ic_blue_round_bg.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /alarmmanagerclock/src/main/res/raw/in_call_alarm.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/alarmmanagerclock/src/main/res/raw/in_call_alarm.ogg -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libBDSpeechDecoder_V1.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libBDSpeechDecoder_V1.so -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libapp_BaiduNaviApplib.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libapp_BaiduNaviApplib.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libBaiduMapSDK_base_v4_5_0.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libBaiduMapSDK_base_v4_5_0.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libapp_BaiduPanoramaAppLib.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libapp_BaiduPanoramaAppLib.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libetts_domain_data_builder.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libetts_domain_data_builder.so -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_small_blue_rectangular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/res/mipmap-xhdpi/ic_small_blue_rectangular.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libBaiduMapSDK_bikenavi_v4_5_0.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libBaiduMapSDK_bikenavi_v4_5_0.so -------------------------------------------------------------------------------- /app/src/main/jniLibs/armeabi/libBaiduMapSDK_map_for_bikenavi_v4_5_0.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycads/OldSystem/HEAD/app/src/main/jniLibs/armeabi/libBaiduMapSDK_map_for_bikenavi_v4_5_0.so -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/anim/popup_alpha_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/popup_alpha_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Oct 07 15:43:07 CST 2017 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-3.3-all.zip 7 | -------------------------------------------------------------------------------- /alarmmanagerclock/src/main/res/drawable/dialog_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_open.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /alarmmanagerclock/src/main/res/values/color.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #22000000 4 | #141414 5 | #d9d9d9 6 | #ffffff 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/constant/Constant.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.constant; 2 | 3 | /** 4 | * Created by fySpring 5 | * Date : 2017/3/24 6 | * To do : 7 | */ 8 | 9 | public class Constant { 10 | public static final int MSG_FROM_CLIENT = 0; 11 | public static final int MSG_FROM_SERVER = 1; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/gson/AQI.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.gson; 2 | 3 | /** 4 | * Created by 舞动的心 on 2017/10/12. 5 | */ 6 | 7 | public class AQI { 8 | 9 | public AQICity city; 10 | 11 | public class AQICity { 12 | 13 | public String aqi; 14 | 15 | public String pm25; 16 | 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/gson/Now.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.gson; 2 | 3 | import com.google.gson.annotations.SerializedName; 4 | 5 | public class Now { 6 | 7 | @SerializedName("tmp") 8 | public String temperature; 9 | 10 | @SerializedName("cond") 11 | public More more; 12 | 13 | public class More { 14 | 15 | @SerializedName("txt") 16 | public String info; 17 | 18 | } 19 | 20 | } -------------------------------------------------------------------------------- /alarmmanagerclock/src/test/java/com/loonggg/lib/alarmmanager/clock/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.loonggg.lib.alarmmanager.clock; 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/liu/oldsystem/util/HttpUtil.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.util; 2 | 3 | import okhttp3.OkHttpClient; 4 | import okhttp3.Request; 5 | 6 | public class HttpUtil { 7 | 8 | public static void sendOkHttpRequest(String address, okhttp3.Callback callback) { 9 | OkHttpClient client = new OkHttpClient(); 10 | Request request = new Request.Builder().url(address).build(); 11 | client.newCall(request).enqueue(callback); 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/gson/Weather.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.gson; 2 | 3 | import com.google.gson.annotations.SerializedName; 4 | 5 | import java.util.List; 6 | 7 | public class Weather { 8 | 9 | public String status; 10 | 11 | public Basic basic; 12 | 13 | public AQI aqi; 14 | 15 | public Now now; 16 | 17 | public Suggestion suggestion; 18 | 19 | @SerializedName("daily_forecast") 20 | public List forecastList; 21 | 22 | } -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/gson/Basic.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.gson; 2 | 3 | import com.google.gson.annotations.SerializedName; 4 | 5 | public class Basic { 6 | 7 | @SerializedName("city") 8 | public String cityName; 9 | 10 | @SerializedName("id") 11 | public String weatherId; 12 | 13 | public Update update; 14 | 15 | public class Update { 16 | 17 | @SerializedName("loc") 18 | public String updateTime; 19 | 20 | } 21 | 22 | } -------------------------------------------------------------------------------- /alarmmanagerclock/src/androidTest/java/com/loonggg/lib/alarmmanager/clock/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.loonggg.lib.alarmmanager.clock; 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 | } -------------------------------------------------------------------------------- /alarmmanagerclock/src/main/res/layout/activity_clock_alarm.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/location/WeatherMainActivity.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.location; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | 6 | import com.liu.oldsystem.R; 7 | 8 | public class WeatherMainActivity extends AppCompatActivity { 9 | 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | setContentView(R.layout.activity_weather_main); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/test/java/com/liu/oldsystem/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_path_guide.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_weather_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/before_or_after_calendar_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_shake.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/gson/Forecast.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.gson; 2 | 3 | import com.google.gson.annotations.SerializedName; 4 | 5 | public class Forecast { 6 | 7 | public String date; 8 | 9 | @SerializedName("tmp") 10 | public Temperature temperature; 11 | 12 | @SerializedName("cond") 13 | public More more; 14 | 15 | public class Temperature { 16 | 17 | public String max; 18 | 19 | public String min; 20 | 21 | } 22 | 23 | public class More { 24 | 25 | @SerializedName("txt_d") 26 | public String info; 27 | 28 | } 29 | 30 | } -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /alarmmanagerclock/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 C:\as/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 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/gson/Suggestion.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.gson; 2 | 3 | import com.google.gson.annotations.SerializedName; 4 | 5 | public class Suggestion { 6 | 7 | @SerializedName("comf") 8 | public Comfort comfort; 9 | 10 | @SerializedName("cw") 11 | public CarWash carWash; 12 | 13 | public Sport sport; 14 | 15 | public class Comfort { 16 | 17 | @SerializedName("txt") 18 | public String info; 19 | 20 | } 21 | 22 | public class CarWash { 23 | 24 | @SerializedName("txt") 25 | public String info; 26 | 27 | } 28 | 29 | public class Sport { 30 | 31 | @SerializedName("txt") 32 | public String info; 33 | 34 | } 35 | 36 | } -------------------------------------------------------------------------------- /alarmmanagerclock/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion '25.0.0' 6 | 7 | defaultConfig { 8 | minSdkVersion 15 9 | targetSdkVersion 23 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | compile fileTree(dir: 'libs', include: ['*.jar']) 23 | testCompile 'junit:junit:4.12' 24 | compile 'com.android.support:appcompat-v7:23.4.0' 25 | compile 'com.bigkoo:pickerview:2.0.8' 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_fix_position.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | 11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_memo_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 12 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_people_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 12 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/db/Word.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.db; 2 | 3 | import org.litepal.crud.DataSupport; 4 | 5 | /** 6 | * Created by 舞动的心 on 2017/10/17. 7 | */ 8 | 9 | public class Word extends DataSupport { 10 | private int id; 11 | private String wordSize; 12 | private String remark; 13 | 14 | public int getId() { 15 | return id; 16 | } 17 | 18 | public void setId(int id) { 19 | this.id = id; 20 | } 21 | 22 | public String getWordSize() { 23 | return wordSize; 24 | } 25 | 26 | public void setWordSize(String wordSize) { 27 | this.wordSize = wordSize; 28 | } 29 | 30 | public String getRemark() { 31 | return remark; 32 | } 33 | 34 | public void setRemark(String remark) { 35 | this.remark = remark; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/db/Province.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.db; 2 | 3 | import org.litepal.crud.DataSupport; 4 | 5 | public class Province extends DataSupport { 6 | 7 | private int id; 8 | 9 | private String provinceName; 10 | 11 | private int provinceCode; 12 | 13 | public int getId() { 14 | return id; 15 | } 16 | 17 | public void setId(int id) { 18 | this.id = id; 19 | } 20 | 21 | public String getProvinceName() { 22 | return provinceName; 23 | } 24 | 25 | public void setProvinceName(String provinceName) { 26 | this.provinceName = provinceName; 27 | } 28 | 29 | public int getProvinceCode() { 30 | return provinceCode; 31 | } 32 | 33 | public void setProvinceCode(int provinceCode) { 34 | this.provinceCode = provinceCode; 35 | } 36 | } -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 老年人便捷服务系统 3 | 4 | 5 | Hello blank fragment 6 | 识别加速度值: 7 | 摔倒识别说明: 8 | ------当沿屏幕向上方向上的加速度值大于10,且沿屏幕向外方向的加速度值大于6时,此时识别为人体摔倒。此时系统会自动跳转到选择求救页面。 9 | 10 | 周一 11 | 周二 12 | 周三 13 | 周四 14 | 周五 15 | 周六 16 | 周日 17 | 确定 18 | 震动 19 | 铃声 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/db/Memo.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.db; 2 | 3 | import org.litepal.crud.DataSupport; 4 | 5 | /** 6 | * Created by 舞动的心 on 2017/10/17. 7 | */ 8 | 9 | public class Memo extends DataSupport { 10 | private int id; 11 | 12 | private String contant; 13 | 14 | private String storeTime; 15 | 16 | public int getId() { 17 | return id; 18 | } 19 | 20 | public void setId(int id) { 21 | this.id = id; 22 | } 23 | 24 | public String getContant() { 25 | return contant; 26 | } 27 | 28 | public void setContant(String contant) { 29 | this.contant = contant; 30 | } 31 | 32 | public String getStoreTime() { 33 | return storeTime; 34 | } 35 | 36 | public void setStoreTime(String storeTime) { 37 | this.storeTime = storeTime; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /alarmmanagerclock/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 10 | 11 | 12 | 13 | 14 | 15 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/now.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/liu/oldsystem/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.liu.oldsystem", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/forecast.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 18 | 19 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/OpenActivity.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem; 2 | 3 | import android.content.Intent; 4 | import android.os.Handler; 5 | import android.support.v7.app.AppCompatActivity; 6 | import android.os.Bundle; 7 | import android.view.Window; 8 | 9 | public class OpenActivity extends AppCompatActivity { 10 | 11 | @Override 12 | public void onCreate(Bundle savedInstanceState) { 13 | // TODO Auto-generated method stub 14 | super.onCreate(savedInstanceState); 15 | supportRequestWindowFeature(Window.FEATURE_NO_TITLE); 16 | setContentView(R.layout.activity_open); 17 | 18 | new Handler().postDelayed(new Runnable(){ 19 | @Override 20 | public void run(){ 21 | Intent intent = new Intent (OpenActivity.this,MainActivity.class); 22 | startActivity(intent); 23 | OpenActivity.this.finish(); 24 | } 25 | }, 2000); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #ff4081 6 | #484848 7 | #078cdf 8 | #666666 9 | #FFFFFF 10 | #000000 11 | #078cdf 12 | #333333 13 | #333333 14 | #BB000000 15 | #141414 16 | #d9d9d9 17 | #EE0000 18 | #00CD00 19 | #E066FF 20 | #ffb847 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/db/City.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.db; 2 | 3 | import org.litepal.crud.DataSupport; 4 | 5 | public class City extends DataSupport { 6 | 7 | private int id; 8 | 9 | private String cityName; 10 | 11 | private int cityCode; 12 | 13 | private int provinceId; 14 | 15 | public int getId() { 16 | return id; 17 | } 18 | 19 | public void setId(int id) { 20 | this.id = id; 21 | } 22 | 23 | public String getCityName() { 24 | return cityName; 25 | } 26 | 27 | public void setCityName(String cityName) { 28 | this.cityName = cityName; 29 | } 30 | 31 | public int getCityCode() { 32 | return cityCode; 33 | } 34 | 35 | public void setCityCode(int cityCode) { 36 | this.cityCode = cityCode; 37 | } 38 | 39 | public int getProvinceId() { 40 | return provinceId; 41 | } 42 | 43 | public void setProvinceId(int provinceId) { 44 | this.provinceId = provinceId; 45 | } 46 | 47 | } -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/db/County.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.db; 2 | 3 | import org.litepal.crud.DataSupport; 4 | 5 | public class County extends DataSupport { 6 | 7 | private int id; 8 | 9 | private String countyName; 10 | 11 | private String weatherId; 12 | 13 | private int cityId; 14 | 15 | public int getId() { 16 | return id; 17 | } 18 | 19 | public void setId(int id) { 20 | this.id = id; 21 | } 22 | 23 | public String getCountyName() { 24 | return countyName; 25 | } 26 | 27 | public void setCountyName(String countyName) { 28 | this.countyName = countyName; 29 | } 30 | 31 | public String getWeatherId() { 32 | return weatherId; 33 | } 34 | 35 | public void setWeatherId(String weatherId) { 36 | this.weatherId = weatherId; 37 | } 38 | 39 | public int getCityId() { 40 | return cityId; 41 | } 42 | 43 | public void setCityId(int cityId) { 44 | this.cityId = cityId; 45 | } 46 | 47 | } -------------------------------------------------------------------------------- /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 C:\Program Files (x86)\android-sdk-windows/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 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/db/ContactPerson.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.db; 2 | 3 | import org.litepal.crud.DataSupport; 4 | 5 | /** 6 | * Created by 舞动的心 on 2017/10/8. 7 | */ 8 | 9 | public class ContactPerson extends DataSupport{ 10 | private int id; 11 | 12 | private String name; 13 | 14 | private String tel; 15 | 16 | private String isContact; 17 | 18 | public int getId() { 19 | return id; 20 | } 21 | 22 | public void setId(int id) { 23 | this.id = id; 24 | } 25 | 26 | public String getTel() { 27 | return tel; 28 | } 29 | 30 | public void setTel(String tel) { 31 | this.tel = tel; 32 | } 33 | 34 | public String getName() { 35 | return name; 36 | } 37 | 38 | public void setName(String name) { 39 | this.name = name; 40 | } 41 | 42 | public String getIsContact() { 43 | return isContact; 44 | } 45 | 46 | public void setIsContact(String isContact) { 47 | this.isContact = isContact; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/bean/StepEntity.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.bean; 2 | 3 | /** 4 | * Created by fySpring 5 | * Date : 2017/3/24 6 | * To do : 7 | */ 8 | 9 | public class StepEntity { 10 | 11 | private String curDate; //当天的日期 12 | private String steps; //当天的步数 13 | 14 | public StepEntity() { 15 | } 16 | 17 | public StepEntity(String curDate, String steps) { 18 | this.curDate = curDate; 19 | this.steps = steps; 20 | } 21 | 22 | public String getCurDate() { 23 | return curDate; 24 | } 25 | 26 | public void setCurDate(String curDate) { 27 | this.curDate = curDate; 28 | } 29 | 30 | public String getSteps() { 31 | return steps; 32 | } 33 | 34 | public void setSteps(String steps) { 35 | this.steps = steps; 36 | } 37 | 38 | 39 | @Override 40 | public String toString() { 41 | return "StepEntity{" + 42 | "curDate='" + curDate + '\'' + 43 | ", steps=" + steps + 44 | '}'; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/db/Sleep.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.db; 2 | 3 | import org.litepal.crud.DataSupport; 4 | 5 | /** 6 | * Created by 舞动的心 on 2017/10/17. 7 | */ 8 | 9 | public class Sleep extends DataSupport { 10 | private int id; 11 | private String morningTime; 12 | private String nightTime; 13 | private String storeTime; 14 | 15 | public int getId() { 16 | return id; 17 | } 18 | 19 | public void setId(int id) { 20 | this.id = id; 21 | } 22 | 23 | public String getMorningTime() { 24 | return morningTime; 25 | } 26 | 27 | public void setMorningTime(String morningTime) { 28 | this.morningTime = morningTime; 29 | } 30 | 31 | public String getNightTime() { 32 | return nightTime; 33 | } 34 | 35 | public void setNightTime(String nightTime) { 36 | this.nightTime = nightTime; 37 | } 38 | 39 | public String getStoreTime() { 40 | return storeTime; 41 | } 42 | 43 | public void setStoreTime(String storeTime) { 44 | this.storeTime = storeTime; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /app/src/main/java/com/liu/oldsystem/db/DBOpenHelper.java: -------------------------------------------------------------------------------- 1 | package com.liu.oldsystem.db; 2 | 3 | import android.content.Context; 4 | import android.database.sqlite.SQLiteDatabase; 5 | import android.database.sqlite.SQLiteOpenHelper; 6 | 7 | /** 8 | * Created by fySpring 9 | * Date : 2017/1/16 10 | * To do : 11 | */ 12 | 13 | public class DBOpenHelper extends SQLiteOpenHelper { 14 | private static final String DB_NAME = "StepCounter.db"; //数据库名称 15 | private static final int DB_VERSION = 1;//数据库版本,大于0 16 | 17 | //用于创建Banner表 18 | private static final String CREATE_BANNER = "create table step (" 19 | + "_id INTEGER PRIMARY KEY AUTOINCREMENT, " 20 | + "curDate TEXT, " 21 | + "totalSteps TEXT)"; 22 | 23 | 24 | public DBOpenHelper(Context context) { 25 | super(context, DB_NAME, null,DB_VERSION); 26 | } 27 | 28 | @Override 29 | public void onCreate(SQLiteDatabase db) { 30 | db.execSQL(CREATE_BANNER);//执行有更改的sql语句 31 | } 32 | 33 | @Override 34 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_flash_light.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 13 | 14 | 23 | 24 | " 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/layout/title.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 |