A minimal Android app showing Zigpoll surveys presented natively with the Zigpoll Android SDK.
- In the Zigpoll dashboard, create a survey and set its delivery type to API (Delivery Settings → API).
- Open this project in Android Studio (the SDK resolves via JitPack).
- In
app/src/main/java/com/zigpoll/example/MainActivity.kt, replace:YOUR_ACCOUNT_ID— your account id (Dashboard → Installation)YOUR_SURVEY_ID— the survey's id
- Run on an emulator or device and tap Trigger survey.
The example uses preview = true, so test responses are not billed or counted in analytics.
Zigpoll.configure/identify/setMetadata/logoutZigpoll.trigger(pollId, activity)presenting a survey in a bottom sheet- Lifecycle callbacks:
onLoad,onComplete,onClose,onError
Full guide: https://docs.zigpoll.com/installation/android-sdk