WP8 - Different b/w Lock button and windows button pressed

Hello,
I need to differentiate the below scenarios:
1. Press Lock, then unlock button  and open the application
2. Press windows button and search for application from list of apps and open it
I need to handle the scenarios differently, Can you please let me know how exactly we can differentiate above scenarios?
I thought of handing in App.xaml.cs file as below:
1. Press Lock, then unlock button  and open the application  --> e.NavigationMode == NavigationMode.Back
2. Press windows button and search for application from list of apps and open it   --> e.NavigationMode == NavigationMode.Reset
but sometimes, after lock the device, when the device is idle for more time and unlock it, e.NavigationMode == NavigationMode.Reset is called in 1. scenario also:(
Please suggest how to solve the problem.
Thanks,
Navya 

When you set a password lock on your Windows Phone, it can help you avoid accidentally making calls at inopportune moments to friends, family members or colleagues. (To learn more, take a look at
Lock screen FAQ.) But just because your phone is locked doesn't mean it's out of commission. There are lots of things it can still do.

Similar Messages

  • 9360 not refreshing when lock button pressed.

    When I press the button at the top of my phone to lock it and then press it again to unlock it sometime later the phone time remains at the same time I locked it at for about 3 seconds and I also can't receive bbm messages etc whilst the phone is locked. Anyone have any idea why this is happening and how I can fix it?

    Assuming that you mean you did everything that Sherry
    and I offered up in our responses, then create
    another admin account, log into it, and see if the
    problem persists. Cryptic one-line responses aren't
    very helpful. If this suggestion doesn't make the
    problem disappear, then install the latest COMBO
    update (10.4.7 was released today), restart, launch
    Disk Utility, repair permissions, restart, and
    hopefully that'll fix things.
    I have another - "clean" - admin account and the problem persists there. And I downloaded the 10.4.7 update and the problem persists. If there isn't much to add, why go beyond, as you call it, a "cryptic one-line" response.
    Ended up calling AppleCare and will do a clean archive and re-install. Thanks for the suggestions.

  • My power/lock button presses itself randomly?

    My iPhone 3GS's power/lock button decides to click itself whenever an object or my hand is near the button or just the top of my phone in general. Also, this causes the phone to turn on itself after I have switched it off. Can anyone offer any help? Thanks.

    Hi mickeyneedshelp,
    Thanks for the question. Based on what you stated, it seems like a button on the iPhone is not working. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
    Get help with buttons and switches on your iPhone, iPad, or iPod touch - Apple Support
    If the Sleep/Wake button doesn't work
    On iPhone 6 and iPhone 6 Plus, the Sleep/Wake button is on the right side of the device, near the top. On earlier models, the Sleep/Wake button is on the top of the device, toward the right side.
    If the Sleep/Wake button isn't working and your iOS device is on, follow these steps:
    Press and hold the Sleep/Wake button.
    If you see "slide to power off," turn off your device and then turn it on again.
    If you can't turn off your device, try to reset it.
    If the Sleep/Wake button still doesn't respond, follow these steps and test again:
    Check for debris or dirt around the Sleep/Wake button and clean it with a soft cloth.
    Remove any case or film.
    If you can't turn on your iOS device, connect it to an A/C adapter. When your device is charged, try the steps above again. If the battery is extremely low on power, your device might display a black screen for up to 10 minutes (up to 20 minutes for iPad) before you see a charging indicator on the screen.
    If you have an iPhone 5 and the Sleep/Wake button still isn't working, or works intermittently, you might be eligible for this replacement program.
    If you've followed the steps above and the Sleep/Wake button still doesn't respond, if it works intermittently, or if it's damaged, contact Apple Support to set up service.
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

  • Used to use the Mac.  How different are menus between Mac and Windows?

    I used to use the Mac.  How different are the PowerMac menus from those of Windows OS?

    Hello,
    They're pretty different, after a short while the Mac will be easier, key is to not expect it to work like Windows... I use both.
    I think these may answer some of your questions...
    http://switchtoamac.com/guides/mac-os-x/mac-os-x-basics/mac-os-x-101-using-a-mac .html
    http://www.apple.com/support/macbasics/
    Feel free to ask if you have questions after looking at them.

  • Photoshop CS5 interface locking up and windows disappearing in OSX Mountain Lion?

    Hi,
    This has suddenly started happening to me using Photoshop CS5 on my mac running the latest version of Mountain Lion.  When I open a PSD file at first it doesn't appear to be there.  If I check under the "view" menu the interface says that the document is open.  If I use tab to switch between views, the document appears and the palettes on the right disappear. Tab again and the interface reappears around the document,  palettes are still gone but they are replaced by transparent grey blocks where the palettes should be.  I can't bring up any new palettes and I can't move the document window.  If I have multiple documents open, one remains in front even though the titles in the title bar change.
    I've reinstalled Java.  Unistalled and reinstalled Photoshop CS5 but nothing is working.  I've opened Photoshop CS3 and it works fine.
    Has anybody else expereinced this or have any idea what's going on?
    Thanks for any advice

    Hi Chris,
    No I don't have any utilities or haxies.  The only thing that I know I did before the issue was remove a trial version of Flash CS6 and I installed Flash CS3 (I was working with an old FLA and the new text tools in Flash CS5 were making editing difficult).  That's why I thought reinstalling Photoshop might help.  I thought perhaps I'd overwritten or removed an important file.  There have also been a few minor updates to the OS recently.
    I ran a diagnostic with tech tool pro and as far as it can tell the video card is good.
    Regarding Java: when OSX Lion came out users were required to download and install run time for Java in order for Adobe Products to function. Some of the issues seemed similar to what I'm experiencing. This is from adobe help: http://helpx.adobe.com/x-productkb/global/install-java-jre-mac-os.html

  • I'm trying to find information on a form of message I have received to my iPhone. It appears on locked screen and I must press the green Dismiss icon at bottom to get rid of the message from the unknown sender and to then enter my pass code to enter my is

    I am trying to find information about a type of message I received on my iPhone. It appears as the message only on my locked screen, I must press on the green Dismiss icon at the bottom and the message disappears and then I can unlock my phone with passcode and use phone. This message stays there until I press Dismiss. It shows no sender or where it came from but is being sent to my phone number. Only a message the sender intends me to read shows on the screen then once dismissed, it disappears and does not show up or save in any application on my phone. Any ideas?

    Click here and request assistance.
    (91679)

  • Iphone 4s lock button pressed in

    Hi i have an Iphone 4s and suddenly the button has become pressed in so it no longer clicks or works. How do i got about fixing this, it's not in warranty. MY DIY skills are pretty bad. Thanks.

    If in warrenty and there is no accidental damage done to the device, Free
    If it's out of warrenty 199$

  • My pod is says cloud backup in lock screen and everytime i press ok it does nothing

    everytime i press the button to turn my ipod on it shows  the cloud backup screen which says this ipod hasn't been backed up in two weeks. backups happen when this ipod touch is plugged in lcked and connected to wifi

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Then go to Settings>iCloud>Storage and backup and manually make an iCloud backup

  • Shift and window getting pressed together T420 keyboard.

    Hello, 
    I have T420 laptop. From yesterday I am facing an issue that when I press the left shift key, windows key is also pressed. the same happens when I press the window key.
    Is this a hardware issue or software?
    -Rahul

    hey rahulagarwal,
    hard to say if its hardware or software, I would recommend that you use the Hardware Maintenance Manual to clean the keyboard.
    that might be some grime that is causing this.
    http://support.lenovo.com/en_US/guides-and-manuals/detail.page?DocID=UM006438
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Iphone 5 lock button freezes buttons

    My iPhone 5 lock button presses fine and is smooth but when I press the button it screenshots and then freezes both the home and lock buttons from working. I am wondering why this is and if there is an easy way to fix this.

    Hello jason0819,
    It may help to reset your iPhone.
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    If the behavior persists, the next step would be a restore of the device.
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    Cheers,
    Allen

  • Switching between OS 10 and Windows 8 using VMware

    Using an earlier version of Mac OS, I always used a Spaces window to load VMware Fusion. I could easily switch between OS and Windows by pressing the command and arrow keys. With Spaces no longer available, is it possible to switch between OS and Windows using only the keyboard? Thanks.

    What version of the OS are you running. If 10.7 or later, Spaces have been replaced by Desktops, which can be added just like Spaces.
    Mission Control - Mac Basics
    Mission Control Preferences

  • The "not enough storage" window wont close when i press close and my phone also wont reset because my lock button doesnt work. what do i do? just let the battery drain then turn it on?

    the "not enough storage" window wont close when i press close and it wont reset because my lock button is broken. what do i do?

    Battery does not appear to charge
    Important: iPod touch cannot be charged with a FireWire-based power source.
    Verify that the power source being used is working properly.
    If connecting to a computer's USB port, verify it is a high-powered USB 2.0 port. Note: The USB ports on most keyboards don't provide enough power, so if you're connecting iPod touch to a keyboard, make sure it has a high-powered USB 2.0 port.
    Verify the computer is turned on and not in sleep or standby mode. If iPod touch is connected to a computer that's not turned on or is in sleep or standby mode, the iPod touch battery may drain.
    Try another USB port.
    Try charging from a USB charger if available.
    If that does not help, try another USB cable if available.
    Learn more about charging the battery.
    The Home button isn't working
    Put the iPod Touch to sleep.
    Wait a couple of seconds.
    Press the Home button.
    iPod Touch should wake up.
    If iPod Touch does not wake up, then iPod Touch should be serviced.
    Resources for Service
    http://support.apple.com/kb/he57
    https://selfsolve.apple.com

  • TA44551 My 1-year ipod nano locked up and would not start overnight. The on/off button will not work and stopped holding charge. No water damage, no fall, nothing unusual. I restored it (twice) but it will still not hold charge and on/off does not work.

    My 1-year ipod nano locked up and would not start overnight. The on/off button will not work and stopped holding charge. No water damage, no fall, nothing unusual. I restored it (twice) but it will still not hold charge and on/off does not work. I tried to restore it again and charged it in three different locations with different cables. etc but nothing. Suggestions?

    - After charging for 1/2 hour or so, does iTunes see the iPod?  If yes, restore the iPod from backup.
    - If no, se if placing the iPod in recovery mode will make it visible so you can restore the iPod.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • My iPod touch isn't being recognized by my pc. The lock button on it won't work due to water damage, and a friend of mine fixed the problem by restoring it on his computer. How do I restore it without the lock button?

    My iPod touch isn't being recognized by my pc. The lock button on it won't work due to water damage, and a friend of mine fixed the problem by restoring it on his computer. How do I restore it without the lock button?

    first try:
    iOS: Device not recognized in iTunes for Windows
    next
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • My iphone 4 lock button stopped working and now it won't charge

    Hi.
    A couple of weeks ago my iphone 4's lock button randomly stopped working, I had never dropped my iphone so I couldn't figure out why this had occurred. I did not see this as a big problem until recently when my iphone stopped charging. The iPhone had worked just as normal the day before it stopped charging. I usually charge my iphone over night, but one night it reached around 85% and stopped charging. I have tried it with several different iphone chargers and different plugs in the house but still the iPhone wouldn't charge. Now my iphone has ran out of battery and due to the fact that my lock button is broken, I can't try anything to turn it on. Does my battery need replacing?
    Thanks,
    Anna.

    Try these steps: http://support.apple.com/kb/ts3281

Maybe you are looking for