Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
v7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
micrusa committed Jul 14, 2020
1 parent 9bac974 commit 2fa9380
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 14 deletions.
21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@
This app is an interval/reps/workout timer for amazfit devices to do trainings with HR monitoring and TCX exports, default values are tabata training's but you can use any times and sets you want

## Bugs and suggestions
This app is in development so you may find bugs, if you have any please create an issue with logcat and I'll try to fix it as fast as I can. Don't report bugs that are already reported or listed in release's description
If you have any suggestions open an issue and explain it
This app is in continuous development and I don't have every device to test, so you may find bugs, if you find any please create an issue with logcat and I'll try to fix it as fast as I can. Don't report bugs that are already reported or listed in release's description
If you have any suggestions open an issue or answer the XDA thread

## Compatible devices
Any amazfit device running android (Pace, stratos 1/2/3, verge)
Any amazfit device running android 5.1 MIPS (Pace, stratos 1/2/3, verge)

## Notes
- Stratos 3 changed a lot of things so there might be lags which I can't fix, blame huami
- Everything that needs more CPU time doesn't run in UI Thread, so if there are lags I can't fix them. This lags are more common on S3.
- TCX files are saved in "Internal Storage/AmazTimer", for some reason windows sometimes can't read it, so you can get them using `adb pull /sdcard/AmazTimer` or through AmazMod
- If you liked my work, consider buying me a coffee [here](https://www.paypal.me/migueelcs)
- If you liked my work, you can help me keeping the project up by buying me a coffee [here](https://www.paypal.me/migueelcs)

##HW Buttons
## HW Buttons
- Pace/Verge/S2 with new layout: Single click to end set, long click to start/stop timer. Center button on S2
- Stratos with old key layout: lower button to start, center button for settings and upper button to end sets
- Stratos 3: Not supported
- Stratos 3: Upper button to start activity, middle upper button to end sets and middle lower button to open settings
- You can invert start/finish set keys by enabling invert keys preference

## Installation
Install using `adb install AmazTimer-X.X.apk` and update using `adb install -r AmazTimer-X.X.apk`
Expand All @@ -36,8 +37,4 @@ You can also use installer or uninstall it through AmazMod
- [@GreatApo](https://github.com/GreatApo) for [Amazfit Calendar Widget](https://github.com/GreatApo/AmazfitPaceCalendarWidget)
- [AmazMod](https://github.com/AmazMod/AmazMod) team
- [@1immortal](https://github.com/1immortal) for creating app installer
- All contributors

## How to move or disable widget
- If you have AmazMod, you can do it through mobile app or watch app
- If you don't have AmazMod, you can use [@KieronQuinn](https://github.com/KieronQuinn)'s [springboard settings app](https://github.com/KieronQuinn/AmazfitSpringboardSettings)
- All contributors
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
minSdkVersion 21
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 22
versionCode 62
versionName "6.2"
versionCode 70
versionName "7.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_timer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
android:textAlignment="center"
android:textColor="@android:color/white"
android:textSize="24sp"
android:fontFamily="@font/applemint"
app:layout_constraintEnd_toEndOf="@+id/totaltime"
app:layout_constraintTop_toTopOf="@+id/status"
tools:text="@string/nullinfo" />
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/layout/amaztimer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
android:textAlignment="center"
android:textSize="18sp"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/textView5"
app:layout_constraintEnd_toStartOf="@+id/plus"
app:layout_constraintStart_toEndOf="@+id/minus2" />
Expand All @@ -45,6 +46,7 @@
android:layout_height="wrap_content"
android:text="@string/sets"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/sets"
app:layout_constraintEnd_toStartOf="@+id/plus"
app:layout_constraintStart_toEndOf="@+id/minus2" />
Expand All @@ -67,6 +69,7 @@
android:background="@drawable/circle_button"
android:text="@string/start"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.496"
Expand Down Expand Up @@ -96,6 +99,7 @@
android:layout_height="wrap_content"
android:text="@string/work"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/work"
app:layout_constraintEnd_toStartOf="@+id/plus2"
app:layout_constraintStart_toEndOf="@+id/minus" />
Expand All @@ -114,6 +118,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rest"
android:fontFamily="@font/applemint"
android:visibility="visible"
app:layout_constraintBottom_toTopOf="@+id/rest"
app:layout_constraintEnd_toStartOf="@+id/plus3"
Expand All @@ -126,6 +131,7 @@
android:textAlignment="center"
android:textSize="18sp"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/textView"
app:layout_constraintEnd_toStartOf="@+id/plus3"
app:layout_constraintStart_toEndOf="@+id/minus3" />
Expand All @@ -147,6 +153,7 @@
android:textAlignment="center"
android:textSize="18sp"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/textView6"
app:layout_constraintEnd_toStartOf="@+id/plus2"
app:layout_constraintStart_toEndOf="@+id/minus" />
Expand All @@ -157,6 +164,7 @@
android:layout_height="wrap_content"
android:text="@string/startsettings"
android:textSize="12sp"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/start"
app:layout_constraintEnd_toEndOf="@+id/start"
app:layout_constraintStart_toStartOf="@+id/start" />
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/layout/round_amaztimer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
android:textAlignment="center"
android:textSize="18sp"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/textView5"
app:layout_constraintEnd_toStartOf="@+id/plus"
app:layout_constraintStart_toEndOf="@+id/minus2" />
Expand All @@ -45,6 +46,7 @@
android:layout_height="wrap_content"
android:text="@string/sets"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/sets"
app:layout_constraintEnd_toStartOf="@+id/plus"
app:layout_constraintStart_toEndOf="@+id/minus2" />
Expand All @@ -67,6 +69,7 @@
android:background="@drawable/circle_button"
android:text="@string/start"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.496"
Expand Down Expand Up @@ -96,6 +99,7 @@
android:layout_height="wrap_content"
android:text="@string/work"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/work"
app:layout_constraintEnd_toStartOf="@+id/plus2"
app:layout_constraintStart_toEndOf="@+id/minus" />
Expand All @@ -115,6 +119,7 @@
android:layout_height="wrap_content"
android:text="@string/rest"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/rest"
app:layout_constraintEnd_toStartOf="@+id/plus3"
app:layout_constraintStart_toEndOf="@+id/minus3" />
Expand All @@ -126,6 +131,7 @@
android:textAlignment="center"
android:textSize="18sp"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/textView"
app:layout_constraintEnd_toStartOf="@+id/plus3"
app:layout_constraintStart_toEndOf="@+id/minus3" />
Expand All @@ -147,6 +153,7 @@
android:textAlignment="center"
android:textSize="18sp"
android:visibility="visible"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/textView6"
app:layout_constraintEnd_toStartOf="@+id/plus2"
app:layout_constraintStart_toEndOf="@+id/minus" />
Expand All @@ -157,6 +164,7 @@
android:layout_height="wrap_content"
android:text="@string/startsettings"
android:textSize="12sp"
android:fontFamily="@font/applemint"
app:layout_constraintBottom_toTopOf="@+id/start"
app:layout_constraintEnd_toEndOf="@+id/start"
app:layout_constraintStart_toStartOf="@+id/start" />
Expand Down
Binary file modified screen1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screen2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screen3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screen4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2fa9380

Please sign in to comment.