SleepSense Beta - sleep cycle monitor and alarm - Windows Mobile Software Development

Hi All
This is a beta application which monitors your sleep cycle, and sets a gently increasing alarm to go off at up to 30 minutes before your set alarm time (during your lightest sleep phase so that it's easier to wake up fresh). If you are interested in testing it, please download and install the CAB here:
CAB link removed because its a very old version, a much improved version will be released on this thread very soon.
You can click Menu>Export Chart as a JPG image, and Menu>Export CSV to see the raw data. Please include the chart and raw data if you send me a bug report etc.
Method of calculating lightest sleep phase: alarm can go off up to 30 minutes earlier than the set alarm time if you become more alert than you were at the lightest phase of the previous sleep cycle. If alarm does not go off early, as a failsafe it will always go off at the set time. The alarm does not affect any other alarms you may have set, so I would recommend setting some other alarm too as a failsafe.
Developers: I would appreciate it if I could find a keen .NET Compact Framework developer out there to open-source and maintain this project because I don't have any more time to work on this.
Regards
Ashfaq
SYSTEM REQUIREMENTS:
All Windows Mobile 5, 6, 6.5 devices which have a gsensor/accelerometer. All resolutions supported. Tested on Touch HD.
CHANGE LOG:
- 2010-02-11
+ Improved UI, with volume slider.
+ New alarm music, gently increasing alarm volume and vibration.
+ Sleep time statistics.
+ Start menu icon.
+ Less CPU usage to conserve battery.
- 2010-02-07
+ Fixed bug where device did not wake up to sound alarm.
+ Improved the way the system switches to unattended mode to keep it running in background.
- 2010-02-06
+ Original release.

Thanks for your continued work on this.
r
Andrew
Original thread http://forum.xda-developers.com/showthread.php?t=619493

Sounds good, I'll give it a try!

Nice and thank you, can't wait to try it in the morning

awesome i reuqested this a week or more ago, didn;t realise someone else was interested. i'll give it a shot. thankyou!

Excellent work mate - congrats

Can you make the Alarm Up-Down button larger. It is to small for my big fingers.

I tried this latest release on my Touch HD last night. I had two bars of battery left and it had run out by the time I woke up in the morning so the alarm didn't go off.

Hi Ashfaq,
great work in this short time. Are you going to release the project as open source and e.g. host it on codeplex?
Probably you should reconsider the name of the project or talk to the people from sleepsense.com for not running into trouble...
Greets,
Thomas

On my Omnia (Samsung I900 Omnia) i get an Error Message
if its the time for alarm.
I will post the text later.

thomas0782 said:
Hi Ashfaq,
great work in this short time. Are you going to release the project as open source and e.g. host it on codeplex?
Probably you should reconsider the name of the project or talk to the people from sleepsense.com for not running into trouble...
Greets,
Thomas
Click to expand...
Click to collapse
Well spotted, I hadn't realised SleepSense.com was a trademark.
I would appreciate it if I could find a keen .NET Compact Framework developer out there to opensource and maintain this project because I don't have any more time to work on this.

just a stupid question?? how does it recognize the sleepphase?? like the iphone app, so you have to put the phone next to you in bed??
or does it recognize the breath-frequency with the mic?

It's measuring your movements using the accelerometers, so it works just like the iphone app.
And, even at this early stage, it's doing its job remarkably well

Really keen to try this out but the Placement Test does not seem to be working as far as I can tell. Started placement test, placed phone facedown on bed and then moved around. Didn't hear any sounds though?
Handest is an HD2.
Any ideas?
Cheers,
Graeme

Meeko1981 said:
Really keen to try this out but the Placement Test does not seem to be working as far as I can tell. Started placement test, placed phone facedown on bed and then moved around. Didn't hear any sounds though?
Handest is an HD2.
Any ideas?
Cheers,
Graeme
Click to expand...
Click to collapse
Make sure your system volume is turned up.

filiptc said:
Make sure your system volume is turned up.
Click to expand...
Click to collapse
It is. Handest volume is up full and system volume in SleepSense is maxed as well but still no sound during the placement test

I tried it the past night and it is great.
My battery drained about 25% so great power saving. Better than the previous version where I got about 50% battery drainage. So keep up the good work.

Cheers for this, tried it last night and it worked great.
I know it's in beta now but a suggestion for full release would be to give the option to turn off the vibrate as part of the alarm (I'm a very light sleeper )
Running on TP2 btw

ash2093 said:
I would appreciate it if I could find a keen .NET Compact Framework developer out there to opensource and maintain this project because I don't have any more time to work on this.
Click to expand...
Click to collapse
I was considering writing an app like this myself when I stumbled upon this thread. If you'd like, I can take over development and put it up on CodePlex or Google Code.

damn I was working on exactly this app.. oh well...

Related

[WP7] Battery Percent Indicator

a tool using the direct arm dll that fiinix @ XDA wrote in DllImport.
HTC Battery Tool does it with all sorts of info, this one is just simple, to the point.
I did this almost a month ago to date and had it as a live tile. I use it ALL THE TIME so I thought I would pass it along to all the fellow side loaders on here.
enjoy it, use it or whatever
thanks:
fiinix @ XDA
if you already use a battery percentage notification, tell me which one below?
thanks in advance, hope this helps someone as it has helped me.
Code:
edit: added cleaner NoDo_nation version because, who am I kidding anyway.
Very interest, I use this one till now and it work top.
I will tray out your Battery-Tool and report. Thanks.
Edit: Work like it have to work, good making and no conflict with the PhoneRestartTool with the code/dll from fiinix.
Great work on this!
Lovely, that's very nice.
Do you thinkt it'd be possible to add a live tile to that?
I know a lot of people are already sick of having to many of them but I could still use a couple more and one of them I'd like to be something like this
I've been experimenting a LOT with live tiles -- the result of which I am not happy with.
It is a bit of a catch22 because of the way you need to subscribe the live tile. I've short-fused the subscription whereas I can get a live tile update direct from code but the catch22 is the fact that the program has to run first to do it.
So what you end up with is a stale tile all the time. I'm not out of options quite yet but without running on a true background thread or the like, it almost looks like a "stalemate" -- no pun, well, whatever.
CopyCounsler said:
I've been experimenting a LOT with live tiles -- the result of which I am not happy with.
It is a bit of a catch22 because of the way you need to subscribe the live tile. I've short-fused the subscription whereas I can get a live tile update direct from code but the catch22 is the fact that the program has to run first to do it.
So what you end up with is a stale tile all the time. I'm not out of options quite yet but without running on a true background thread or the like, it almost looks like a "stalemate" -- no pun, well, whatever.
Click to expand...
Click to collapse
As it should be until we get Mango. Not much in the way of multitasking that works atm.
/J
jontatas said:
As it should be until we get Mango. Not much in the way of multitasking that works atm.
/J
Click to expand...
Click to collapse
You need jaxbot hack enabled and then still hope it will be able to push trough in the background.
Its far from reliable and will probably drain battery fast since there is no way to manage tasks yet, all tasks keep running in the background if you dont close them by pressing the back button (but you also should not kill the battery app ofcourse) which is indeed pretty much impossible, certainly for the average user to manage. You can juts better swipe down the task bar or just open the app
Nice job. Using the NoDo version.
CopyCounsler said:
a tool using the direct arm dll that fiinix @ XDA wrote in DllImport.
HTC Battery Tool does it with all sorts of info, this one is just simple, to the point.
Click to expand...
Click to collapse
CopyCounsler said:
I did this almost a month ago to date and had it as a live tile. I use it ALL THE TIME so I thought I would pass it along to all the fellow side loaders on here.
enjoy it, use it or whatever
thanks:
fiinix @ XDA
if you already use a battery percentage notification, tell me which one below?
thanks in advance, hope this helps someone as it has helped me.
Code:
[/FONT] [FONT=Arial]
edit: added cleaner NoDo_nation version because, who am I kidding anyway.
Click to expand...
Click to collapse
Does this one fix the conflicts with other apps that this one has? I know both use the dll import project which is why I ask. I tried the previous one for a few days but found it caused severe problems with the Weather Channel app and the TouchXperience app. They wouldn't load after checking the battery app. I will give it a run through and see how it works out.
Laquox said:
Does this one fix the conflicts with other apps that this one has? I know both use the dll import project which is why I ask. I tried the previous one for a few days but found it caused severe problems with the Weather Channel app and the TouchXperience app. They wouldn't load after checking the battery app. I will give it a run through and see how it works out.
Click to expand...
Click to collapse
It should not cause problems -- I use the Weather Channel app and also the TouchXperience app and have not noticed any conflicts of any sort. If you discover them, I have the source code open and ready to modify at any time.
Thanks in advance to all the comments and thanks in my first post!
ps. I had someone ask me if I could add a voice that spoke the percentage. I can. If I get enough people interested in the feature, I could probably have it done in an hour. Let me know if this is something that would set this app apart from the others or just unnecessary junk?
CopyCounsler said:
It should not cause problems -- I use the Weather Channel app and also the TouchXperience app and have not noticed any conflicts of any sort. If you discover them, I have the source code open and ready to modify at any time.
Thanks in advance to all the comments and thanks in my first post!
ps. I had someone ask me if I could add a voice that spoke the percentage. I can. If I get enough people interested in the feature, I could probably have it done in an hour. Let me know if this is something that would set this app apart from the others or just unnecessary junk?
Click to expand...
Click to collapse
Care to share the source?
/J
Yes, that would definitely.
CopyCounsler said:
ps. I had someone ask me if I could add a voice that spoke the percentage. I can. If I get enough people interested in the feature, I could probably have it done in an hour. Let me know if this is something that would set this app apart from the others or just unnecessary junk?
Click to expand...
Click to collapse
Sent from my HD7 T9292 using Board Express
Any way I can see mA usage? Trying to crack down on battery usage... Nodo user here btw.
TonyCubed said:
Any way I can see mA usage? Trying to crack down on battery usage... Nodo user here btw.
Click to expand...
Click to collapse
At the moment, you would only see rate of percentage decrease because mA values are not available through any means I've researched up to this point. Also, it would have to get thrown on a background thread - which makes the problem two-fold.
on top of the problems, a percentage decrease wouldn't be very accurate for several reasons.
I'll keep looking around however!
CopyCounsler said:
It should not cause problems -- I use the Weather Channel app and also the TouchXperience app and have not noticed any conflicts of any sort. If you discover them, I have the source code open and ready to modify at any time.
Click to expand...
Click to collapse
So far so good. I am honestly still teaching myself how phone 7 does it's coding being a amateur coder, but only thing I can guess is something in common with the original battery app and those to programs. I can duplicate it all day long with that one. With yours I had it happen one time. I opened the battery app. Then attempted to load either Weather channel or TouchXperience and the latter two apps would load then immediately shut down. I have yet to have it happen again with yours so good work!
CopyCounsler said:
ps. I had someone ask me if I could add a voice that spoke the percentage. I can. If I get enough people interested in the feature, I could probably have it done in an hour. Let me know if this is something that would set this app apart from the others or just unnecessary junk?
Click to expand...
Click to collapse
This could be cool, but I do like just the quick glance. Something I would like maybe is the ability to toggle an actual image with the percentage, but that's really just for visual sake. As it stands your app does what it's supposed to do and I like that.

[App] Wave Control - Control your phone without even touching it

Wave Control uses the proximity sensor to detect hand gestures to control music playback (free version) and more (paid version).
Update (10/11/2012): Half of proceeds from app sales from October will be donated to Breast Cancer Research
More Info Here
Update (9/7/2012): New Tasker Support for changing profiles in Wave Control!
Update (31/08/2012): Jelly Bean users are getting force closes in the Play Store app when navigating to Wave Control -- The free version's apk is available to download on this post. Please if it's working for you in Play Store download from there.. I need the install count
I developed this on the Note and luckily it happens to have one of the best proximity sensors (at least for my uses). Works best on the Note and Galaxy Nexus. Not so great on HTC phones and SGSII due to their particular sensors (much slower).
There are 4 basic gestures:
-Hover
-1 Wave
-2 Waves
-3 Waves
By default they correspond to Play/Pause, Next, Previous, Enable/Disable Controls respectively.
In the Pro version, they can be remapped to any of those plus: Turn Screen On, Volume Up, Volume Down, Launch Google Voice Search, Alt Play/Pause (for MX Video Player), and do nothing.
Popular uses are:
When driving, don't have to take your eyes off the road to try to hit a button
When your hands are dirty so you don't smear crap all over your phone like when cooking or working on car
While on the computer, you don't have to bother waking the phone to change the song (works even when the screen is off)
I'd like to see what you guys think of it. If you have any suggestions for new features or any feedback, I'd love to hear it.
Google Play Store Links:
Free Version
Paid Pro Version
Here are a couple youtube video demos:
and more of the Pro features:
I've got an identical post in the Galaxy Note forum. I'm limiting the call for feedback to these two devices for now since they have the most responsive sensor.
Holy crap, this is awesome.
Sent from my Galaxy Nexus using xda premium
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Meep70 said:
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
Click to expand...
Click to collapse
Yeah been rolling this idea around for some time. I've been kind of lazy about implementing it. I think I'll start coding it up to include in the next update unless a bug pops up first.
Thanks for the support!
kickr said:
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Click to expand...
Click to collapse
If I used just the light sensor then, yeah it would have that limitation. The proximity sensor (on the same chip) uses an IR LED to light up the near object and the light sensor to detect the IR reflection.
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Pat123 said:
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Click to expand...
Click to collapse
For me, it's been a little under what the music player uses. The system broadcasts on state changes of the sensor so I don't have to poll. Which is quite nice.
This is phenomenal. I like the potential!
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Blazing on my Nexus Prime using xda premium
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
15israellai said:
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Click to expand...
Click to collapse
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
I would love a sensitivity toggle. For me, the response time seems slow.
MarksThinkTank said:
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
Click to expand...
Click to collapse
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
ArmanUV said:
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
Click to expand...
Click to collapse
Yeah perhaps that could be a replacement for the pocketmode.. just disable the wakelock.
Pocket Mode was a user request. I guess the person had fairly baggy pants such that the controls were getting reenabled and music started playing while they were walking. So all it does is prevent that from happening. It's raised more support questions than it addressed so it does need to change.
The headphones unplug exit is an auto exit of the app when you unplug your headphones. It used to just be the way the app behaved but I had a request to be able to disable it.
Having to have the app in front is more of a carryover from before I had the notification icon change with enable/disable. It was just to make the user see the status change. I had kinda forgotten about it.
All good points! Thanks for the feedback.
I think I'll change Pocket Mode to something like Only Work With Screen On and then just toggle the wakelock. More straight forward.
Thanks again!
Pocket Mode
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
200mpx said:
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
Click to expand...
Click to collapse
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
------
So this fun... it still works without the wake lock. Now I'm thinking back to why I put it there in the first place.
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
MarksThinkTank said:
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
Click to expand...
Click to collapse
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
MarksThinkTank said:
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
Click to expand...
Click to collapse
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
200mpx said:
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
Click to expand...
Click to collapse
Yeah that might a good way to activate it.. hmm.
I ended up just settling on Wake Lock.. see how many questions I get about it.
I just posted V1.50:
-Wake Lock as an option, default is off
-Pocket Mode now disables everything when the screen is off
-Tweaked the timing for the SGSII
-Fixed a bug for the play/pause on MX Video (forgot to put this in the app's changelog)
-Pro gets Screen Off command
Thanks for great feedback guys! It's helping me quite a bit.
Still to come:
For Pro: Launch any installed app
Adjustable timing for the gesture window
Ingenious.
Sent from the future.
This is awesome.
Sent from my Galaxy Nexus

Talking clock compatible with S3?

Hi,
I've tried different talking clock apps, but fail to find one compatible with S3 without bugs or lack of key features. I was wondering if anyone had better luck?
Key features:
- speaks time every 15 or 30 minutes
- Silent period (shuts up between X pm and X am)
- won't drain battery like there's no tomorrow!
Whatever you do, don't buy Audio Clock by SURFSOFT LABS. Junk.
Gabeloooooo said:
Hi,
I've tried different talking clock apps, but fail to find one compatible with S3 without bugs or lack of key features. I was wondering if anyone had better luck?
Key features:
- speaks time every 15 or 30 minutes
- Silent period (shuts up between X pm and X am)
- won't drain battery like there's no tomorrow!
Whatever you do, don't buy Audio Clock by SURFSOFT LABS. Junk.
Click to expand...
Click to collapse
I am using EQ STime-it's a paid app. It's working good on my S3 and have all options that you mentioned... You can find it on Google Play...
Ninolina said:
I am using EQ STime-it's a paid app. It's working good on my S3 and have all options that you mentioned... You can find it on Google Play...
Click to expand...
Click to collapse
Thank you, will try right away. I had read a review that said it gives time at random, any problems with that?
Gabeloooooo said:
Thank you, will try right away. I had read a review that said it gives time at random, any problems with that?
Click to expand...
Click to collapse
Well, I didn't had that problem. It just don't always start itself after a reboot. If I start it manually it works.
Well, I tried a few, but they all have bugs/annoyances:
EQ STime : mutes all three audio channels after a while, need to reboot.
Audio Clock : randomly gets out of sync with your time interval. Not reliable at all.
Speaking Clock: TellMeTheTime : No way to set silent hours (don't speak time when I'm sleeping). Otherwise, this app seems to be the most stable.
Talking Clock: Can't remember why, but it wasn't very good
Still looking...

[APP] Peace of Mind+, Fairphone fork

Hi,
I have forked one of the app's released on GitHub by Fairphone/Kwamecorp, the Peace of Mind app. It's bascially an Airplane Mode with a timer.
We become more conscious of our phones as our lives become increasingly connected. Would you like to disconnect, if only for a moment? Your phone will go silent and disconnect from the world: no e-mail, no status updates, no SMS and no phone calls. Choose how long you wish to disconnect (up to 12 hours).
Click to expand...
Click to collapse
I'm not sure if they're planning on publishing it as a standalone app (currently a system-app), so I've forked into Peace of Mind+ to make it available for other devices and for eager Fairphone owners!
Released under the Apache License version 2.0. Source code and APK are available here https://github.com/mudar/Fairphone
For Android 4.2+ devices, the app requiers Root privileges to enable the Airplane Mode. On non-rooted phones (or if SU is declined) the app enables Silent Mode instead. This is due to security changes introduced by Google in Android SDK version 17.
Attached are two screen captures and the APK.
When done, I hope to refactor the Fairphone OS launcher.
Read article on XDA's portal
Put Airplane Mode on a Schedule with Peace of Mind+ by @willverduzco
Download:
Check GitHub for the lastest version and version release history
Changelog:
versionCode=18 versionName=2.1.0
Updated to Material Design
Added support for Android's "Do not disturb" mode
Optimizations, clean animation, etc..
Airplane mode support for rooted devices
versionCode=12 versionName=1.2
Restore sound to previous setting (bug fix)
RootTools updated to version 3.4
versionCode=10 versionName=1.1
Enhanced tablet layout
Fixed bug for some Android 4.3 devices
versionCode=8 versionName=1.0
Out of beta!
Improved Widget layout
DashClock extension added
Restores previous ringerMode at the end of an Airplane-mode PeaceOfMind
Added About dialog (in Settings)
Added Brazilian-Portuguese and Russian translations, and completed other translations
Click below to view complete changelog...
versionCode=6 versionName=0.9.4 beta
Fixed deep-sleep bug
Improved timer accuracy
Fixed videoplayback issue on some devices
versionCode=5 versionName=0.9.3 beta
Nightly, fixing the deep-sleep bug.
versionCode=4 versionName=0.9.2 beta
AirplaneMode enables SilentMode too, to avoid notifications
Fixed SilentMode issue (would trigger AirplaneMode on some android versions)
Fixed video animation playback issue
Fixed minor timer issue (was running an extra minute)
versionCode=3 versionName=0.9.1 beta
Settings to determine maximum duration (3, 6 or 12 hours) and disconnection mode (Airplane/Silent mode)
Fixed layout issues and optimization!
mudar1488 said:
Hi,
I have forked one of the app's released on GitHub by Fairphone/Kwamecorp, the Peace of Mind app. It's bascially an Airplane Mode with a timer.
I'm not sure if they're planning on publishing it as a standalone app (currently a system-app), so I've forked into Peace of Mind+ to make it available for other devices and for eager Fairphone owners!
Released under the Apache License version 2.0. Source code and APK are available here https://github.com/mudar/Fairphone
Attached are two screen captures and the APK.
The app is still in beta version. When done, I hope to refactor the Fairphone OS launcher.
Click to expand...
Click to collapse
Yes, sir, nice. That's the reason I really like open source. Just more variants, that's nice. Thank you for your fork.
I have some thoughts about the widget and the app:
The widget is just too big/tall. Maybe it's possible that you can reduce the used space on the screen?
One major bug is, that the app only switches the airplane mode on/off. I usually use WLAN at home and work with activated airplane mode. If I'm going to take a nap for 30 mins, I activate peace of mind but WLAN is still active and Mails, Hangouts (messages, voice/video calls), G+ and other messengers would. The app also does not silence incoming messages. So currently not that much peace. Would be nice, if you can make a workaround or something.
If users install this app, the need root. Please mention it somewhere, maybe in the thread title.
Nice to see you working on that!
Maybe you'd like to submit it to f-droid? That'd be great!
www.f-droid.org
Unrelashade said:
Nice to see you working on that!
Maybe you'd like to submit it to f-droid? That'd be great!
www.f-droid.org
Click to expand...
Click to collapse
@Unrelashade I'll definitly submit the app to F-Droid when out of beta!
Thanks @benkxda for the valuable feedback!
benkxda said:
The widget is just too big/tall. Maybe it's possible that you can reduce the used space on the screen?
Click to expand...
Click to collapse
I agree with you, upcoming enhancement
benkxda said:
One major bug is, that the app only switches the airplane mode on/off. I usually use WLAN at home and work with activated airplane mode. If I'm going to take a nap for 30 mins, I activate peace of mind but WLAN is still active and Mails, Hangouts (messages, voice/video calls), G+ and other messengers would. The app also does not silence incoming messages. So currently not that much peace. Would be nice, if you can make a workaround or something.
Click to expand...
Click to collapse
Definitly a bug, didn't even think about that case! This will be handled soon...
benkxda said:
If users install this app, the need root. Please mention it somewhere, maybe in the thread title.
Click to expand...
Click to collapse
I've edited the OP. However, root is not strictly required. For Android 4.2+ devices, the app toggles the sound (silent) mode on non-rooted phones. If SU is available, permissions are requested (to toggle airplane mode). If declined, the app falls back to toggling silent mode...
I have added the issues on GitHub https://github.com/mudar/Fairphone/issues Upcoming features will also be listed there..
Upcoming version
Next week's version will have a Settings screen to control max-duration (3, 6 or 12 hours) and to toggle Airplane/Silent mode.
Your suggestions are most welcome! Either here on xda or on github https://github.com/mudar/Fairphone/issues
Version 0.9.1
Here's the updated version:
- Settings to determine maximum duration (3, 6 or 12 hours) and disconnection mode (Airplane/Silent mode)
- Fixed layout issues and optimization!
Attached are the APK and a screen capture of the new Settings
The app is also available on the playstore, and the APK is available on GitHub too.
mudar1488 said:
Here's the updated version:
- Settings to determine maximum duration (3, 6 or 12 hours) and disconnection mode (Airplane/Silent mode)
- Fixed layout issues and optimization!
Attached are the APK and a screen capture of the new Settings
The app is also available on the playstore, and the APK is available on GitHub too.
Click to expand...
Click to collapse
Very nice. Installed it and switched to Google Play to get all the updates automatically.
The 3/6/12 hours steps are really nice implemented. This will save my peace during the (business) day :angel:.
I talked about the functionalities of this app and I was told, there is a further need. Switch off all connections with the airplane mode but then let the user decide whether he wants to get notification (alarm, appointments) or not. Silent mode would probably not deactivate the LED notification light. However I did not check.
At the New Year's Eve party I'll get a chance to try out a Fairphone and then I can compare the original and the improved version and also show it to others.
If you want the app translated, place a request in our app translation thread. And if you want, you can post an advertisement for your app in the Fairphone Blog, like for those who have to wait longer, so they can test at least this app/widget. Almost like a teaser. The guys from Fairphone shouldn't have anything against it, because this is the way they provide their software - open for forks
Oh yes, I put some links related to this app in the OP and we also have a app tester thread.
EDIT: GPS is still active after airplane mode. I understand, this app just enables/disables the airplane mode, but can we get some extra tweaks in the settings area, in this case to save battery? Would be nice. If you know what's on the todo list of the next version, give us an update.
Thank you and enjoy the holidays.
EDIT: This widget/app was mentioned in the article Fairphone im Kurztest (at the very bottom; German, c't magazin, 3rd Jan 2014).
Version 0.9.2
New version released, with many fixes
Changelog:
AirplaneMode enables SilentMode too, to avoid notifications
Fixed SilentMode issue (would trigger AirplaneMode on some android versions)
Fixed video animation playback issue
Fixed minor timer issue (was running an extra minute)
Attached is the new APK, also available on the playstore.
NOTE: I have reported an issue to Kwamecorp, related to the AlarmManager timer that ends the Airplane mode. If you enable PeaceOfMind for 15 minutes, then leave your phone idle (disconnected, screen off), there's no guarantee that the timer would actually be triggered, since it does not wakeup an asleep device. This means that you might not receive any calls after the 15 minutes have passed, until you wake up the device by turning the screen on.
I'm currently working on fixing what I consider a critical issue before actually testing it on Kwamecorp's original version. Sorry about this, update is coming before the end of the week!
Version 0.9.3
New version released, fixing the deep-sleep bug.
There are still some minor UI glitches I'm currently working on. Will edit this post soon, but wanted to publish this before the end of the week, as promised
Version 0.9.4
Changelog
Fixed deep-sleep bug
Improved timer accuracy
Fixed videoplayback issue on some devices
APK is attached here, update is also available on the playstore.
Next version will include widget enhancements and integration of DashClock.
For issues reporting or features suggestion, you can checkout the GitHub issues page!
Hi @benkxda,
multi-replies to your suggestions/feedback below
benkxda said:
One major bug is, that the app only switches the airplane mode on/off. I usually use WLAN at home and work with activated airplane mode. If I'm going to take a nap for 30 mins, I activate peace of mind but WLAN is still active and Mails, Hangouts (messages, voice/video calls), G+ and other messengers would. The app also does not silence incoming messages.
Click to expand...
Click to collapse
This should be fixed now. The change I made is that Airplane is mode is enabled each time PeaceOfMind is started, so this disables WiFi. Previously, the app would check airplane status, skipping if already was already on.
benkxda said:
I talked about the functionalities of this app and I was told, there is a further need. Switch off all connections with the airplane mode but then let the user decide whether he wants to get notification (alarm, appointments) or not. Silent mode would probably not deactivate the LED notification light. However I did not check.
Click to expand...
Click to collapse
When enabling PeaceOfMind, Airplane and Silent modes are (now) both set (or silent-mode-only based on settings). So this silences notifications. Handling Alarms is a whole different story since they could be set by different apps. This would require displaying a list of installed apps to handle sound for each. I prefer to stick to the original mission: disconnect from the outside world
benkxda said:
GPS is still active after airplane mode. I understand, this app just enables/disables the airplane mode, but can we get some extra tweaks in the settings area, in this case to save battery?
Click to expand...
Click to collapse
Well, it seems that enabling GPS with Airplane mode on varies by manufacturer. It's a very good idea and I understand the advantages, however I don't think such a feature fits with this app's scope. sorry
Thanks again for all your valuable feedback!
mudar
mudar1488 said:
Hi @benkxda,
multi-replies to your suggestions/feedback below
This should be fixed now. The change I made is that Airplane is mode is enabled each time PeaceOfMind is started, so this disables WiFi. Previously, the app would check airplane status, skipping if already was already on.
When enabling PeaceOfMind, Airplane and Silent modes are (now) both set (or silent-mode-only based on settings). So this silences notifications. Handling Alarms is a whole different story since they could be set by different apps. This would require displaying a list of installed apps to handle sound for each. I prefer to stick to the original mission: disconnect from the outside world
Well, it seems that enabling GPS with Airplane mode on varies by manufacturer. It's a very good idea and I understand the advantages, however I don't think such a feature fits with this app's scope. sorry
Thanks again for all your valuable feedback!
mudar
Click to expand...
Click to collapse
Thanks @mudar1488 for the recent updates. Before I go on, I want you to update also the first post of the thread, if you upload a new version including the new file, to get a version history. Also a Changelog in the first post would be nice. You also can place a new post, but please also update the first post. This makes it way easier to check if this thread was either updated or not. If the Fairphone index is up or let's say necessary, I don't wanna miss an update.
I use your Peace of Mind+ on my business device, a Samsung Galaxy S3 LTE (720 x 1280 pixels, 4.8 inches). Today I was checking the last version and I saw a couple of things, probably issues, maybe not.
1. Version number
I think I should have the version 0.6, but after a look in the app info, I was confused: "ca.mudar.fairphone.peaceofmind version 0.9.4 beta". Is that right or did I just update to much?
2. Sound on/off
Usually my phone is silenced completely. After I set a time in Peace of Mind+ and time ran out, the airplane mode switched off and sound switched on. So no silence anymore. Please save the settings of the sound before Peace of Mind+ becomes active and after the time ran out, restore the settings. Same thing with the airplane mode, which usually is active on my device, as well as WiFi is active.
3. Graphical issues
I have some graphical issues on my device. When I start Peace of Mind+ you see the following:
You can see a strange graphical fragment on the right of "ATPEACE". I started the app three times, and I always saw a different fragment.
Then I started a time and reset it to zero right afterwards, result:
Ok, so the fragment is gone and the text "ATPEACE" jumped one text line up and stays there, because on the left side, there are two text lines during the time is running out. Check the image below, in this case the two text lines are "1h35 TO1h35". To avoid these fragments, I currently have to set a time, then the fragment is gone.
Hope the images help to compensate some of the wrong or not correct words/text phrases I used. If not, don't hesitate to ask.
EDIT:
Just recognized your title of the post with the latest app version: "Version 0.9.4". I am a bit lost. Why is version 0.9.4 called v0.6 in the file name?
Great feedback @benkxda, as usual
I've added updates to the OP, but for detailed history I on Github. For future versions, I'll probably just publish the updates in the OP instead of adding a new reply each time.
benkxda said:
I think I should have the version 0.6, but after a look in the app info, I was confused: "ca.mudar.fairphone.peaceofmind version 0.9.4 beta". Is that right or did I just update to much?
Click to expand...
Click to collapse
Mystery resolved in the OP! APK filename has the versionCode (1 to 6) but I refer to it by its versionName (0.9 beta to 0.9.6 beta)
benkxda said:
Usually my phone is silenced completely. After I set a time in Peace of Mind+ and time ran out, the airplane mode switched off and sound switched on. So no silence anymore. Please save the settings of the sound before Peace of Mind+ becomes active ...
Click to expand...
Click to collapse
will do that in the next version!
benkxda said:
I have some graphical issues on my device. When I start Peace of Mind+ you see the following: You can see a strange graphical fragment on the right of "ATPEACE". I started the app three times, and I always saw a different fragment ...
Click to expand...
Click to collapse
well, this is a strange one! I did test on a Galaxy S3 and didn't see such pixels.
When you enable PeaceOfMind, do you see an animation in the background (like a water flood)?
Do you still these pixels in landscape mode?
How long has it been since last time you did a reboot?! (just looking for hints)
Do you think these pixels could be translucid? meaning do you think you see a scramble of your homescreen ? or do they look more like pixels of a corrupted video?
I'll do my best to find the issue.
I've added the last two to the GitHub issues page
Edit: I've attached 2 APKs to test the Graphical issues. @benkxda reported having graphical issues on his Galaxy S3 (unspecified ROM). Users who have the same issue (screen captures attached) can try installing these 2 versions and see if the issue is still there. Warning: ugly colors are used
mudar1488 said:
Great feedback @benkxda, as usual
I've added updates to the OP, but for detailed history I on Github. For future versions, I'll probably just publish the updates in the OP instead of adding a new reply each time.
Mystery resolved in the OP! APK filename has the versionCode (1 to 6) but I refer to it by its versionName (0.9 beta to 0.9.6 beta)
will do that in the next version!
well, this is a strange one! I did test on a Galaxy S3 and didn't see such pixels.
When you enable PeaceOfMind, do you see an animation in the background (like a water flood)?
Do you still these pixels in landscape mode?
How long has it been since last time you did a reboot?! (just looking for hints)
Do you think these pixels could be translucid? meaning do you think you see a scramble of your homescreen ? or do they look more like pixels of a corrupted video?
I'll do my best to find the issue.
I've added the last two to the GitHub issues page
Edit: I've attached 2 APKs to test the Graphical issues. @benkxda reported having graphical issues on his Galaxy S3 (unspecified ROM). Users who have the same issue (screen captures attached) can try installing these 2 versions and see if the issue is still there. Warning: ugly colors are used
Click to expand...
Click to collapse
What a shame, I forgot my S3 LTE at work. It has Android 4.3.1 running, CM10.2 nightly (set to 280 ppi).
Well, I just thought, I give other devices a try. I used file version 0.6, as this was the version on the S3 LTE, where I found those graphical issues.
First up, the Nexus 5 (full HD set to 440 ppi, Omni nightly). I did not see any problems. Then I tried it on the Galaxy Nexus (720x1280, just like the S3 LTE, set to 320 ppi and running CM11 nightly) and also no problems. It might be a problem with the older Android 4.3.1 or maybe this special nightly? I am back at work on Monday.
Thanks a lot for this. I was looking for such an app when I saw a Fairphone unboxing video.
Tyrion666 said:
Thanks a lot for this. I was looking for such an app when I saw a Fairphone unboxing video.
Click to expand...
Click to collapse
Yes. +1 and thank you @mudar1488
Ok, now to your questions:
When you enable PeaceOfMind, do you see an animation in the background (like a water flood)?
Do you still these pixels in landscape mode?
How long has it been since last time you did a reboot?! (just looking for hints)
Do you think these pixels could be translucid? meaning do you think you see a scramble of your homescreen ? or do they look more like pixels of a corrupted video?
Click to expand...
Click to collapse
Yes, I see the animation (smoothly on N5/S3 LTE and on Galaxy Nexus a bit sluggish).
Yes, I see these pixels in landscape mode. Doesn't matter if I start in portrait mode and switch to landscape mode or if I directly start in landscape mode.
I have this all the time, doesn't matter if I try after reboot or at the end of the day... always the same.
This is a bit special. Well, I think I don't see my background wallpaper (my wallpaper is just simple black). But I tried it on two home screens. One screen with a lot of icons, the other one with none (even no navigation icons). The result was interesting, as I saw a mostly brown or green fragment on the screen with much icons and usually a black fragment on the screen without icons. It is not always the brown/green or the black one, but that where the most results.
Hope that helps.
benkxda said:
Yes, I see the animation (smoothly on N5/S3 LTE and on Galaxy Nexus a bit sluggish).
Yes, I see these pixels in landscape mode. Doesn't matter if I start in portrait mode and switch to landscape mode or if I directly start in landscape mode.
I have this all the time, doesn't matter if I try after reboot or at the end of the day... always the same.
This is a bit special. Well, I think I don't see my background wallpaper (my wallpaper is just simple black). But I tried it on two home screens. One screen with a lot of icons, the other one with none (even no navigation icons). The result was interesting, as I saw a mostly brown or green fragment on the screen with much icons and usually a black fragment on the screen without icons. It is not always the brown/green or the black one, but that where the most results.
Hope that helps.
Click to expand...
Click to collapse
Thanks @benkxda! Did you try-out the v07a and v07b versions (attached here)? the latter doesn't play video and they both use ugly colors to try to understand what zone/element holds the strange pixels!
However, I do suspect an issue with the custom ROM or the custom DPI value used
New Version 1.0
APK and Changelog are provided in the OP. Peace of Mind+ is also available on the Playstore.
Out of beta now so future updates will mainly be bug-fixes. Your feedback/suggestions/comments are most welcome!
Thanks,
mudar
mudar1488 said:
APK and Changelog are provided in the OP. Peace of Mind+ is also available on the Playstore.
Out of beta now so future updates will mainly be bug-fixes. Your feedback/suggestions/comments are most welcome!
Thanks,
mudar
Click to expand...
Click to collapse
Nnnniiice work! So will you get/ put it into the f-droid repository as well? Looking forward to it! :good:
(also, please tell me if the people from f-droid put it into their repository or if a developers has to do that. It could be just them, because all the code is available and they build it from source by themselves to make sure applications don't differ from the code they link to/ offer)

SmartScreen App

Smart Screen
Simple application with two powerful features Smart Stay & Smart Widgets
Smart Stay :
"It waits till you're done"
The screen maintains a bright display as long as you're interacting with it.
Smart Widgets :
"It learns you're applications usage"
Displays "Most Launched,Most Recently Launched and Most Addicted" applications
on the home screen (widget),click on the App icon to launch
https://play.google.com/store/apps/details?id=com.dondeti.smartscreen
11/6/2015
Android M support
Nice app
Great app man, it works fine. But i think it should let the user select which app to make use of the function.
Thank you for the feedback
and i'm very happy to hear back..i'm working on it..will bee out soon...!
Will be updating to a new version before October 2nd
this will have features of a pro version but it just gives the feel not the functionality
Please let me know your comments
@MultiPDev V2 will give you the option to select your own app
ravitez86 said:
@MultiPDev V2 will give you the option to select your own app
Click to expand...
Click to collapse
Awesome! I'll give it a try. Waiting for it to be available in the playstore.
V2.2 is the latest
may take some time to get published
V2 is already out...check it out and provide your feedback..!
ravitez86 said:
V2.2 is the latest
may take some time to get published
V2 is already out...check it out and provide your feedback..!
Click to expand...
Click to collapse
Good job!! I love the app, the concept is great. I think the idea is better than Samsung's Smart Stay(or something like that) that never worked well enough for me. I'd surely use this app daily when it's finished. I didn't vote on the playstore because it needs some more development.
Here's a major bug I encountered: It sometimes doesn't work until you switch the feature off and on again, and switch between apps.
Also the sensibility is kinda low, i think ot should be higher(or maybe let the user select some kind of levels?).
Anyways, I call this app a good example of great use of a smartphone's sensor.
I have a question, does this app only work on Samsung devices? if not, I think you should make a thread in a general forum so any people can give you feedback, not only s3 owners.
I'm a student developer, so I hope I will submit an app to the store soon.
Cheers!!:good:
Thank you for the valuable feedback....
Its a strange issue..! Will definitely look in to the issue
When you said its not working are telling based on the Message you see on the screen when you open the app..if so that message will be displayed only for the first launch of the app.
right now sensitivity is at the best lowest as possible
you need not move the device slight angle change will also be considered
Good Luck with you app
and this will support all phones running android 4.0 and above
ravitez86 said:
Thank you for the valuable feedback....
Its a strange issue..! Will definitely look in to the issue
When you said its not working are telling based on the Message you see on the screen when you open the app..if so that message will be displayed only for the first launch of the app.
right now sensitivity is at the best lowest as possible
you need not move the device slight angle change will also be considered
Click to expand...
Click to collapse
I'm sorry, I forgot to tell you what I meant by "it doesn't work".
Well...sometimes the screen just forgets to turn off, even if phone is on the table.
About the sensibility, I think the app should detect a trembling hand, so it knows you're holding the phone. It's just a suggestion, I don't know how practical this would be.
---------- Post added at 02:32 ---------- Previous post was at 02:30 ----------
ravitez86 said:
Good Luck with you app
and this will support all phones running android 4.0 and above
Click to expand...
Click to collapse
Thanks!
cool...from the last movement detected phone will wait for (defaultscreentimeout - say 3 seconds) to actually turn off the screen..
is the screen staying on for more than defaultscreentimeout value...!
ravitez86 said:
cool...from the last movement detected phone will wait for (defaultscreentimeout - say 3 seconds) to actually turn off the screen..
is the screen staying on for more than defaultscreentimeout value...!
Click to expand...
Click to collapse
Yes it is, the screen timeout was actually 15 secons...just for testing. But the screen just refused to turn off while on the selected app. So I had tu turn the app off and on again few times till it worked. I think it's only the first time, after you install the app, I'm not sure. But it happened more tan once. Needs more testing.
MultiPDev said:
Yes it is, the screen timeout was actually 15 secons...just for testing. But the screen just refused to turn off while on the selected app. So I had tu turn the app off and on again few times till it worked. I think it's only the first time, after you install the app, I'm not sure. But it happened more tan once. Needs more testing.
Click to expand...
Click to collapse
Thank you...Will have an eye on it...please let me know if you can find a sequence and the app that's causing the issue,i will try to run it from my end
ravitez86 said:
Thank you...Will have an eye on it...please let me know if you can find a sequence and the app that's causing the issue,i will try to run it from my end
Click to expand...
Click to collapse
It happened to me again. The default timeout was 15 seconds. I just started Word app and kept the phone still. But the screen just refused to turn off(I waited 2 minutes). I solved this by turning the app off and on and switching between timeout times. However, it may be a rom bug (I'm running a cm12 based rom), as I found out it happens even after I turn off the app.
Good luck!!
Hello
Thank you for the info i tried to reproduce but couldnt
please find the screen shot please check if the app is correct "Word app"
since you have the issue even when you turn off the service i think its not related to SmartScreen
ravitez86 said:
Hello
Thank you for the info i tried to reproduce but couldnt
please find the screen shot please check if the app is correct "Word app"
since you have the issue even when you turn off the service i think its not related to SmartScreen
Click to expand...
Click to collapse
No buddy, I meant the "Word" application. You know...the one from Microsoft. Lol!! Anyway, the bug happened also with firefox...
Yeah maybe it's my rom's fault. I'll give it a try again when I switch to another one.
Good luck with the app!!
Ooops sure let me know if you come up with any issues..working on optimizing it so may be an update with minor improvements will be out later some time...
Thank you
V2.4 is out...!
V2.6 is out...Check it out
https://play.google.com/store/apps/details?id=com.dondeti.smartscreen

Categories

Resources