added example to detect iphone or andriod for ua service