Giter VIP home page Giter VIP logo

nightdream's People

Contributors

firebirdberlin avatar fischreiher avatar martinposchmann avatar mastermichi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nightdream's Issues

mute the ringer

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.

Include the Roboto fonts

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.

Weather updates: Remove the exact location

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.

InlineSeekBarPreference in Android 2.3.3

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

Clock widget

"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."

NoSuchMethodError

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)

Auto-Quit

Check if the app quits when in nightmode during the configured end time

Increase the initial brightness

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.

ClassCastException

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)

IllegalArgumentException

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)

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.