Skip to end of metadata
Go to start of metadata

In order to be able to send messages to your users based on how they use your app, follow the steps below: 

  1. Add this class to your main activity class. 

     doInBackground will call reportAppOpen methode from com.xtify.android.sdk.ClientMetrics class that will inform Xtify servers that the app was opened, then the result of this call will return in onPostExecute. 
     

  2.  Add this line to onCreate() methode after you call xtifyThread and that will execute SendMetricsTask: 

Next Section: Implement Sample Applications (Optional)

Labels: