Detect online status

An example showing how to detect online status using Tizen 2.3.