Android ping programmatically example. root_view_of_your_activity_layout).