Reference Guide
AlertExp
An Experience that is intended to simply present a notification to the user. This class contains a helper
method, showAlert(). showAlert() parses out the notificationTitle and notificationDescription from the
experience and presents a notification in the Android notification bar with this string.
Java
public void showAlert();
CustomExp
This is a catchall Experience that can be modified to fit your use case in the Footmarks Management
Console. If used, the customized data will be returned in the text property;
Java
public String text: The data to be used for the custom exp (json, xml, text, etc)
Dynamic Payload Examples
To create a dynamic payload for sending to another user/device:
1 Use one of the following helper methods.
CustomExp custom = Experience.initCustomContentWithText("{\"url\":\"http:\
\somethings.com\"}");
HtmlExp html = Experience.initHtmlContentWithText("<div id=\"ad\"
style=\"width:100%;height:90px;\" >\r\n
<iframe\r\n
src=\"http://matthewjamestaylor.com/responsive-ads/ad.html\"\r\n
border=\"0\"\r\n
scrolling=\"no\"\r\n
allowtransparency=\"true\"\r\n
width=\"100%\"\r\n
height=\"100%\"\r\n
style=\"border:0;\">\r\n
</iframe>\r\n
</div>");
ImageExp image = Experience.initImageContentWithUrl("https:\\encrypted-
tbn1.gstatic.com/
images?q=tbn:ANd9GcQTh2cCg6qf3MCmeWekAtnYzVdPEbIqmSjB7ohlv2ThP6sOw9IKZQ");
UrlExp url = Experience.initUrlContentWithUrl("http:\\engadget.com");
VideoExp video = Experience.initVideoContentWithProvider("youtube",
FMDisplayType.Fullscreen,"https://www.youtube.com/watch?v=ysh9vRsiBHM");
2 Call one of the methods on that experience to send it over to the server for queueing.
custom.sendExperienceToDeviceId(deviceId);
custom.sendExperienceToUsername(username);
Experience Properties
ExtremeLocation Android SDK Reference Guide for version 3.1.0 13










