Hi,
I amprogramming my First wp7 app.
My Problem, when i dont touch IT for a Minute, the Screen locks itself. How can i deactivate this.
Thanks
Sent from my HD7 T9292 using Board Express
To disable the lockscreen completely :
[HKEY_LOCAL_MACHINE\System\State] "Lock"=dword:1
To add "Never" option to lockscreen timeout in settings:
[HKEY_LOCAL_MACHINE\ControlPanel\Lock] "DisableNever"=dword:0
There's an entire thread related to registry hacks that can be found here:
http://forum.xda-developers.com/showthread.php?t=907971&highlight=lockscreen
thanks for your reply and sorry for my bad english
i know how to deactivate the lockscreen.
i want to keep my locksreen settings. i just want to disable it, while my app is running.
e.g. the navigon app. if i have a lockscreen timeout of 1 minute, the screen wont lock if navigon is running. when i exit navigon, it locks after a minute.
or am i able to change registry with c#?
Code:
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
thanks, that seems what im looking for.
i pasted this after "InitializeComponent()" and i got a failure.
He cant find "PhoneApplicationService". Any Assembly misisng?
i just got these:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Device.Location; //GPS
using System.Globalization; //NumberStyles + CultureInfo
using Microsoft.Phone.Controls;
using Microsoft.Phone.Controls.Maps; //Bing Map Contorls
using Microsoft.Phone.Controls.Maps.Platform;
Click to expand...
Click to collapse
Microsoft.Phone.Shell
P.S. Try google before asking ;-)
oh i did, but i just found descriptions how to set the lockscreen in the menue or the registry hack above....
Thank you anyway, its working
Related
Like the title says, how can I disable the feature that the screen turns off after a set period of time? I'm using Cm 7.1.0.1 and when I watch a football game on my phone I have to tap the screen every now and then to prevent the screen turning off, it's really annoying.
Thanks in advance
Go to your lock screen settings (in security settings) and change it to none.
Sent from my Wildfire using xda premium
Justice™ said:
Go to your lock screen settings (in security settings) and change it to none.
Sent from my Wildfire using xda premium
Click to expand...
Click to collapse
I can't find it. Do you mean disabeling my lock so that i dont have to enter my unlock pattern yet?
Slight bump
App. Screen on works like a charm. I've never seen a setting that keeps your screen on,only a setting that stops the screen turning off whilst on charge,but will still go into dim mode. Settings/applications/development/stay awake.
it made sense in my head !!!
Settings/display/screen timeout/never turn off
Sent from my HTC Wildfire using xda premium
jaksa35 said:
Settings/display/screen timeout/never turn off
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
Lol not on cm7!!!!
if this text has changed,then so has my rom.
Is there a way to change lock screen styles based on location? (Maybe through something like Tasker?)
My 1 year old daughter has learned how to unlock my phone with the swipe lock screen, so I have changed it to facial recognition, which has adequately secured it from her.
However, when I'm not at home, I would prefer the ease of the swipe unlock.
Is this possible?
Sent from my SPH-L900 using xda app-developers app
Smidgers said:
Is there a way to change lock screen styles based on location? (Maybe through something like Tasker?)
My 1 year old daughter has learned how to unlock my phone with the swipe lock screen, so I have changed it to facial recognition, which has adequately secured it from her.
However, when I'm not at home, I would prefer the ease of the swipe unlock.
Is this possible?
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
I couldn't find definitely that it will allow you to change unlock method based on location (everything else is listed and it's hinted at several places) but you might give SmartShift Lockscreen a try. You can find it here on Google Play.
DreamingWolf said:
I couldn't find definitely that it will allow you to change unlock method based on location (everything else is listed and it's hinted at several places) but you might give SmartShift Lockscreen a try. You can find it here on Google Play.
Click to expand...
Click to collapse
Thanks for checking. That appears to be a lock screen replacement.
Ideally, I'd like to use the stock lock screen and just update the settings.
Sent from my SPH-L900 using xda app-developers app
Smidgers said:
Thanks for checking. That appears to be a lock screen replacement.
Ideally, I'd like to use the stock lock screen and just update the settings.
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
In that case I would check out Secure Settings App which is available through Google and has a thread here at XDA.
DreamingWolf said:
In that case I would check out Secure Settings App which is available through Google and has a thread here at XDA.
Click to expand...
Click to collapse
Thanks for the suggestion!
Couldn't figure out the facial recognition. However, I figured out how to toggle between requiring a pin and not, which should suffice for keeping my phone protected from a toddler accessing it.
Sent from my SPH-L900 using xda app-developers app
----------------------------------------
Smart Lock V1.2.4
----------------------------------------
DOWNLOAD http://db.tt/kBtgcx6N
- PIN unlock automatic now. (No longer need to tap the tic)
-Delay timer Seconds slider
- 1.2.2 bigger PIN keypad
- improved screen state detection should use less ram and cause less battery drain.
----------------------------------------
Welcome to Smart Lock... The Security of a PIN lock and convenience of swipe combined
----------------------------------------
----------------------------------------
>>> #1 FEATURES & QUICK START GUIDE
----------------------------------------
The App UI is VERY simple to use:
#1 Set your PIN, screen off delay & global state.
#2 Thats it! if you turn your screen on before the set delay you get normal Android lock screen. After you get Smart Lock PIN guard immediately after.
if you forget your PIN at any time simply wipe Smart Lock app data to reset to the default PIN '0000' and chose a new one next time you launch the app.
Since the min delay is 1min, you will always be able to do this after a reboot. It is STRONGLY RECOMMENDED to use thie app in combination with a sim PIN lock to block entry upon reboot and you are secure.
The rest is so easy i wont bother insulting your intelligence explaining it.
The lock screen this app uses is independent from Android and will appear after you unlock with any Android lock method.
----------------------------------------
>>> #2 THE CONCEPT:
----------------------------------------
The idea behind Smart Lock is to combine the convenience of the Android swipe Lock screen with the security of a protected lock screen (either pattern or PIN).
This is achieved by using a secondary independent PIN guard blocking overlay which will block access to the Android UI without a successful PIN entry.
This PIN activated system guard can be set to block access to the touch screen. A user selectable delay once the screen switches off will activate it.
Combined this with a sim lock on boot, together they will protect your phone from theft or prying eyes while AT THE SAME TIME saving you from needing to enter your PIN every time you check your phone during instant message sessions or any other sort of frequent use.
The app can easily be reverted to a default PIN by wiping the app data ANY TIME. Since the min PIN activation delay is 1 minute from Screen off there is no danger of locking yourself out of your phone since a simple reboot and app data wipe will clear a forgotten or unknown PIN...
So how can this possibly be secure I hear you ask?
Well its quite simple: With a SIM PIN in place a user will need to know this to get into Andriod after a reboot. without this Smart Lock app data can't be wiped to reset the PIN...
So you have day a 15 minute delay on Smart Lock. Your phone gets stolen and likely the Smart Lock PIN has activated by the time someone tries to use it. They then reboot the phone and your SIM block PIN prevents them getting in!! Meanwhile you are enjoying the convenience of a simple swipe lock screen most of the time not to mention Android 4.2.2 lock screen widgets!
----------------------------------------
thanks, work for 4.1.2??
Yep! Should work for a broad range of devices
Sent from my GT-I9300 using Tapatalk 2
I've tried to make it as battery friendly as possible so please report how much battery it's using day to day
Sent from my GT-I9300 using Tapatalk 2
Hi rlorange,
Thanks for that bright idea, finally we have a way to have widgets AND a decent security on 4.2.2 !
May I ask you if you plan to add new features to your neat app, as there is some improvement I see that would make it even better
I loved this app.
Nicely designed, the Concept behind is really amazing.
I wanna contribute to this project more.
I am Dev to if your source code is on GIT then post the link.
Hope, more devs will contribute to make life easier with high security.
Note :- I am not forcing you to post the GIT or other stuff just an suggestion if you want take it else let it flow.
Waiting for it to come on PLAY STORE or SAMSUNG STORE
V 1.1 up!!
Removed
Sent from my GT-I9300 using Tapatalk 2
All I can say about this is WOW...I hate having a pin because u got to type pin in everytime..with this it has a time limit. ..pure genius..thnaks a lot
Sent from my GT-I9300 using xda premium
LoganMcClay said:
Hi rlorange,
Thanks for that bright idea, finally we have a way to have widgets AND a decent security on 4.2.2 !
May I ask you if you plan to add new features to your neat app, as there is some improvement I see that would make it even better
Click to expand...
Click to collapse
Thanks! V1.1 is better! I'm going to focus on improving stability and keep it simple for now. I'm still getting the monitor fail on me and not bring the PIN up occasionally. I'll tweak the task system for now
Sent from my GT-I9300 using Tapatalk 2
Akshay (Aky) said:
I loved this app.
Nicely designed, the Concept behind is really amazing.
I wanna contribute to this project more.
I am Dev to if your source code is on GIT then post the link.
Hope, more devs will contribute to make life easier with high security.
Note :- I am not forcing you to post the GIT or other stuff just an suggestion if you want take it else let it flow.
Waiting for it to come on PLAY STORE or SAMSUNG STORE
Click to expand...
Click to collapse
Actually I'm relatively noob and lack programming knowledge I used tasker app factory to make it
Sent from my GT-I9300 using Tapatalk 2
Could yiu make it unlock asoon as the pin is typed im? Instead of clicking the tick?
Sent from my GT-I9300 using xda premium
alvin551 said:
Could yiu make it unlock asoon as the pin is typed im? Instead of clicking the tick?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I'll look into it
Sent from my GT-I9300 using Tapatalk 2
Anyone else experiencing issues on 1.1?
Sent from my GT-I9300 using Tapatalk 2
rlorange said:
Anyone else experiencing issues on 1.1?
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
1.1?? Where?
Sent from my GT-I9300 using xda premium
rlorange said:
Anyone else experiencing issues on 1.1?
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Hi rlorange,
Same as you, sometimes v1.1 got bypassed and i've to clear app settings to get it working again.
Maybe you can try to do the same thing Go Locker do ; it takes the launcher place, and then runs the original or custom launcher, that way it get automatically called anytime the phone gets unlocked.
Hello, working good so far. Any chance of having delay time of 5 seconds or so? Thanks for great app
Sent from my GT-I9300 using Tapatalk 4 Beta
Another request if possible...when I set my alarm in the morning and it goes off I have to type my pin in to deactivate it...any chance of making this app run behind the clock
Sent from my GT-I9300 using xda premium
UPDATE: V1.2
- improved screen state detection should use less ram and cause less battery drain.
Download: http://db.tt/iROqJEeJ
Sent from my GT-I9300 using Tapatalk 2
alvin551 said:
Another request if possible...when I set my alarm in the morning and it goes off I have to type my pin in to deactivate it...any chance of making this app run behind the clock
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Hmmm I don't know how I could do this but it intrigues me so I'll have a look
Sent from my GT-I9300 using Tapatalk 2
mindeboy said:
Hello, working good so far. Any chance of having delay time of 5 seconds or so? Thanks for great app
Sent from my GT-I9300 using Tapatalk 4 Beta
Click to expand...
Click to collapse
OK yes I've decided to add a second bar in the next version so you can chooses minutes and seconds
Sent from my GT-I9300 using Tapatalk 2
Everytime I unlock my note 2 the location icon comes up literatly every time, If I lock the device and then unlock it 10 seconds later its there, I can understand doing it if it was 15 mins or so.
Would this be an app doing this or is it just a samsung thing? Is there a way to tell or does everyones phone do this?
odd1ne said:
Everytime I unlock my note 2 the location icon comes up literatly every time, If I lock the device and then unlock it 10 seconds later its there, I can understand doing it if it was 15 mins or so.
Would this be an app doing this or is it just a samsung thing? Is there a way to tell or does everyones phone do this?
Click to expand...
Click to collapse
check if you have some weather app which refresh itself everytime you unlock the screen.
this is not samsung thing, I faced the same thing with some weather apps
I only have two weather apps, BBC and notification weather bother are set as 2 and 4 hours refresh time. Any other clues or apps I can find out using this?
Sent from my GT-N7100 using Tapatalk 2
Most likely an app and unless I do a lot of digging (I can't remember the apps name) I would shut off GPS unless needed... Essentials there is an app that can observe your wake lock behaviors and determine what the culprit is (I.e. which app is causing the GPS to trigger).. No one can really help you figure out a solution without knowing this info either... Do some research and see if you can't figure it out as I will in spare time try my best to point you in a better direction
Sent from my SGH-T889 using xda app-developers app
PhxDroid86 said:
Most likely an app and unless I do a lot of digging (I can't remember the apps name) I would shut off GPS unless needed... Essentials there is an app that can observe your wake lock behaviors and determine what the culprit is (I.e. which app is causing the GPS to trigger).. No one can really help you figure out a solution without knowing this info either... Do some research and see if you can't figure it out as I will in spare time try my best to point you in a better direction
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Thank you for the honesty I have had a look at some apps and most weather have hour refresh rates. I thoght automate it could of been it but force closed it and it isn't that app either. Dont know why so many apps are allowed access to this stuff when they don't need it.
Sent from my GT-N7100 using Tapatalk 2
i was going to ask if you are using tasker- automate is a lot like it.....but it seems you have eliminated that possibiltiy
odd1ne said:
Thank you for the honesty I have had a look at some apps and most weather have hour refresh rates. I thoght automate it could of been it but force closed it and it isn't that app either. Dont know why so many apps are allowed access to this stuff when they don't need it.
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
because you dont read which perrmision particular app need when you download it from play store or some other source.
next, next, next generation of users
Sent from my GT-N7100 using xda app-developers app
just opened weather widget settings and found the option 'auto update on opening' ticked - that turns on my gps and locations
rraaka said:
just opened weather widget settings and found the option 'auto update on opening' ticked - that turns on my gps and locations
Click to expand...
Click to collapse
that's the option which I point at in my first post, maybe I was not clear enough, glad that you made it
Sent from my GT-N7100 using xda app-developers app
djoni_gitara said:
that's the option which I point at in my first post, maybe I was not clear enough, glad that you made it
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
yes, of course, now I realise too !!
im using the 50 % transparent one- Note 3 or s4 i cant remember its a samsung one for sure
djoni_gitara said:
because you dont read which perrmision particular app need when you download it from play store or some other source.
next, next, next generation of users
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
I do read them but unless you want the app what can you do? Heck if I read them I would only proberbly have one or two apps installed as all apps ask for loads of permissions they don't need at all that's what I meant.
Anyway found the app, sense v2 flip clock thought it looked the best out of all the look alikes. Gone back to beautiful widgets now and ain't had the location thing back yet. Strange because there is an option to update upon unlocking and I had unticked that so I guess it ignores your preferences.
Sent from my GT-N7100 using Tapatalk 2
What's with the fingerprint sensor? I thought it was to allow you into your phone at will. although many times I use it I still have to enter a pin. thanks
Sent from my Nexus 5X using Tapatalk
bananaspider said:
What's with the fingerprint sensor? I thought it was to allow you into your phone at will. although many times I use it I still have to enter a pin. thanks
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Not always.
Do you use an app or the like to turn your screen off or lock your phone?
Yes. Just tested that. Using app requires pin. Using button or letting go of itself. No pin. No way to get around this?
Sent from my Nexus 5X using Tapatalk
bananaspider said:
Yes. Just tested that. Using app requires pin. Using button or letting go of itself. No pin. No way to get around this?
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
A little confused by your wording. What do you mean by "using app requires pin"? Using app for what?
For me, the only time it requires me to use my pattern is after a restart and after disconnecting a Bluetooth device that is listed under Smart Lock.
Sent from my Nexus 5X using Tapatalk
For example I use a tasker gesture on the screen to lock my phone and at that point I use my fingerprint to turn on the phone but the pin screen appears so I have to enter my pin first and then it unlocks.
Sent from my Nexus 5X using Tapatalk
bananaspider said:
For example I use a tasker gesture on the screen to lock my phone and at that point I use my fingerprint to turn on the phone but the pin screen appears so I have to enter my pin first and then it unlocks.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
For what I know, only if you turn your screen off with the power button the fingerprint scanner will unlock your phone immediatly afterwards.
Then I guess the question would be what app can mimic a power button press so that I can continue using gestures and or background apps to turn off the screen? Or forego using the fingerprint scanner?
Sent from my Nexus 5X using Tapatalk
bananaspider said:
Then I guess the question would be what app can mimic a power button press so that I can continue using gestures and or background apps to turn off the screen? Or forego using the fingerprint scanner?
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
There maybe a way but I don't use fingerprint so cant help you here.
Thanks anyway I just made a quick pattern rather then a pin which makes it a little easier thanks for the help
Sent from my Nexus 5X using Tapatalk
See this post.
http://forum.xda-developers.com/nexus-5x/help/fingerprint-unlock-using-lock-widget-t3231177
bananaspider said:
Then I guess the question would be what app can mimic a power button press so that I can continue using gestures and or background apps to turn off the screen? Or forego using the fingerprint scanner?
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
If you are rooted this is super simple with tasker...
Create a new task with whatever name you want.
Select the Code Action Category.
Select Run Shell Code Action.
In the Command input type:
Code:
input keyevent 26
Check the Use Root box.
Leave all other options untouched.
Then use that Task for your gesture. Note that at some point Tasker is going to ask for root privileges. You obviously need to grant them to it.
Enjoy...
PiousInquisitor said:
If you are rooted this is super simple with tasker...
Create a new task with whatever name you want.
Select the Code Action Category.
Select Run Shell Code Action.
In the Command input type:
Code:
input keyevent 26
Check the Use Root box.
Leave all other options untouched.
Then use that Task for your gesture. Note that at some point Tasker is going to ask for root privileges. You obviously need to grant them to it.
Enjoy...
Click to expand...
Click to collapse
You're overcomplicating it. See this post. You don't have to use tasker. You can use at least one widget plus launcher gestures as long as you have root, and it works.
http://forum.xda-developers.com/nexus-5x/help/fingerprint-unlock-using-lock-widget-t3231177
pkadavid said:
You're overcomplicating it. See this post. You don't have to use tasker. You can use at least one widget plus launcher gestures as long as you have root, and it works.
http://forum.xda-developers.com/nexus-5x/help/fingerprint-unlock-using-lock-widget-t3231177
Click to expand...
Click to collapse
Yep, the Tasker Task I wrote is really, really complicated. The op is going to **** a brick when he sees that he would need to use Tasker to do what he is already using Tasker to do but this time it will work.
Sent from my Nexus 5X using Tapatalk
Thanks all for providing an alternative means.
Sent from my Nexus 5X using Tapatalk
PiousInquisitor said:
Yep, the Tasker Task I wrote is really, really complicated. The op is going to **** a brick when he sees that he would need to use Tasker to do what he is already using Tasker to do but this time it will work.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
No need to get testy. I said overcomplicating, not complicated.
pkadavid said:
No need to get testy. I said overcomplicating, not complicated.
Click to expand...
Click to collapse
o·ver·com·pli·cate
ˌōvərˈkämplikāt/
verb
past tense:*overcomplicated; past participle:*overcomplicated
make (something) more complicated than necessary.
"the basic idea is quite simple, but some people tend to overcomplicate it"
Again, the Tasker Task is as simple as they come. It would take longer for the op to download that app than make the task. And considering he is using Tasker to turn the phone off with a gesture, he would still have to create a task to run the app. That, sport, is overcomplicating it.
Sent from my Nexus 5X using Tapatalk