Example of how to use ServerPingWithAlarmManager?

Hi i am an android developer new to Smack and XMPP. Could you provide me a simple code example of how i should use the

ServerPingWithAlarmManager class. Thank you

I have the same problem ,but can not resolve it , wither you find any answer