yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] superkoal:
Hi Folks!

Tired of switching 7 toggles before going to bed and again when you wake up?

I just added my new app to play store. Basically it's a night profile switcher with a few gimmicks that came to my mind.

Have a look and maybe buy it (think of it as a beer for me :D )

Check it out on google play!

Of course I'll be around in the thread and you can contact me at goodnightandroid@gmail.com if you have feature suggestions or want to help me translate.

Free Version available on play store:

https://play.google.com/store/apps/details?id=com.jb.good.night.android.free

Please download, add a review if you like it and maybe consider buying the full version.

It enables you to switch back the profile in the morning via toggle or notification.

+ some new features:

- Toggle data, gps, 2g/3g (custom roms)

- Automatically wake up with alarm clock

- Automatically set the alarm clock for each day of the week

- Scheduled wakeup/sleep time

- Colour changing widget for day/night

- Supports nearly all alarm apps

- powernap mode during the day

- more to come!

Description from google play:

Basic features:

-	Widget to toggle day/night mode, which let’s you set&reset

-	set a radio profile (Wi-Fi, Bluetooth, Data, Airplane mode*, GPS**, 2G/3G**)

-	set phone settings (Sound & Vibration, Sync, Wallpaper, Brightness**)

Advanced features:

-	Set your alarm clock (supports most alarm clock apps)

-	Different alarm times for every day in the week

-	Powernap function during the day

-	Lock the screen

-	Automatic schedule for day/night

-	Customized messages & notification for going to sleep & waking up

-	Haptic feedback

-	Support for 3rd party apps: Screen Filter, Greenify

-	Includes an extension for the DashClock widget

-	Switch between dark & light app theme

* requires root on Android 4.2 devices

** requires root permissions

The app offers high functionality, helps you to save battery and time.

It does not run in the background during night!

You can use either the widget or the launcher shortcut to toggle day/night mode. Please note that ONE OF THEM (WIDGET/SHORTCUT) IS REQUIRED FOR THE APP TO DO ANYTHING before rating bad. Instructions how to install the widget or the shortcut can be found in the app (info-tab).

Creative ways to trigger day/night:

As a gesture in a launcher (e.g. double tap, possible in nova launcher prime and others)

As a shortcut on your lockscreen (Not possible on all phones, depends on model & software)

Via DashClock Widget (Extension included in the app)

On certain events (certain location, ..... requires tasker or similar app)

Special Thanks to

- sunfury (Murat Emre KÖSE) for the Turkish translation

- mark26 for being my tester and

- Jake Wharton for providing the awesome actionBarSherlock

- Stericson for rootTools
[Android Apps and Games] superkoal:
Changelog

Update 4.4

NEW: DashClock Extension!

Updated Turkish & Spanish translations

Update 4.3

Supports ScreenFilter & Greenify

Added Turkish translation (Special thanks to sunfury aka Murat Emre KÖSE!!)

Update 4.2

Added checkbox to set/don't set alarm time to the day/night dialog

Update 4.1

Spanish translations

2G/3G toggle for custom ROMs (tested on SlimBean & CM10.1)

Flight mode fix for some devices

Update 4.0

No more need to run as system app for root options

Added uninstall helper to info tab

Update 3.9

Set auto-sleep and auto-wakeup time at boot

Update 3.8

Cancel morning notification if you wake up your phone in another way

Update 3.5

Set custom wallpapers for day/night.

Update 3.4

control gps (needs root for some devices) and sync (needs new permissions: read & write sync settings)

change sound & vibration settings to ringer mode

major code optimization

Update 3.2

Set screen brightness (root)

Refined process of enabling/disabling root options
[Android Apps and Games] mark26:
hi superkoal.nice to see you venturing into apps.you've been a big help to many people on the slim thread so i hope users give you the support you deserve.good luck with this mate.will be giving it a go myself,sounds promising. :good:

edit: i would be happy to test for you if you need any help along the way
[Android Apps and Games] superkoal:
Thanks mate, more to come :)

Please pm me your mail and i will send you a testkey signed version.

Also i am looking for a tester with a htc sense device.

Please share your feedback in this thread :)
[Android Apps and Games] vieose:
Add a function to turn off the device at a time, like "Turn Device of at "12:00pm" as example.
[Android Apps and Games] superkoal:
Thanks for the idea, i have noted that for future releases!

EDIT:

I looked it up, but it doesn't seem to be that easy. Seems it works only for apps signed with system firmware key.

Maybe with root permissions, have to think about that.
[Android Apps and Games] superkoal:
Update to Version 1.1:

Homescreen Shortcut can now toggle day/night mode

Should hit playstore soon.
[Android Apps and Games] luzfero:
I would be willing to try if it had a free with ads version, but as it stands i'm not willing to pay $1.47 when I can find a free app that has more options.
[Android Apps and Games] mark26:
sent you a pm mate :D
[Android Apps and Games] superkoal:
Thanks for your feedback.

There's 3 reasons why this app has no ads:

1. Battery life: this app is supposed to be energy efficient

2. You wouldn't really see them as the app itself is just a setup for the shortcut

3. I personally don't like them

As for a free app with same features: i couldn't find an app at all that does exactly what i want, this is why i started this project. But if you found an app please pm me the link.

I really like this app myself and i use it every day. It's slim and as far i could test it absolutely stable. Also it allows quite some customization, what is gonna get even more in future releases.
[Android Apps and Games] superkoal:
Update 1.5

Added compatibility down to Android 2.2 Froyo

Switch between dark/light theme

Added Scroll-ability for small screens

Fixed landscape mode
[Android Apps and Games] superkoal:
There's some NEWS!

I decided to add a free version to play store.

It will have limited features (No restore in the morning) and less frequent updates, but it also means that there is at least one version available to people who can't or don't want to use paid apps on play store.

Free version will hit play store this evening, I'll post the link as soon as it's online.

Looking forward to have you onboard!
[Android Apps and Games] mark26:
great news mate.hopefully this will kickstart the downloads.:D
[Android Apps and Games] tramp20:
I installed your free version v1.6 from play store but I cannot find the widget :(

Edit:

I found that it is not a widget as you wrote on the market but a shortcut.

Please change this.
[Android Apps and Games] superkoal:
Free Version available on play store:

https://play.google.com/store/apps/details?id=com.jb.good.night.android.free

There was an issue with locking the screen in version 1.6, which is now fixed.

(Update should arrive within the next hour).

Please download, add a review if you like it and maybe consider buying the full version.

It enables you to switch back the profile in the morning via toggle or notification.

EDIT:

Also updated full version to v1.7.

Fixed lock screen bug.
[Android Apps and Games] superkoal:
I'm sorry! For some launchers it's shown as widget.

I added the hint in play store. Thank you!
[Android Apps and Games] tramp20:
In your own info in the app you should change the hint too.

I bought your app now.

Can you change the so called widget (shortcut) to another color if the night mode is active?

I assume this would be simple if it is a real widget?

Can you add the version to your info screen?
[Android Apps and Games] superkoal:
Thank you. Afaik it's not possible to change a shortcut. I will go make a real widget in addition to the shortcut.
[Android Apps and Games] tramp20:
Fine.
[Android Apps and Games] superkoal:
I'm working on the widget thing.

Functionally it's working perfectly, but it turned out to be really hard to support all kinds of screen sizes and dpi values.

If any1 knows a good tutorial on that --> You're very welcome!

You will have to stick with the shortcut for the moment.

I'll keep you updated!
[Android Apps and Games] miromerka:
Hey, i just bought your app and your link led me to xda.

Vry nice work, man! i sent you an email, maybe i can help with widgets.
[Android Apps and Games] superkoal:
Hey my friend, thanks for supporting my work!

I didn't get your email yet, sent you a pm.
[Android Apps and Games] miromerka:
Silly me, mistyped the address :D

Here we go again!

---------- Post added at 06:30 PM ---------- Previous post was at 05:39 PM ----------

Btw will this work on my girlfriend's razr with stock rom too? Thanks!
[Android Apps and Games] superkoal:
Thanks, got it this time.

Yes, it works for ALL PHONES from Froyo (Android 2.2) upwards.
[Android Apps and Games] vieose:
Make it optional under Advanced settings or so. If you want to make a All-in-one App, you could also add settings to change the kernel settings like, change govenor at 6pm to smartass.

Is there a start after boot function?

Change display brightness settings automatically?

Sent from a Stone in the Ocean.
[Android Apps and Games] superkoal:
Thanks for your feedback.

1. Governor: I don't think it's necessary, as your phone should usually be in deep sleep at night, what means that the power consumption is governor-independent. Also this is highly device- and kernel-specific.

2. Start after boot is not necessary for current applications, everything is triggered by you pressing the day/night toggle. I'm thinking about implementing fixed wakeup/sleep timings.

3. display brightness: i'm already working on this one. But android doesn't allow apps to set system brightness, only brightness for your app.

Atm I'm trying to find out how to implement this with root settings. Switching auto brightness on/off works and will probably come with the next update.

EDIT: Are you using my app? Haven't had a chance to get feedback from someone running HTC Sense. The only thing that should be device specific is starting the alarm clock.

I would appreciate it if you could report if everything's working as expected. Thanks in advance!
[Android Apps and Games] miromerka:
I would like the option to change screen brightness too.
[Android Apps and Games] vieose:
At first I don't wanted to download it, but you ask so nice, I will download and try it :)

Sent from a Stone in the Ocean.
[Android Apps and Games] vieose:
You need to select a shortcut.

---

You should add turn off data.

A way to enable different sound setting, like Night no sound, day sound at max.

Sent from a Stone in the Ocean.
[Android Apps and Games] superkoal:
This (Sound profiles) can already be achiefed with the full version. It saves your settings before going to sleep and restores them in the morning.

Turn off data isn't very clean to implement. You can do it by renaming the user's apn settings, but I don't like that, as the user can be left with not working data connection if he uninstalls your app when data is disabled (renamed).

Features like Brightness, data, shutdown, ... will come when I implement root.
[Android Apps and Games] miromerka:
Will you support android 4.2?
[Android Apps and Games] superkoal:
Yes, the app will support android 4.2

I have to look how / if the new security features affect compatibility.
[Android Apps and Games] miromerka:
Thanks, because my nexus4 should arrive in a few days :)
[Android Apps and Games] superkoal:
Lucky you!

Just tested it in emulator. Works fine in 4.2, except that google removed the ability for apps to toggle airplane mode without root.

Maybe you can report back your test results when you got your nexus :)
[Android Apps and Games] miromerka:
Yes, i can confirm that google disabled the control over airplane mode in 4.2

Damn it, google is more and more becoming apple!

Seems they want you to be online all the time: you need root to toggle data and airplane mode, they don't build sdcard slots in their devices so you need to use cloud storage and on and on...

Sorry for the short drift. Your app is perfectly working in 4.2 and altough google screwed up it doesn't crash when trying to switch airplane mode.
[Android Apps and Games] superkoal:
Thank you very much for doing this test.

I don't fully agree at google becoming apple, but i don't like the way of more and more cutting down the things apps can do without root.
[Android Apps and Games] miromerka:
You're welcome, mate.

Just let me know if you need some more testing!
[Android Apps and Games] nathan118:
How is this better than Bedside that has been out for years?
[Android Apps and Games] superkoal:
This is app is focused on battery saving, it does not run any service in the background and i don't know if bedside can switch stuff like airplane mode. I don't know bedside, but from description it looks more like an advanced night clock with call monitor for me.

Call monitor and a constantly running clock widget with text to speech engine sound pretty battery hungry to me.

EDIT: Reading the first few user reviews proves my theory.

Anyway it looks like a nice app to me, but a completely different use case.
[Android Apps and Games] miromerka:
Do you plan to add an alarm clock feature?
[Android Apps and Games] phlunkie:
Maybe tasker can help with brightness settings. One could try to have it set brightness anytime this app launches. Or possibly could help with other system settings like airplane mode. Just a temporary solution until implemented in the app.
[Android Apps and Games] superkoal:
Thanks, will look it up. Never used tasker before :)

Airplane mode is already implemented and works up to 4.1.2, only in 4.2 google disabled the ability to enable/disable it in an app without root.
[Android Apps and Games] superkoal:
Maybe in the future, but for the moment i want to keep things slim.

Priority for next release is a widget with day/night colours and more explanation in the user interface.
[Android Apps and Games] lesscro:
Man, are you interested by a better Icon ? More Android Friendly... ?

Because i need an app like that and i think everybody are interested by automatic feature if his life is programmed...

No i m not a computer^^

Cheers
[Android Apps and Games] superkoal:
Yes, i am very much interested in a new icon, just couldn't find the time yet. PM me if you want to help :)
[Android Apps and Games] taniwha913:
a simple app for a simple task.

easier to use than tasker, for sure.

did you try llama?

https://play.google.com/store/apps/...t#?t=W251bGwsMSwxLDMsImNvbS5rZWJhYi5MbGFtYSJd

a tasker-like but a lot easier to use, it can do the same. in fact, i use it to do exactly what you propose us, automatically each night.

could you tell us why we should prefer your app? what's new?
[Android Apps and Games] superkoal:
I know Llama.

My approach is different: No service in background, no battery hogger.

My app is designed to save battery, while Llama and others require running services all the time.

Also my app is absolutely easy to use: it has only necessary functions and allows some nice customization.

You don't need to create any profiles for events and you don't need to mess around with different day schedules.

YOU are the event that triggers all the action, with one simple touch.

PS: A nice widget is coming, of course without periodic update service ;)
[Android Apps and Games] miromerka:
I like your approach, slim and efficient :)
[Android Apps and Games] superkoal:
Thank you! Next update is close :)
[Android Apps and Games] techguyone:
ZDBox has a night mode too, I've used it for ages
[Android Apps and Games] loozacc:
something i have been searching for just recently! thank you!!!!
[Android Apps and Games] superkoal:
Just found out that you mobile and a few other blogs featured my app in the last days.

Thank you very much for your support, you are awesome!!!

YouMobile

PhoneArena

BetaNews
[Android Apps and Games] miromerka:
Congratulation!

Just read the last user rating, you must get angry about some people :D
[Android Apps and Games] superkoal:
You mean this?

Or the guy complaining that the free version doesn't do what the paid does?

I'm not angry, I'm quite relaxed about this. i just hope that people don't pay too much attention to this unhelpful ratings.

If someone has a bad experience with my app or doesn't like it he's free to do so, but i would appreciate it if people who really like it would rate it too :D

Heard that the devs in play store have to learn to live with that.

Top Developers can answer to reviews, but not small devs :(
[Android Apps and Games] superkoal:
Anyone using the app on a galaxy s3 with STOCK (Samsung) ROM?

I have 2 users with problems on this phone.
[Android Apps and Games] teaserrr:
The flight modus feature does not work on my phone, it's a Jiayu G2 (chinese brand - cheap but good!) running android 4.0.4.

I also have a suggestion for a new feature: killing unnecessary apps when night mode is switched on. It could work with a whitelist of apps that should keep running at night; all others will be killed.
[Android Apps and Games] ddlooping:
+1 :)
[Android Apps and Games] superkoal:
Thank you for this suggestion.

I will have a look at this.
[Android Apps and Games] superkoal:
BIG update 2.0 is out!

- Use alarm clock time to automatically wake up your phone

- Schedule automatic sleep/wake up

- Choose your preferred alarm app

- Prompts directly for entering alarm time instead of only starting alarm clock app.

- Widget changing colour for day/night
[Android Apps and Games] lesscro:
Icon

What do you think about this icon ? More Android Friendly and maybe more funny than actual square, isn't it ? :angel:

edit /

[...] Dev not intested by my GFX then deleted...

Cheers[...]

/ edit

PSD is available if you are interesting... only credit me in "about".

cheers
[Android Apps and Games] miromerka:
Very nice new features!
[Android Apps and Games] tramp20:
Thank you for this widget, I don't need more (at this time).
[Android Apps and Games] superkoal:
Thanks man, i will try how it looks on my phone :)

For version 2 i will stick with the current icon, to keep some continuity, but when it comes to the next major update i want to change the icon too and will come back to you :)
[Android Apps and Games] ddlooping:
An idea for the icon. :)
[Android Apps and Games] ddlooping:
2 round versions. :)
[Android Apps and Games] superkoal:
Thanks, you guys are awesome! :)
[Android Apps and Games] ddlooping:
No problem, just let me know if you have any suggestions/requirements. :)
[Android Apps and Games] tramp20:
Another wish:

Could you add a config switch to either restore (the next morning) sounds/vibrate to the last state (as now implemented) or to sounds on?

I usually forget to change this in the morning.
[Android Apps and Games] superkoal:
Another update for you guys!

Version 2.2 adds powernap function.

Check it out!
[Android Apps and Games] superkoal:
AT ALL THE GUYS HAVING PROBLEMS WITH FLIGHT MODE (ESPECIALLY HTC PHONES ON GINGERBREAD):

Can you please try the latest version for me and report back if flight mode issue has been fixed? Thank you!

About the task killer: i have contacted the developer of advanced task killer if he would share an intent with me so i can trigger the kill action from my app. I will keep you updated.
[Android Apps and Games] miromerka:
Everything fine for me on nexus s and slim bean.

Thx again for putting so much effort in this app. I really like it and use it every day!
[Android Apps and Games] mark26:
+1

i9000 + i9300 running slimbean also.

Great work mate. Your hard work is paying off. :)
[Android Apps and Games] superkoal:
Thanks, your testing is of great worth for me!
[Android Apps and Games] mark26:
no problem mate. always glad to test for you. just sorry i haven't been able to help much in the last couple of weeks. been so busy at work.
[Android Apps and Games] miromerka:
So how's the task killer thing doing? ;)
[Android Apps and Games] superkoal:
Thanks, I'm in contact with the advanced task killer guys, looks promising so far :)
[Android Apps and Games] mark26:
fingers crossed. :)
[Android Apps and Games] superkoal:
Yes, they promised to add an open intent for the kill action.

So when the next update for advanced task killer is out there will be one for good night android too ;)

Thanks Rechild-Devs!
[Android Apps and Games] miromerka:
That's good news! I like where the app's going!
[Android Apps and Games] miromerka:
And did they tell you a time frame for the release?
[Android Apps and Games] superkoal:
A little patience, my friend! :D
[Android Apps and Games] superkoal:
Also slight UI changes coming with the next version - working all about a better user experience!
[Android Apps and Games] superkoal:
In case you didn't notice: New update (v2.5) is out!

redesigned user interface,

ability to choose if you want to restore wlan, bluetooth,...

bug fixes (airplane mode finally working for all devices? Please report back!)

Task killer feature not yet implemented, still waiting for the rechild devs... :P
[Android Apps and Games] miromerka:
Thanks for the restore choice and the new design, awesome!!!
[Android Apps and Games] tramp20:
Hi superkoal,

I am not happy with the new version, at the next morning the restore of the previous state does not function reliable.

The choices are not clear and I tried all combinations.

The last version was ok.
[Android Apps and Games] superkoal:
Thanks for your reply. I'm sorry to hear that you don't like it, i put a lot of effort in the update.

Can you describe what exactly is not working?

And if the interface is not clear please tell me, i will try to make it better.

EDIT:

I just tested restore, everything works perfectly fine on my samsung galaxy s with slim bean 2.9

As for the choices:

"do nothing" leaves a settings as it is and doesn't change it at all, no matter if day/night

"disable" disables it when you go to sleep, but does NOT switch it back on in the morning.

"disable and restore" will disable your setting when you got to sleep AND will restore it in the morning.

The reason for this is a feature request from this thread, where people asked for a choice which settings should be restored.

I hope i could help you. If you have an idea how to make the interface easier to understand you are very welcome with suggestions and i will do my best to make it good for you.

EDIT2: i also got replies that now airplane mode works for devices that had problems before, so over all the app has more features and should be more reliable than before.
[Android Apps and Games] tramp20:
That was me :)

In the meantime even I have looked through :)

1. Why has the flight mode choice only "activate" and "do nothing"? This is not consequent.

2. I wanted as feature for the sound something like you have now plus a "sound on" additional to restore.

Because the sound has not two but three possibilities: on, vibrate or all off. In the afternoon I switch to vibrate, the next morning GNA restores this state and I always forget to switch manual afterwards to sound on.

Thank you.
[Android Apps and Games] superkoal:
1. The thing about airplane mode is that i don't think anyone would want to deactivate it at night and restore it in the morning. But you're right, it's not consequent

2. Ok, i understand what you mean. Maybe I'll implement two completely separate profiles for day and night in a future version. I have to think about this.

But there is every feature of the app working for you (and hopefully for anybody else), right?
[Android Apps and Games] tramp20:
We misunderstand us:

Of course I switch to "Flight mode on" in the evening and to "off" the next morning.

I know the function "flightmode" does not fit in the settings: all others are shut off and this on.

The night/day switching works perfect, I do not use the timer functions.

You should show the program version under Info.
[Android Apps and Games] superkoal:
You should find the app version in the bottom right corner of the info tab ;)
[Android Apps and Games] tramp20:
No, there is nothing in the last version.