Skip navigation links

Package com.lotadata.moments

Welcome to Moments SDK from LotaData for Android.

See: Description

Package com.lotadata.moments Description

Welcome to Moments SDK from LotaData for Android.

See Moments for interface definition.

To initiate basic stay detection do:
 
     public class HomeActivity extends Activity{

         protected void onCreate(Bundle savedInstanceState) {
             super.onCreate(savedInstanceState);
             ...
             Moments client = MomentsClient.getInstance(this);
         }
     }
 
Inside of your AndroidManifest.xml please include:

             <service android:name="com.lotadata.moments.MomentsService"
                      android:exported="false"/>

             <meta-data android:name="com.lotadata.moments.API_KEY"
                        android:value="_your_key_here_" />
 
See Also:
Moments
Skip navigation links