firebirdberlin / nightdream Goto Github PK
View Code? Open in Web Editor NEWan Android desk clock
Home Page: https://firebirdberlin.github.io/nightdream
License: GNU General Public License v3.0
an Android desk clock
Home Page: https://firebirdberlin.github.io/nightdream
License: GNU General Public License v3.0
I can see no updates of the screen while touching the interface, Changing the brightness is very hard not knowing what the current value is.
Muting the ringer is done using an old API function. There is a newer API which allows to enable the priority mode or the do-not-disturb mode.
Depends on #33
On some devices (e.g. Samsung S5 Mini, Android 6) the Roboto thin font is not available. As a solution the fonts needs to be packaged within the apk.
When a search is performed and the country is changed, the search button should be unlocked to allow to search with the same query string for another country.
Currently always a country has to be selected.
For fetching weather data an inaccurate location is sufficient. Nevertheless the exact location is determined if possible. This is bad for two reasons:
(a) Within buildings the exact location cannot be determined.
(b) privacy
Solution: Remove the use of the exact location and the permission ACCESS_FINE_LOCATION.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.firebirdberlin.nightdream/com.firebirdberlin.nightdream.PreferencesActivity}: android.view.InflateException: Binary XML file line #155: Error inflating class firebirdberlin.com.nightdream.SeekBarPreference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1829)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1848)
at android.app.ActivityThread.access$1500(ActivityThread.java:177)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1041)
at android.os.Handler.dispatchMessage(Handler.java:130)
at android.os.Looper.loop(Looper.java:384)
at android.app.ActivityThread.main(ActivityThread.java:3975)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:538)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:978)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:732)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #155: Error inflating class firebirdberlin.com.nightdream.SeekBarPreference
at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:472)
at android.preference.GenericInflater.rInflate(GenericInflater.java:512)
at android.preference.GenericInflater.rInflate(GenericInflater.java:524)
at android.preference.GenericInflater.rInflate(GenericInflater.java:524)
at android.preference.GenericInflater.inflate(GenericInflater.java:357)
at android.preference.GenericInflater.inflate(GenericInflater.java:294)
at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:282)
at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:293)
at com.firebirdberlin.nightdream.PreferencesActivity.onCreate(PreferencesActivity.java:35)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1149)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1793)
... 11 more
Caused by: java.lang.ClassNotFoundException: firebirdberlin.com.nightdream.SeekBarPreference in loader dalvik.system.PathClassLoader[/data/app/com.firebirdberlin.nightdream-1.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:271)
at java.lang.ClassLoader.loadClass(ClassLoader.java:582)
at java.lang.ClassLoader.loadClass(ClassLoader.java:542)
at android.preference.GenericInflater.createItem(GenericInflater.java:406)
at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:461)
... 21 more
This feature is still missing.
"Here is suggestion: make a clock widget to go along with the app. I use a clock widget on my home screen and when I double tap it, it opens night clock."
In the case that ambient noise is NOT activated the NightModeListener does not stop itself after the screen turned on.
Dragging should disable the the auto-move feature.
Letzte Meldung
Gestern, 19:51
Meldungen diese Woche
1
Meldungen insgesamt
1
App-Version
80
1
Android-Version
Android 4.0.3 - 4.0.4
1
Gerät
Galaxy Tab 10.1 (GT-P7500) 1
java.lang.NoSuchMethodError: android.app.Notification$Builder.build
at com.firebirdberlin.nightdream.ui.NightDreamUI.(NightDreamUI.java)
at com.firebirdberlin.nightdream.NightDreamActivity.onCreate(NightDreamActivity.java)
at android.app.Activity.performCreate(Activity.java:4469)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1052)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1932)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1993)
at android.app.ActivityThread.access$600(ActivityThread.java:127)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1159)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4507)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:978)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
at dalvik.system.NativeStart.main(NativeStart.java)
Using sticky events help to get the current power connection state when the app starts and stop in between these events. We can estimate the (dis)charging time having the battery level knowing the latest power connection event.
Add an analog clock layout which is easier to read without glasses.
Show information for the radio station which is currently played.
Add the option to set a sleep timer from the main UI.
Check if the app quits when in nightmode during the configured end time
The screen brightness is much to low when the app is started the first time. Users may fail to increase the brightness, because they do figure out how to change the value.
Implement a proper city search in order to get rid of the need to deal with city IDs.
https://github.com/amlcurran/ShowcaseView seems to be a good candidate.
java.lang.ClassCastException: com.firebirdberlin.nightdream.NightDreamService cannot be cast to android.app.Activity
at com.firebirdberlin.nightdream.ui.NightDreamUI.showShowcase(NightDreamUI.java:909)
at com.firebirdberlin.nightdream.ui.NightDreamUI.onResume(NightDreamUI.java:189)
at com.firebirdberlin.nightdream.NightDreamService.onDreamingStarted(NightDreamService.java:97)
at android.service.dreams.DreamService$1.run(DreamService.java:1001)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
It is not visible to the user whether the search button is currently enables or not.
Daydreams always start the app. The autostart options have no effect. Many users do not know about it and get confused.
Problem: The alarm is not rescceduled after the app is updated.
Solution: We should handle android.intent.action.PACKAGE_REPLACED
End time hour does not show up, just the seconds
V2.2.3
regards
spachner
Currently the list is not sorted alphabetically.
If the user travels the weather data should be updated more often than in 90 minutes intervals.
PreferenceActivity is deprecated.
ie Wed 20 Jan 16, Wed 20 Jan.
Add a showcase view for alarms which explains how to use the UI.
Using Preference Headers benefits a two pane layout on tablets.
https://developer.android.com/guide/topics/ui/settings.html#PreferenceHeaders
e.g. reduce animation durations.
Do the button lights still switch off in Android 7 ?
The dialog for selecting the autostart time is empty in landscape mode.
Chnaging the clock size using a zoom gesture should be possible by touching the whole display.
java.lang.IllegalArgumentException: Receiver not registered: com.firebirdberlin.nightdream.NotificationReceiver@b4e806
at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:878)
at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1279)
at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:601)
at com.firebirdberlin.nightdream.NightDreamService.onDreamingStopped(NightDreamService.java:118)
at android.service.dreams.DreamService.detach(DreamService.java:939)
at android.service.dreams.DreamService.access$800(DreamService.java:154)
at android.service.dreams.DreamService$DreamServiceWrapper$2.run(DreamService.java:1138)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
The post request enables us to filter for countries and categories.
It is quite large in some languages.
The users may decide to manually enable the night mode.
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.