Code, Career & Everything IT

Blogs about my IT work, life, and example code — from PHP and .NET to Java, career notes and tech opinions.

News

Whatsapp VOIP feature

Source:Open Clip Art Using Under Public Domain Attribution Whatsapp started to roll out their VOIP feature to a group of selected users for a trial. I and my…

Read more
Example Codes

Refresh Datagrid in WPF

There is no such things for DataGrid.DataBinding() in Datagrid, WPF, the data grid should update itself if any items in the collection is changed. However, I…

Read more
Announcements [A]

How to set whether display error in php

By the default, whether the php will display error message is controlled by php.ini. If you are using a shared host, you cannot change it. So, you have to add…

Read more
Android programming

Quick Fix for Android Studio - Alt+Enter

This is the first keyboard shortcut you need to learn if you use Android Studio. This is ALT+Enter. It opens to Quick Fix Menu, which has the suggestions about…

Read more
News

WhatsApp (web version)

I tried WhatsApp, Web version, that is very easy to use. Firstly, go to https://web.whatsapp.com/. Then open WhatsApp in my phone, click Menu->WhatsApp.…

Read more
Open source resources

Visual Studio 2013 Express is ok so far

I am running out of licenses for Visual Studio Professional. Solution 1 is asking for more budget this year in IT. Another option is using Express version. I…

Read more
Android programming

Id in onItemClick is not your Object Id

public abstract void onItemClick (AdapterView<?> parent, View view, int position, long id) in AdapterView Last parameter calls id, but that will be row id,…

Read more
Android programming

findViewById in Fragment

In Fragment sub class in Android, you cannot directly use findViewById() to retrieve the control from view , similar with Activity. You need to do a single…

Read more