artnc / chronofile Goto Github PK
View Code? Open in Web Editor NEWPersonal time tracking app
License: MIT License
Personal time tracking app
License: MIT License
Hi, it would be nice to have a way to have nesting in the config file, e.g.
{"activityGroups":{
"Exercise":{
"Outdoor":[
"Hiking",
"Jogging"
],
"Indoor":[
"Yoga",
"Workout"
]
}
}}
Would it be possible to add something like this or is it already implemented in another way?
I know this app is just an experiment, but I'll track this anyway with an issue :-)
I know it's hard to do math on seconds with daylight saving... I'm trying some workarounds to fix some buggy cases but for example last night the app counted an hour more than I actually slept (last night it was daylight saving change night).
As the title says. If I denied the app access to my location, the app will either crash or not allow me to save an entry.
Error log:
[Device Model]: Pixel 7
[Display]: TQ3A.230901.001
[Android Version]: 13
[Android API Level]: 33
[Process ID]: 21876
[CPU ABI]: none
[Package Name]: com.chaidarun.chronofile
[Version Name]: 1.0.3
[Version Code]: 4
[Error Type]: JVM
[Crash Time]: 2023-10-02T09:12:17.089
[Stack Trace]:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.chaidarun.chronofile/com.chaidarun.chronofile.GraphActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3644)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3781)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2306)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7918)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.NullPointerException
at com.chaidarun.chronofile.GraphActivity.onCreate(:8)
at android.app.Activity.performCreate(Activity.java:8342)
at android.app.Activity.performCreate(Activity.java:8321)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1417)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3625)
... 12 more
Hey! I am currently not at the notebook, therefore no logcat debug output, but when clicking the eye symbol without having tracked anything, the app crashed.
I'm on Android 10
Android version 13,
I have been having using the app for over 2 years now, it works great. Today, it started not opening, or closing when it opens, I tried reinstalling, rebooting my phone, etc
No luck
I'm assuming it happens because the activity is destroyed by the system due to memory pressure. Anyway here is the log:
01-15 09:43:44.134 E/arun.chronofil(3242): Not starting debugger since process cannot load the jdwp agent.
01-15 09:43:44.302 W/arun.chronofil(3242): Accessing hidden method Landroid/content/res/Resources$Theme;->rebase()V (dark greylist, linking)
01-15 09:43:44.327 I/Chronofile(3242): GraphActivity onCreate
01-15 09:43:44.338 E/MPChartLib-Utils(3242): Utils NOT INITIALIZED. You need to call Utils.init(...) at least once before calling Utils.convertDpToPixel(...). Otherwise conversion does not take place.
01-15 09:43:44.338 E/MPChartLib-Utils(3242): Utils NOT INITIALIZED. You need to call Utils.init(...) at least once before calling Utils.convertDpToPixel(...). Otherwise conversion does not take place.
01-15 09:43:44.344 I/Chronofile(3242): h0 onAttach
01-15 09:43:44.344 I/Chronofile(3242): h0 onCreate
01-15 09:43:44.344 I/Chronofile(3242): j0 onAttach
01-15 09:43:44.344 I/Chronofile(3242): j0 onCreate
01-15 09:43:44.345 I/Chronofile(3242): f onAttach
01-15 09:43:44.345 I/Chronofile(3242): f onCreate
01-15 09:43:44.441 D/AndroidRuntime(3242): Shutting down VM
01-15 09:43:44.444 E/AndroidRuntime(3242): FATAL EXCEPTION: main
01-15 09:43:44.444 E/AndroidRuntime(3242): Process: com.chaidarun.chronofile, PID: 3242
01-15 09:43:44.444 E/AndroidRuntime(3242): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.chaidarun.chronofile/com.chaidarun.chronofile.GraphActivity}: java.lang.NullPointerException
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3121)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3260)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1976)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.os.Handler.dispatchMessage(Handler.java:106)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.os.Looper.loop(Looper.java:193)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.ActivityThread.main(ActivityThread.java:6912)
01-15 09:43:44.444 E/AndroidRuntime(3242): at java.lang.reflect.Method.invoke(Native Method)
01-15 09:43:44.444 E/AndroidRuntime(3242): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
01-15 09:43:44.444 E/AndroidRuntime(3242): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:860)
01-15 09:43:44.444 E/AndroidRuntime(3242): Caused by: java.lang.NullPointerException
01-15 09:43:44.444 E/AndroidRuntime(3242): at com.chaidarun.chronofile.GraphActivity.onCreate(:8)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.Activity.performCreate(Activity.java:7148)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.Activity.performCreate(Activity.java:7139)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1293)
01-15 09:43:44.444 E/AndroidRuntime(3242): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3101)
01-15 09:43:44.444 E/AndroidRuntime(3242): ... 11 more
I have an Android 8.0, not 10.0, if it's anyway possible to make it work with that version?
It would be helpful if there was some documentation on the config file. Either comments in the file or something on the GitHub page that explains what options and/or setting exist.
I was planning to make a similar app for some time now because I really wanted to do this, and there wasn't any app that did the same.
Is it possible to release a version compatible with android 9?
Hi, it would be nice to be able to track multiple activities having done at the same time. For example driving by train and reading. I would like to enter them separated by comma or another separator.
Activity groups seems not to suffice, as there are endless combination of activities.
Cool app!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.