Friday, February 20, 2015

How to Disable Windows 8.1 Update Notification

This is all you need to do, BLAM!
  1. Create this key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore
  2. Create this String value inside WindowsStore:  DisableOSUpgrade (set its value to 1)
  3. Uninstall and hide it next time you see it in Windows Update:  KB2871389
  4. Make Windows ask you what updates you want to download and install
  • http://www.askvg.com/how-to-disable-update-to-windows-8-1-for-free-notification-in-windows-8-store/
  • http://www.eightforums.com/tutorials/37808-update-windows-8-1-store-prompt-enable-disable.html

Sunday, February 8, 2015

Android Studio ADB Doesn't Recognize Samsung Galaxy S5

Problem:  You're trying to test your awesome Android/Java code on a real live phone connected via USB, but Android Studio doesn't recognize your device no matter what you do.  Well, here is a checklist of items to make sure you have to ensure your device is recognized:

In Short:
  • Turn on Debugging Options and enable USB Debugging
  • Install Google USB Drivers from SDK Menu in Android Studio
  • Install "Samsung USB Driver for Mobile Phones"
  • Restart adb and check if your phone is in the list
  • Accept the RSA Fingerprint verification on phone
Details:
  • Connect your device via USB to your computer
  • Turn on Debugging options on your phone by tapping "Build Number" seven times in the "About Device" in your phone settings
  • Open the "Developer Options" in your phone settings and make sure "USB Debugging" is checked
  • Go to the "SDK Manager" of Android Studio and install "Google USB Driver"
  • Install "Samsung USB Driver for Mobile Phones" from Samsung:  http://developer.samsung.com/technical-doc/view.do?v=T000000117
  • Restart ADB and verify device from command line (I only typed adb devices):  
    • C:\Users\hans\AppData\Local\Android\sdk\platform-tools\adb kill-server
    • C:\Users\hans\AppData\Local\Android\sdk\platform-tools\adb start-server
    • C:\Users\hans\AppData\Local\Android\sdk\platform-tools\adb devices
  • Somewhere in this last step, your phone will prompt you for an "RSA Fingerprint" verification.  In this case, you accept.  If you see this, then you're GOLDEN!