Night mode app. Possible? - Windows 10 Mobile

Hello all, I've started working on a really simple night mode app, but before banging my head on a wall, I'd like to share the idea to see if it's feasible. The principle behind the app is to change the system settings in "color profiles" programmatically. This would be my first experience in app developing, so I really don't know how it will end. I just started with a new uwp project and almost set a very basic interface.

there is no color profile, just one simple for tiles

There is: Settings - additional features (don't know if it's the exact translation, it's the last option though) - color profiles. There you can find the color temperature.

eirinn said:
There is: Settings - additional features (don't know if it's the exact translation, it's the last option though) - color profiles. There you can find the color temperature.
Click to expand...
Click to collapse
If you plan to impliment with the color profile app then you could only target Lumias.
The lumia series use a specific oempanel.sys and colordata.bin file to drive the displays. Each driver and bin is tailored to the device. So not sure how you plan to pull off the night mode app unless all you do is automatically flip the color temp to warm some how...

I was sure it was an entry in the registry. That's bad news. Anyway the idea was more or less what you said, just change the system settings at a given time. I find that the warmest setting might be not that dim, but it's already something.

eirinn said:
I was sure it was an entry in the registry. That's bad news. Anyway the idea was more or less what you said, just change the system settings at a given time. I find that the warmest setting might be not that dim, but it's already something.
Click to expand...
Click to collapse
Unless there is a way to port the method from Windows 10 to W10M...not sure how or what driver is used for the latest Desktop version.
---------- Post added at 09:15 PM ---------- Previous post was at 09:12 PM ----------
Still though. Having it programtically or on a schedule switch it for the Lumias is still a good start. If you succeed with a similar schduled interface it might benefit Lumia users. I know I would have liked it to turn automatically to warm without having to switch it manually.

Related

[SOLVED] Auto-Backlight toggle app

I'm happy with the standar automatic backlight I'd like to change its state (enabled / disabled) with a small application and it also put the light level to a minimum. When I'm in a totally dark room in bed for example, the level of automatic backlight control is too high.
For example:
- Before running: Setting ON Automatic Standard WinMo.
- Run the application: toggle automatic backlight to off and set to the minimum level of light.
- Run again the application: to activate the automatic backlight control.
Obviously, does not require interface, just switch between states.
I'll be very grateful if some developer spends a few minutes to make this application.
Best regards.
EDIT:
Solved here by BlockbusterF: http://forum.xda-developers.com/showpost.php?p=3061144&postcount=1
Hey there sgbmad,
Theres already a thread in the forums here that cover this and give a program. It's better to use the search function next time so the forums won't get cluttered up so much.
I've done the search for you this time http://forum.xda-developers.com/showthread.php?t=452790.
Cheers!
antrak said:
Hey there sgbmad,
Theres already a thread in the forums here that cover this and give a program. It's better to use the search function next time so the forums won't get cluttered up so much.
I've done the search for you this time http://forum.xda-developers.com/showthread.php?t=452790.
Cheers!
Click to expand...
Click to collapse
Thanks antrak,
Yes, I know Lumos and it was my way to solve this requirement but it not solve totally. I want to use standard auto-backlight but I would like disable it only in very specific situations. For example, when I read in bed and I don't want to wake my wife due to excess light.
Cheers
Ah in that way. Should probally be able to be done through a simple mortscript. Unfortunately I have no clue on how to use MortScript so can't help you there . You could perhaps look into it yourself or contact a kind programmer.
Solved by BlockbusterF (thanks!):
http://forum.xda-developers.com/showpost.php?p=3061144&postcount=1

Windows Phone 8 concept

I saw this on YouTube.
http://www.youtube.com/watch?v=jZlMT3Z5v_s
Looks just like wp now, but more icons.... oops "tiles", more "tiles".
The concpet of keeping the ui devoid of a "sea of icons" can get misconstrued very quickly.
I'm waiting for the one big tile version that just says "START"
Seems pretty close to Windows 8 and a decent way to represent application grouping/folders
This would address several of the usability issues I have today with WP7. And it could easily be implemented in such a way that people who only want to see the current start screen only see that screen. Bring it on, I say.
wayy too complicated. why not 2 screens and then put the categories on the app list page.
Settings should not get it's own page, there's many more important things that could've gone there. Aside from that, it's enjoyable.
z33dev33l said:
Settings should not get it's own page, there's many more important things that could've gone there. Aside from that, it's enjoyable.
Click to expand...
Click to collapse
I agree. But don't worry as this was just a 'concept' phone. I'm sure with wp8, they will better the UI.
Looks nice but tiles looks boring after three or four days
Ok, so where's the list of all my apps in one screen?
There needs to be a different way of presenting the long list of apps you don't use on a regular basis. I don't want a huge tile for every app I use - only for my important ones that I use in and out everyday.
Using that interface would get frustrating very quickly - I'd be searching all over the place trying to find apps I don't use as often.
The idea isn't that all these groups exist. It was more to show that instead of creating folders as a tile, you can create groupings like in Windows 8. So you don't need to have a settings group if you don't organizer your life that way.
Personally I would rather have a gaming group that I can swipe too, instead of having to click the xBox Live tile all the time.
If I feel motivated I will continue fleshing out this idea, but love the fact that it has spurred some discussion.
---------- Post added at 10:32 PM ---------- Previous post was at 10:21 PM ----------
tjramage said:
Ok, so where's the list of all my apps in one screen?
There needs to be a different way of presenting the long list of apps you don't use on a regular basis. I don't want a huge tile for every app I use - only for my important ones that I use in and out everyday.
Using that interface would get frustrating very quickly - I'd be searching all over the place trying to find apps I don't use as often.
Click to expand...
Click to collapse
I just never got around to showing that. The concept was really just done to see how that kind of multi-page design would flow. I figured the long list of apps could still be there but I didn't think about how you could get to it.

This might be a usefull addition for WP

Hi guys
Isn't it annoying that you have to go a (long) way just to enable Wifi/Bluetooth/Airplane mode/...
You have to go all the way to the settings app, choose a setting and change it over there.
I think I might have a solution to make things much easier to access.
Image the main menu of WP in your head.
On the left side, you have all your tiles and on the right side, you have your whole list of apps.
What if you had 3 columns?
Middle column: Tiles screen
Right column: App list
Left column: Settings list
In that settings list, you could easly control and adjust the most used settings.
Is this a usefull idea or is it just stupid?
Let me know!
MattProductions said:
Hi guys
Isn't it annoying that you have to go a (long) way just to enable Wifi/Bluetooth/Airplane mode/...
You have to go all the way to the settings app, choose a setting and change it over there.
I think I might have a solution to make things much easier to access.
Image the main menu of WP in your head.
On the left side, you have all your tiles and on the right side, you have your whole list of apps.
What if you had 3 columns?
Middle column: Tiles screen
Right column: App list
Left column: Settings list
In that settings list, you could easly control and adjust the most used settings.
Is this a usefull idea or is it just stupid?
Let me know!
Click to expand...
Click to collapse
its interesting, i think if there was absolutely no loss of UI speed and fluidity then it would be pretty handy, but it is only a slight hassle to add a tile,which is only slightly slower than your suggestion, so i guess,the real question, if it is possible to start with is,will there be any side effects, esp speed of menus.
WP7 has been really smooth all the time, so that might (normally) don't cause a problem.
If it would cause a problem, WP8 is the answer to that.
The WP8 devices will have improved internals, so it would be weird if WP8 devices woudn't be able to support it.
Another question: has WP7 been hacked to a point where we can adjust the whole OS?
Why not use a app called connectivity shortcuts in the market place
http://www.windowsphone.com/en-gb/s...hortcuts/430cf007-731f-4357-af7b-b897bff25a2c
sutt359 said:
Why not use a app called connectivity shortcuts in the market place
http://www.windowsphone.com/en-gb/s...hortcuts/430cf007-731f-4357-af7b-b897bff25a2c
Click to expand...
Click to collapse
I know that app and it's very usefull.
My idea is that it would be fully integrated in the OS itself (and not some extra tiles).
Via those tiles, you still need get in the settings app (automatically with connectify) to change settings.
With my concept, it would be all available at 1 place.
MattProductions said:
WP7 has been really smooth all the time, so that might (normally) don't cause a problem.
If it would cause a problem, WP8 is the answer to that.
The WP8 devices will have improved internals, so it would be weird if WP8 devices woudn't be able to support it.
Another question: has WP7 been hacked to a point where we can adjust the whole OS?
Click to expand...
Click to collapse
Technically the OS hasn't been hacked at all!
dazza9075 said:
Technically the OS hasn't been hacked at all!
Click to expand...
Click to collapse
And custom ROMs?
Or doesn't that count as hacking?
Custom roms exist on some devices, but only as a result of the manufacture screwing up, interop is only available again of the manufacture or mobile network screwed up, so technically, the OS hasn't been hacked as such
Sent from my Lumia 900 using XDA Windows Phone 7 App
dazza9075 said:
Custom roms exist on some devices, but only as a result of the manufacture screwing up, interop is only available again of the manufacture or mobile network screwed up, so technically, the OS hasn't been hacked as such
Sent from my Lumia 900 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Thanks for clearing that up!
Does anybody want to comment on the idea from the first post?
Well, the path traversal hack is pure WP7, nothing but Microsoft code. It's relatively minor as a hack by itself, though, certainly nowhere near to enabling something like this.
I like the suggestion, but it would be a moderately complex undertaking on a custom ROM, and probably impossible on a stock one (for now, at least).

[Q] How to Enable Multiple User Profiles in Jelly Bean 4.2?

Searched high and low for this but have not found a guide for setting this up.
1. I need this as a way to use two Google Voice accounts on the same Android device. One GV number for work and one personal. (Ironically this is the only reason I still use my iPhone as my primary cell phone.)
2. I would love to setup a third profile for my 10 month old daughter so she can play with the phone and not have me worry that she is accessing/modifying/deleting sensitive information.
Shurafa said:
Searched high and low for this but have not found a guide for setting this up.
1. I need this as a way to use two Google Voice accounts on the same Android device. One GV number for work and one personal. (Ironically this is the only reason I still use my iPhone as my primary cell phone.)
2. I would love to setup a third profile for my 10 month old daughter so she can play with the phone and not have me worry that she is accessing/modifying/deleting sensitive information.
Click to expand...
Click to collapse
I'm not 100% sure, but I think this feature is tablet-only
harveydent said:
I'm not 100% sure, but I think this feature is tablet-only
Click to expand...
Click to collapse
Looks like you are right. Its too bad. This is such a KILLER feature! I hope there is a way to side load this on to the nexus. Maybe flash it with a Tablet ROM or some other custom ROM?
top feature
Any unofficial choice ? Pleaseee )
its only for tabs and not for phones.. the only way to use it on the gnex is to flash pa which has this feature added
Shurafa said:
Searched high and low for this but have not found a guide for setting this up.
1. I need this as a way to use two Google Voice accounts on the same Android device. One GV number for work and one personal. (Ironically this is the only reason I still use my iPhone as my primary cell phone.)
2. I would love to setup a third profile for my 10 month old daughter so she can play with the phone and not have me worry that she is accessing/modifying/deleting sensitive information.
Click to expand...
Click to collapse
its for tablet only my fren.. atleast for now..
---------- Post added at 02:57 PM ---------- Previous post was at 02:51 PM ----------
k786 said:
its only for tabs and not for phones.. the only way to use it on the gnex is to flash pa which has this feature added
Click to expand...
Click to collapse
is it the PA 2.99+1??
Code:
/frameworks/base/core/res/res/values/config.xml
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">[COLOR="Red"]1[/COLOR]</integer>
Change the number to whichever you like.
Code:
/frameworks/base/core/java/android/os/UserManager.java
public static int getMaxSupportedUsers() {
// Don't allow multiple users on certain builds
if (android.os.Build.ID.startsWith("[COLOR="Red"]JVP[/COLOR]")) return [COLOR="Red"]1[/COLOR];
return SystemProperties.getInt("fw.max_users",
Resources.getSystem().getInteger(R.integer.config_multiuserMaximumUsers));
}
Either change JVP to something else, or change the number.
Good luck.
Go vote up the feature request (cause I'd love to have it on my phone as well for my baby to play with):
https://jira.cyanogenmod.org/browse/CYAN-139
I also took tristan202's post and commented on the ticket as well.
There are mods that enable it. But there are also apps. Try this one:
https://play.google.com/store/apps/...t=W251bGwsMSwxLDEsImNvbS5hcHBhaG9saWNzLnVtIl0.
Or this one:
https://play.google.com/store/apps/details?id=org.sferadev.multipleuser
Thanks. The first one looks like a hack for 4.1, then again I just skipped 4.1 and went straight to 4.2 from 4.0.
I wonder how he did the 2nd one, since it is java code than needs to change and be recompiled. Then again, I am not an Android developer (yet - this may make me pull the branch and patch it myself). So this may be compiled in the Java VM on-boot-if-changed and cached for reuse. That would allow anyone to change it via ADB.
Think I'll try that myself.
I wonder why it was disabled for devices with phones.
People on tablets report a perfect user experience switching between users on 4.2 and keeping everything separate, including the apps and settings.
So if that was the case, and a phone call was received when User B was using User A (aka "Primary User" for 4.2 multi user setups), what do u think would happen?
What about an SMS or even MMS that allows saving of attachments?
Clearly those are intended for the "primary user" account on that phone. But the saving of user data gets changed under multi-user mode to those virtual aliases like:
/storage/emulated/0/
/storage/emulated/1/
Etc.
Clearly this may have issues when devices with cellular radios in them and receiving calls and SMS/MMS.
Maybe that is why?
---------- Post added at 10:32 AM ---------- Previous post was at 10:30 AM ----------
Also, if logged into one account and "switching" to another, it can take 3-8 seconds. And that is on the tablets with faster ram and cpus than our phones.
The idea of "switching" when ur phone is ringing might not be viable.
tristan202 said:
Code:
/frameworks/base/core/res/res/values/config.xml
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">[COLOR="Red"]1[/COLOR]</integer>
Change the number to whichever you like.
Code:
/frameworks/base/core/java/android/os/UserManager.java
public static int getMaxSupportedUsers() {
// Don't allow multiple users on certain builds
if (android.os.Build.ID.startsWith("[COLOR="Red"]JVP[/COLOR]")) return [COLOR="Red"]1[/COLOR];
return SystemProperties.getInt("fw.max_users",
Resources.getSystem().getInteger(R.integer.config_multiuserMaximumUsers));
}
Either change JVP to something else, or change the number.
Good luck.
Click to expand...
Click to collapse
where is this stuff i cant find it?
/frameworks/base/core/res/res/values/config.xml
/frameworks/base/core/java/android/os/UserManager.java
It's in those 2 files.
---------- Post added at 03:23 PM ---------- Previous post was at 02:28 PM ----------
/frameworks/base/core/res/res/values/config.xml
/frameworks/base/core/java/android/os/UserManager.java
It's in those 2 files.

[APP] Lux plugin for Galaxy S - testers needed

Hello XDA,
I am a long time Galaxy S and Lux user but was disappointed to see the lack of a Galaxy S root plugin for Lux. In the end, I took the plunge and had a go at creating one myself. It was an interesting experience to say the least, especially with my limited programming experience.
As a new member, I'm not able to post links directly so apologies for the inconvenience caused by that.
The Lux plugin for Galaxy S is entirely open source and you can view the repo over at Bitbucket.
Code:
https://bitbucket.org/azizmiah/lux-plugin-for-galaxy-s-gt-i9000
Download from here:
Code:
https://bitbucket.org/azizmiah/lux-plugin-for-galaxy-s-gt-i9000/downloads
So what does this plugin offer?
Higher quality astronomer/night modes and subzero adjustment.
On screen buttons are adjusted
Screenshots are no longer discoloured
Improved contrast
Instructions & important information
This plug-in can only be used on rooted Galaxy S (i9000) devices using Lux Auto Brightness v1.3 or higher!
You must enable plug-in support under the Advanced section of Lux preferences for it to work.
Should you decide to uninstall the plugin, it's strongly recommended that you reboot your device.
---
I've created an icon for the plugin but it's certainly not a masterpiece, that's for sure. If anyone is willing to volunteer their design skills in creating a better looking icon for this, please do let me know!
Last but not least, if the plugin works for you, please spread the word as I'm sure many SGS Lux users have tried looking for a root plugin only to find that there is none available, until now.
---
Thanks
This plugin wouldn't have been possible if it were not for the help of Lux developer, Vito Cassisi, who took his time to help a PHP developer turned Java newbie everytime he hit a snag in development.
Updated plugin - now included as an attachment in the first post.
This new version includes a new icon (OK, it's not great but if you're willing to volunteer with icon design, please do let me know!) and the removal of code that's no longer needed (which may result in a performance boost too!).
I was looking for a lux plugin for my rooted note 3 and stumbled on this thread. Installed this plugin and enabled it in lux and it caused sub zero and night mode to stop working entirely. So this does not work for the note 3. I would love to make this work for my note3 but I definitely don't have the programming skills to do so. I hate how astronomer mode makes the blacks have reddish tint. Did this plugin fix that on your sgs?
will try
Will try and report soon
---------- Post added at 06:45 PM ---------- Previous post was at 05:56 PM ----------
Using paranoid android without the plugin lux could not detect the light sensors. With the plugin enabled sensors are detected OK.

Categories

Resources