Product Guide
  • Introduction
  • Product Training
    • Account & Project Management
    • Product Feedback Management
    • Product Guide For Session Replay & Heatmap
  • installation
    • Web
      • JavaScript SDK
      • Google Tag Manager
    • Mobile App SDK
      • Android Survey SDK
      • IOS Survey SDK
      • React Native SDK
    • Converse AI
      • Create a new Converse AI
      • Configure Conversation
  • Compose Survey
    • Create With AI
    • Survey From Scratch
    • Survey Templates
    • Enterprise Surveys
    • In-Product Surveys
    • Prototype Tests
    • Replays
    • Website Feedback Button
    • In-Product Video Widget
  • Survey Designer
    • Survey Theme
    • Survey Question Types
      • Welcome Page
      • Net Promoter Score (NPS)
      • Customer Satisfaction Score (CSAT)
      • Customer Effort Score (CES)
      • Video
    • Advance Survey Design
    • Survey Design Guidelines
  • Launch Survey
    • Web Surveys
    • Social Media Survey
    • Email Survey
    • Bulk Email Surveys
    • SMS Survey
      • SMS Survey By Link
    • Website Feedback
    • Events
  • Survey Branching
    • Jumping Questions
    • Disqualify Response
    • Terminate
  • Integration
    • Shopify
    • Slack
    • Google Sheet
    • Zendesk
    • Freshdesk
    • Zapier
    • Google Analytics
    • Square Online Integration
  • Workflows
    • Salesforce Workflow
      • Create an email campaign for Salesforce Case/Opportunity.
      • Map survey response data into Salesforce
        • Create event-based Salesforce workflow
      • Import contact data from Salesforce to Qwary
    • Zendesk Workflow
      • Send post-resolution email surveys campaign
      • Map survey response data into Zendesk
        • Event-based Zendesk workflow
    • Snowflake Workflow
  • Insights
    • Standard Reporting
    • NPS Reporting
    • CSAT/CES Rating
    • Key Driver Analysis
    • Text AI
      • Topics
  • Team Collaboration
    • Invite Team Member
    • Share Survey
    • Share Dashboard
  • Closed Feedback Loop
    • Workflow
    • Native Case Management System
    • Rule Based Email Notifications
  • Use Cases
    • Product Onboarding Surveys
    • Review Generation Campaigns
    • Square Online Customer Feedback
    • Ultimate Guide To Net Promoter Score (NPS)
    • Ultimate Guide For Customer Satisfaction Score (CSAT)
    • Ultimate Guide For Customer Effort Score (CES)
    • Product Survey Questions Guide
    • Segment customers for Email/SMS Surveys
  • Videos
    • Create a Survey
    • Create a Video Survey
    • Question Types
    • Design a Survey
    • Branching
    • Multilingual Surveys
    • Settings
    • Responses Settings
    • Distribute Survey
    • Square Online Integration
    • Analysis
    • Company Settings
    • Page
  • FAQ
    • Delete Test Responses
    • Turn off Qwary Branding
    • How to Configure Custom SMTP for Your Survey?
    • How to Request CNAME?
    • How to use Survey Variables?
    • Adding Hyperlink to Survey Text
    • GDPR Compliance
    • Survey Phishing
    • Enable GeoIP Collection for Your Survey
    • Add Custom Contact Field
    • Unsubscribe Contacts from List
    • Customize Image Size
    • Close Survey on Specific Date
    • Install Qwary Intercept with Single Page Applications
    • Move Survey Question
    • Download Response
    • Enable Partial Submission
  • Account & Billing Management
    • Reset Password
    • Invite Team Member
  • Converse AI
Powered by GitBook
On this page
  • Find Github Project: QwarySurveyAndroid
  • Example

Was this helpful?

  1. installation
  2. Mobile App SDK

Android Survey SDK

Android Library for survey which enables you to integrate feedback into Android app using few lines of code.

PreviousMobile App SDKNextIOS Survey SDK

Last updated 2 years ago

Was this helpful?

Find Github Project:

Example

Create a QwarySurvey Builder Object

Survey builder = new Survey.Builder()

Then set the fields you want.

  new Survey.Builder()
                .setActivity(this)
                .setDomain("domain_url")
                .setToken("survey_token")
                .setLoader(true) //For loading bar visibility
                .setModal(false) //For full and half view
                .setStartAfter(TimeUnit.MINUTES.toMillis(1L)) //To start survey after 1 minute
                .prepare();

To add query params like this.

  new Survey.Builder()
                .setActivity(this)
                .setDomain("domain_url")
                .setToken("survey_token")
                .setParam("email", "abc@gmail.com")
                .setParam("planId", "plan1")
                .showNow();

You can prepare the schedule survey to start after HOURS or DAYS

.setStartAfter(TimeUnit.HOURS.toMillis(1L)) //To start after 1 hour
.setStartAfter(TimeUnit.DAYS.toMillis(1L)) //To start after 1 day

To show the the survey at once without any delay

  new Survey.Builder()
                .setActivity(this)
                .setDomain("domain_url")
                .setToken("survey_token")
                .showNow();

To remove the specific survey from schedule

new Survey.Builder().setActivity(this).clear("token");

Add below into app gradle

  android {
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
  }
QwarySurveyAndroid
Video Instruction for setting up Android Survey SDK