- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
This page lists integrated libraries you can use for Android and Android TV applications.
If you use Coil to load images in your application, see Datadog’s dedicated Coil library.
If you use Fresco to load images in your application, see Datadog’s dedicated Fresco library.
If you use Glide to load images in your application, see Datadog’s dedicated Glide library.
If you use Jetpack Compose in your application, see Datadog’s dedicated Jetpack Compose library.
If you use RxJava in your application, see Datadog’s dedicated RxJava library.
If you use Picasso, use it with the OkHttpClient
that’s been instrumented with the Datadog SDK for RUM and APM information about network requests made by Picasso.
val picasso = Picasso.Builder(context)
.downloader(OkHttp3Downloader(okHttpClient))
// …
.build()
Picasso.setSingletonInstance(picasso)
final Picasso picasso = new Picasso.Builder(context)
.downloader(new OkHttp3Downloader(okHttpClient))
// …
.build();
Picasso.setSingletonInstance(picasso);
If you use Retrofit, use it with the OkHttpClient
that’s been instrumented with the Datadog SDK for RUM and APM information about network requests made with Retrofit.
val retrofitClient = Retrofit.Builder()
.client(okHttpClient)
// …
.build()
final Retrofit retrofitClient = new Retrofit.Builder()
.client(okHttpClient)
// …
.build();
If you use SQLDelight in your application, see Datadog’s dedicated SQLDelight library.
Following SQLiteOpenHelper’s generated API documentation, you only have to provide the implementation of the
DatabaseErrorHandler
-> DatadogDatabaseErrorHandler
in the constructor.
Doing this detects whenever a database is corrupted and sends a relevant RUM error event for it.
class <YourOwnSqliteOpenHelper>: SqliteOpenHelper(
<Context>,
<DATABASE_NAME>,
<CursorFactory>,
<DATABASE_VERSION>,
DatadogDatabaseErrorHandler()) {
// …
}
public class <YourOwnSqliteOpenHelper> extends SqliteOpenHelper {
public <YourOwnSqliteOpenHelper>(){
super(<Context>,
<DATABASE_NAME>,
<CursorFactory>,
<DATABASE_VERSION>,
new DatadogDatabaseErrorHandler());
}
}
If you use Apollo, use it with the OkHttpClient
that’s been instrumented with the Datadog SDK for RUM and APM information about all the queries performed through Apollo client.
val apolloClient = ApolloClient.builder()
.okHttpClient(okHttpClient)
.serverUrl(<APOLLO_SERVER_URL>)
.build()
ApolloClient apolloClient = new ApolloClient.builder()
.okHttpClient(okHttpClient)
.serverUrl(<APOLLO_SERVER_URL>)
.build();
If you use the Leanback API to add actions into your Android TV application, see Datadog’s dedicated Android TV library.
If you use Kotlin Coroutines, see Datadog’s dedicated library with extensions for RUM and with extensions for Trace.
추가 유용한 문서, 링크 및 기사: