network on main thread exception .. sample code in MainActivity.