# Android SDK 빠른 시작

이 빠르고 간단한 예제를 사용하여 Pushwoosh Android SDK를 시작하세요.

## 사전 요구 사항

Pushwoosh Android SDK를 앱에 통합하려면 다음이 필요합니다:

<TranslatedFragment id="prerequisites-android" />

## 예제 프로젝트 다운로드

GitHub에서 예제 프로젝트를 복제합니다:
```bash
git clone https://github.com/Pushwoosh/pushwoosh-android-sample
```

## 프로젝트 구성

1. **google-services.json** 파일을 pushwoosh-demoapp/app 디렉터리에 배치합니다.

2. **build.gradle** (모듈: app)에서 `applicationId`를 패키지 이름과 일치하도록 업데이트합니다.

3. **res/values/strings.xml**에서 자리 표시자 값을 특정 세부 정보로 바꿉니다:
  - `pushwoosh_app_id`: Pushwoosh 앱 코드를 사용합니다.
  - `pushwoosh_api_token`: [Pushwoosh Device API Token](/ko/developer/api-reference/api-access-token/#device-api-token)을 사용합니다.
```xml title="strings.xml"
<resources>
    <string name="app_name">demoapp</string>
    <string name="title_home">Actions</string>
    <string name="title_notifications">Settings</string>
    <string name="pushwoosh_app_id">_YOUR_PUSHWOOSH_APP_ID_</string>
    <string name="pushwoosh_api_token">_YOUR_PUSHWOOSH_DEVICE_API_TOKEN_</string>
</resources>
```

## 프로젝트 실행

1. 프로젝트를 빌드하고 실행합니다.
2. 앱에는 "Actions"와 "Settings" 두 개의 탭이 있습니다. **Settings** 탭으로 이동합니다.
3. **Register for Pushes** 버튼을 탭합니다.
4. 푸시 알림 권한을 부여합니다. 기기가 Pushwoosh에 등록됩니다.

다음과 같은 로그 항목이 표시됩니다:
```plaintext title="Logcat"
Log level: INFO
[RequestPermissionHelper] Requesting permissions
Pushwoosh SDK initialized successfully
HWID: __HWID_OF_YOUR_DEVICE__
APP_CODE: __YOUR_PUSHWOOSH_APP_ID__
PUSHWOOSH_SDK_VERSION: __PUSHWOOSH_SDK_VERSION_INSTALLED__
FIREBASE_PROJECT_ID: __YOUR_FIREBASE_PROJECT_ID__
PUSH_TOKEN:
User ID "__USER_ID_OF_THE_DEVICE__" successfully set

[NotificationManager] Registered for push notifications: __DEVICE_PUSH_TOKEN__
```

## 푸시 알림 보내기

Pushwoosh Control Panel로 돌아가 등록된 기기로 [푸시 알림을 보냅니다](/ko/product/messaging-channels/push-notifications/send-push-notifications/one-time-push).

## 다음 단계
더 자세히 알아보려면 [기본 통합 가이드](/ko/developer/pushwoosh-sdk/android-sdk/firebase-integration/integrate-pushwoosh-android-sdk/)를 참조하세요.