Setup & Start Recording
This section deals with how to setup Smartlook SDK and start recording the application.
To start recording, just put the following code into the application. Once the application runs on a device or in a simulator, recording will appear in the dashboard.
Some Android simulators are not very reliable when running low-level libraries like Smartlook. Testing on real devices is preferred when debugging an application that utilizes Smartlook.
In order to function properly, the setup should happen as soon as possible in the application life cycle:
This is basically all that is needed to record the sessions. All other events in the application life cycle are handled by Smartlook automatically.
It may take several minutes before the recordings appear in the Dashboard. In the default setup, recordings are not uploaded when the device is on a mobile network. For the recordings being available immediately, the device must be on WiFi, or mobile uploads must be enabled in the project dashboard. The recording is not streamed, it is uploaded in chunks and then processed on the server. In depth description when the recordings will be availabe in the project dashboard provides this document.
Smartlook recording can be customized by several parameters. Some of the recording customization options can be set by dedicated methods, some others can be also set as startup options.
Not all options are available on all platforms. For a comprehensive list of all the setup options and related details, consult our API reference.