Registration is open - Live, Instructor-led Online Classes - Elasticsearch in March - Solr in April - OpenSearch in May. See all classes

Android SDK for Log Shipping & Analytics

A few months back we’ve silently built and open-sourced an Android SDK for shipping logs from mobile apps to Sematext Cloud.  

This library not only lets you send your Android app logs for troubleshooting purposes, but it also lets you collect app usage for analytics purposes!  In other words, shipping logs and usage events from an Android app will give you the ability to both troubleshoot issues with the app, as well as let you gain insights about your app’s usage, adoption, etc.

The library sends data in batches to preserve battery (every 60s), or if there are more than 10 events queued up. Events are saved while the device is offline so you don’t have to worry about losing any data. By default, the library keeps up to 5,000 events while offline. All of this is taken care of by our Android Service, which you will want to configure.

To summarize, what this library gives you is:

  • Ability to centralize your mobile app logs
  • Ability to collect app usage statistics and events for usage analytics purposes
  • Ability to catch uncaught exceptions (crashes) and ship them for later analysis
  • JUL (java.util.logger) integration
  • Support for attaching meta-data to events to allow report slicing and dicing
  • Optimized data shipping to reduce network usage and extend battery life
  • Buffering of data to avoid data loss while device is offline

For more info, see Sematext Logsene Android project on Github. For shipping logs from iOS apps see Sematext Logsene iOS.

Start Free Trial