Fix a bug, network communication in android higher than ics must not be in main activity.