This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to AndroidX & Kotlin 1.3 & New Coroutines & Update dependenci…
…es in project Signed-off-by: Fung Gwo <[email protected]>
- Loading branch information
Showing
80 changed files
with
400 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,46 @@ | ||
# PackageTracker | ||
A Material Design Shipment Tracker Android App. | ||
一款 Material Design 风格的快递跟踪查询应用 | ||
|
||
<img src="./art/web_hi_res_512.png" width="30%"/> | ||
A Material-Design-like Shipment Tracker Android App. | ||
|
||
### 背景 | ||
最初项目名称叫 HoloExpress,即为 4.x 时代的 Android Design 快递应用,但当时只是个人做来玩玩并不是一个完整的应用,后来 Material Design 放出后有人建议我去做 MD 风格的快递查询应用,就拿最初 HoloExpress 做好的 API 再写个界面做了个 ExpressHelper 出来。当时还是读高二因为人比较贪玩,学习开发的进度很慢写出来的质量也很差,所以出来的时候只是凭界面吸引到了一部分用户,稳定性差加上 API 有次数限制,过了一段时间后就没有动力去更新了(代码里面越来越多坑,最后坑死自己)。 | ||
一款类 Material Design 的快递跟踪查询 Android 应用 | ||
|
||
终究还是决定把项目重构,把之前的代码全部推掉(也不打算兼容旧数据了,但或许会做一个迁移功能),重头开始尽自己最大的能力去做一个更好的版本,所以英文名字根据 @zacyu 提交的 PR (https://github.com/PaperAirplane-Dev-Team/ExpressHelper/pull/1) 里面的指导更换表示这是个全新的“水表助手”应用。 | ||
<img src="./art/web_hi_res_512.png" width="20%"/> | ||
|
||
### 开发环境需求 | ||
## 安装 | ||
|
||
- Android SDK Platform 26 | ||
- Android Support Library 26.0.0 | ||
- Gradle + Android Studio 2.3 / IntelliJ IDEA 2017.1 | ||
直接下载 APK: | ||
|
||
[GitHub Releases](https://github.com/fython/PackageTracker/releases) | ||
|
||
从应用商店安装: | ||
|
||
[Google Play](https://play.google.com/store/apps/details?id=info.papdt.express.helper) 或在 “酷安” 中搜寻 “水表助手” 进行安装 | ||
|
||
## 开发环境需求 | ||
|
||
- Android SDK Platform 28 | ||
- Gradle + Android Studio 3.3+ / IntelliJ IDEA 2018+ | ||
- Windows / Linux / Mac | ||
|
||
### 应用安装需求 | ||
## 应用安装需求 | ||
|
||
- 一台 Android 智能手机 | ||
- 最低系统版本 Android 5.0 | ||
- Wi-Fi 或移动网络数据等联网方式 | ||
- 最低 Android 6.0 | ||
|
||
### 作者 | ||
## 作者 | ||
|
||
Fung Go (fython) Email: fython@163.com | ||
Email: fythonx@gmail.com | ||
|
||
联系 QQ: 2850029060 | ||
Telegram: [@fython](https://t.me/fython) | ||
|
||
捐赠支持(支付宝): [email protected] | ||
|
||
博客地址: https://feng.moe | ||
|
||
### License | ||
## License | ||
|
||
``` | ||
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
Copyright (C) 2016-2017 Fung Go | ||
Copyright (C) 2016-2019 Fung Gwo | ||
This program comes with ABSOLUTELY NO WARRANTY. | ||
This is free software, and you are welcome to redistribute it under certain conditions. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
org.gradle.jvmargs=-Xmx1536m | ||
android.injected.build.model.only.versioned=3 | ||
android.injected.build.model.only.versioned=3 | ||
android.useAndroidX=true | ||
android.enableJetifier=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mobile/src/main/kotlin/info/papdt/express/helper/support/ContextExtensions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package info.papdt.express.helper.support | ||
|
||
import android.content.Context | ||
import android.support.v4.content.LocalBroadcastManager | ||
import androidx.localbroadcastmanager.content.LocalBroadcastManager | ||
|
||
inline val Context.localBroadcastManager get() = LocalBroadcastManager.getInstance(this) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
mobile/src/main/kotlin/info/papdt/express/helper/support/ResourcesUtils.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.