28 March 2016

My own mobile devices timeline

18 March 2016

Install CyanogenMod 13 (Android 6.0 Marshmallow) on LG Nexus 4

Install adb and fastboot on your PC

download TWRP 3.0.2-0 from here https://dl.twrp.me/mako/
download CM13 zip build file from here https://download.cyanogenmod.org/?device=mako
download Google Open G-Apps from here http://opengapps.org/?api=6.0&variant=pico

reboot phone with
> adb reboot bootloader

install TWRP using fastboot
reboot phone into bootloader using down volume and power buttons
> fastboot oem unlock
reboot phone and go back into bootloader
> fastboot flash recovery twrp-...-mako.img

go straight from bootloader into recovery

use the TWRP menu to

- wipe System, Data and Dalvik Cache

activate TWRP SideLoad option to

use adb to send build zip file to /sdcard
> adb push cm-13.0-...-mako.zip /sdcard

use adb to send zip file to /sdcard
> adb push open_gapps-arm-6.0-pico-....zip /sdcard

use the TWRP Install menu option to

- install both zip files

reboot and wait five minutes

22 November 2015

Windows AdDuplex NuGet support

The best way to integrate AdDuplex into your project is through NuGet system, and not Visual Studio Gallery on MSDN.

This prevent Visual Studio Designer from Unhandled Exceptions.

So, if you already added Reference on installed AdDuplex support from Visual Studio Gallery on MSDN, remove it, and add corresponding NuGet packages for AdDuplex support.

Then in Windows 10 Universal project:

Add a namespace declaration to your page

Add an AdControl to your page:
< adduplex:AdControl AdUnitId="xxxxxx" AppKey="xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" />

Then in Windows 8.1 Store project:

Add a namespace declaration to your page:

Add an AdControl to your page:
< adduplex:AdControl AdUnitId="xxxxxx" AppKey="xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" />

Then in Windows 8.1 Phone project:

Add a namespace declaration to your page:

Add an AdControl to your page:
< adduplex:AdControl AdUnitId="xxxxxx" AppKey="xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" />

Happy coding !


19 October 2015

How to fix MS Office 2016 file associations

If you lost file associations after MS Office 2016 installation, then go to Control Panel - Programs and Features, select Change on right click of the Microsoft Office 2016 item.

Then choose Quick Repair and the problem schould be fixed...

21 September 2015

Setup Windows God mode

This is hidden Windows Icon called God Mode, witch enable you many hidden Control Panel settings. Procedure for creating this God mode icon is:

Step 1: Right click on desktop

Step 2: Click Create folder.

Step 3: Name new folder like this : GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} and press Enter.

Step 4. Enjoy God mode

20 September 2015

How to fix JavaScript IntelliSense in Visual Studio

If you have situation, that after some update in Visual Studio (TypeScript, for example), when you edit a JavaScript file, IntelliSense not work, here is a fix procedure:

Make sure your computer has an internet connection, and
If the Tools for Universal Windows Apps Development are still installed:

Go to Programs and Features, select Visual Studio 2015, click Change.
In Visual Studio setup, click Modify.
Deselect the feature Tools for Universal Windows App Development.
Select Tools for Universal Windows App Development again, and click Update.

If you have already uninstalled the Tools for Universal Windows Apps Development:
Reinstall Tools for Universal Windows App Development.

Or, take the following steps to reinstall the JavaScript project system and language service:
Download the installer for your edition of Visual Studio, such as, vs_community.exe.
Open a command window, and run the following command:
vs_community.exe /modify /installselectableitems JavaScript_Hidden /passive

Change directories to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE.
Run the following commands
devenv /updateconfiguration
devenv /clearcache

16 September 2015

How to recover missing default volume icon in system tray on Windows 10

If you have missing volume icon in system tray on Windows 10, then you should run Registry Editor, with open Run by typing Win+R buttons. Enter "regedit" which means we are editing registry. In here select key 

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Current Version\TrayNotify 

Here find couple of registries name IconStreams and PastIconStreams
Select those and delete them if exists.

Restart Windows Explorer or MS Windows, and your volume icon should be recovered.

How to restart Windows Update service

If your Windows Update Control Panel applet cannot start update process with button "Try again",
then you should press Win+X for Quick Menu and choose Command Prompt (Admin), and type:

  • net stop wuauserv
  • net start wuauserv
After that commands, response should be - successfully, and you can now restart Windows Update Control Panel applet with no problem.

09 September 2015

How to setup Windows Android Intel HAXM AVD Emulator

This is how to setup Windows 7, 8, 8.1 and 10 for Android Intel HAXM AVD Emulator.

In Administrator Command Prompt (Win+X) type:

C:\>bcdedit /copy {current} /d "No Hyper-V" 
The entry was successfully copied to {ff-23-113-824e-5c5144ea}. 

C:\>bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype off 
The operation completed successfully.

In order to access the new boot menu, I select Settings (Windows Key + C) then Power, and Restart but hold down shift on the keyboard while clicking Restart with the mouse.

24 May 2015

How Do I Connect an Android Wear Emulator to a Real Phone ?

After starting Android Wear emulator and connected Real Android Phone :

- start Android Wear App on Real Android Phone and connect to Android Wear Emulator, or

- just type in PC Terminal :

adb -d forward tcp:5601 tcp:5601

Source: http://www.tech-recipes.com/rx/49586/how-do-i-connect-an-android-wear-emulator-to-a-real-phone/

18 May 2015

Android Material compatible theme

If you want to have Android Material compatible theme, you should have like this, in your styles.xml file :

<style name="MyTheme" parent="@style/Theme.AppCompat.Light">
    <item name="android:windowNoTitle">true</item>
    <item name="windowActionBar">false</item>
    <item name="android:windowFullscreen">true</item>
    <item name="android:windowContentOverlay">@null</item>