Giter Site home page Giter Site logo

mrksbrg / racketghost Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 1.0 45.96 MB

Android Open Source Ghosting Coach for Squash, Badminton and Racketlon

License: MIT License

Java 100.00%
fitness-app squash badminton fitness app android sports workout ghosting racketlon

racketghost's Issues

Need more time before first set starts

It takes a while to put the device in a good position on the court and return to the starting position. Add a longer count down before the first set, maybe 10 s?

Very low sound on Sony device

Very low sound (but sound at least!) on a Sony Xperia M device. Could the default volume be increased in the app?

Crash when session completed

On Samsung Galaxy Express 2, crash when opening new listview on v. 1.5.1. Linking appears wrong, getBallIcon is not found.

Do clean and rebuild?

Ghosting AsyncTask continues after pressing 'back'

The AsyncTask does not stop, but continues in the background. The same happens when switching to another app or pressing 'home'; The activity continues in the background and keeps playing sounds, but it cannot become active again.

Such operations should stop the ghosting session.

Frash start

Replace everything by a new Android Studio project.

Add autotests

The project should have a regression suite of autotests to catch defects before new code is introduced.

The volley corners should be faster

Running to the four real corners takes some time; Doing the volleys is significantly faster. The interval time should reflect this. Possibly 2/3 of the time?

Immediate on screen timer

User request:

Start the on-screen timer between reps immediately, rather than giving a 5 second countdown.

RacketGhost crashes at startup

After patching to 1.5.0 a crash has been reported on Samsung Galaxy Express 2:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.markusborg.test/com.markusborg.ui.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=2; index=2
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2447)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2507)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5692)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=2; index=2
at com.markusborg.logic.Setting.(Setting.java:53)
at com.markusborg.logic.LogHandler.(LogHandler.java:44)
at com.markusborg.ui.MainActivity.onCreate(MainActivity.java:66)
at android.app.Activity.performCreate(Activity.java:5541)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2411)
... 11 more

Add a splash screen

The special edition for Swedish Open has a splash screen. Add one also for the standard version of RacketGhost.

Replace settings menu by about

The setting menu doesn't make sense. Instead, it could be replaced by a simple about option. Popup with link to Github repo?

Add audio

Implement the audio announcements.

Add optional "push" sound

Add optional "push" sound when there is only a few more reps to go. Make it an option in the settings.

Store last setting

The app should store the setting using SharedPreferences, and load it in OnCreate. There should also be a Reset button to get the default (recommended) setting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.