| [ Web Proxy ] |
| Viewing: https://docs.mparticle.com/developers/quickstart/android/testing/ | [Back] [Original] |
Data Subject Request API Version 1 and 2
Data Subject Request API Version 3
Platform APIKey Management
Platform API Overview
Accounts
Apps
Audiences
Calculated Attributes
Data Points
Feeds
Field Transformations
Services
Users
Workspaces
Warehouse Sync APIWarehouse Sync API Overview
Warehouse Sync API Tutorial
Warehouse Sync API Reference
Data Mapping
Warehouse Sync SQL Reference
Warehouse Sync Troubleshooting Guide
ComposeID
Warehouse Sync API v2 Migration
Audit Logs API
Bulk Profile Deletion API Reference
Calculated Attributes Seeding API
Custom Access Roles API
Data Planning API
Household Reach API Reference
Pixel Service
Profile API
Events API
mParticle JSON Schema Reference
IDSync
Client SDKsAMPAMP SDK
AndroidInitialization
Configuration
Network Security Configuration
Event Tracking
User Attributes
IDSync
Screen Events
Commerce Events
Location Tracking
Media
Kits
Application State and Session Management
Data Privacy Controls
Error Tracking
Opt Out
Push Notifications
WebView Integration
Logger
Preventing Blocked HTTP Traffic with CNAME
Workspace Switching
Linting Data Plans
Troubleshooting the Android SDK
API Reference
Upgrade to Version 5
Upgrade to Version 6
CordovaCordova Plugin
Identity
Direct Url RoutingDirect URL Routing FAQ
Web
Android
iOS
FlutterGetting Started
Usage
API Reference
iOSWorkspace Switching
Initialization
Configuration
Event Tracking
User Attributes
IDSync
Screen Tracking
Commerce Events
Location Tracking
Media
Kits
Application State and Session Management
Data Privacy Controls
Error Tracking
Opt Out
Push Notifications
Webview Integration
Upload Frequency
Preventing Blocked HTTP Traffic with CNAME
Linting Data Plans
Troubleshooting iOS SDK
Social Networks
iOS 14 Guide
iOS 15 FAQ
iOS 16 FAQ
iOS 17 FAQ
iOS 18 FAQ
API Reference
Upgrade to Version 7
Upgrade to Version 9
React NativeGetting Started
Identity
RokuGetting Started
Identity
Media
UnityUpload Frequency
Getting Started
Opt Out
Initialize the SDK
Event Tracking
Commerce Tracking
Error Tracking
Screen Tracking
Identity
Location Tracking
Session Management
XboxGetting Started
Identity
WebInitialization
Content Security Policy
Configuration
Event Tracking
User Attributes
IDSync
Page View Tracking
Commerce Events
Location Tracking
Media
Kits
Application State and Session Management
Data Privacy Controls
Error Tracking
Opt Out
Custom Logger
Persistence
Native Web Views
Self-Hosting
Multiple Instances
Web SDK via Google Tag Manager
Preventing Blocked HTTP Traffic with CNAME
Facebook Instant Articles
Troubleshooting the Web SDK
Browser Compatibility
Linting Data Plans
API Reference
Upgrade to Version 2 of the SDK
XamarinGetting Started
Identity
Alexa
QuickstartAndroidOverview
Step 1. Create an input
Step 2. Verify your input
Step 3. Set up your output
Step 4. Create a connection
Step 5. Verify your connection
Step 6. Track events
Step 7. Track user data
Step 8. Create a data plan
Step 9. Test your local app
iOS Quick StartOverview
Step 1. Create an input
Step 2. Verify your input
Step 3. Set up your output
Step 4. Create a connection
Step 5. Verify your connection
Step 6. Track events
Step 7. Track user data
Step 8. Create a data plan
HTTP Quick StartStep 1. Create an input
Step 2. Create an output
Step 3. Verify output
Java Quick StartStep 1. Create an input
Step 2. Create an output
Step 3. Verify output
Node Quick StartStep 1. Create an input
Step 2. Create an output
Step 3. Verify output
Python Quick StartStep 1. Create an input
Step 2. Create an output
Step 3. Verify output
WebOverview
Step 1. Create an input
Step 2. Verify your input
Step 3. Set up your output
Step 4. Create a connection
Step 5. Verify your connection
Step 6. Track events
Step 7. Track user data
Step 8. Create a data plan
Media SDKsAndroid
Web
iOS
Server SDKsNode SDK
Go SDK
Python SDK
Ruby SDK
Java SDK
ToolsmParticle Command Line Interface
Linting Tools
Smartype
GuidesPartnersIntroduction
Outbound IntegrationsOutbound Integrations
Firehose Java SDK
Inbound Integrations
Kit IntegrationsOverview
Android Kit Integration
JavaScript Kit Integration
iOS Kit Integration
Compose ID
Data Hosting Locations
Glossary
Migrate from Segment to mParticleMigrate from Segment to mParticle
Migrate from Segment to Client-side mParticle
Migrate from Segment to Server-side mParticle
Segment-to-mParticle Migration Reference
Rules Developer Guide
API Credential Management
The Developer's Guided Journey to mParticle
GuidesComposable AudiencesComposable Audiences Overview
User GuideUser Guide Overview
Warehouse SetupWarehouse Setup Overview
ConnectionsConnections Overview
Google BigQuery
Databricks
Amazon Redshift
Snowflake
Data ModelsData Models Overview
Create a User Data Model
Create an Event Data Model
Create a Generic Data Model
Audience Setup
Frequently Asked Questions
Customer 360Overview
User ProfilesOverview
User Profiles
Household Reach
Calculated AttributesCalculated Attributes Overview
Using Calculated Attributes
Create with AI Assistance
Calculated Attributes Reference
PredictionsPredictions Overview
What's Changed in the New Predictions UI
View and Manage Predictions
Predict Future BehaviorFuture Behavior Predictions Overview
Create Future Behavior Prediction
Manage Future Behavior Predictions
Create an Audience with Future Behavior Predictions
Next Best ActionNext Best Action Overview
Create a Next Best Action Prediction
Manage Next Best Actions
Create an Audience with Next Best Actions
Find Similar CustomersSimilar Customer Predictions Overview
Create Similar Customer Prediction
Manage Similar Customer Predictions
Build an Audience with Similar Customer Predictions
IdentityIdentity Dashboard
Identity Logs
Getting StartedCreate an Input
Start capturing data
Connect an Event Output
Create an Audience
Connect an Audience Output
Transform and Enhance Your Data
Platform GuideBillingUsage and Billing Report
The New mParticle ExperienceThe new mParticle Experience
The Overview Map
ObservabilityObservability Overview
Observability User Guide
Observability Troubleshooting Examples
Observability Span Glossary
Platform SettingsAudit Logs
Key Management
Platform Configuration
Event Forwarding
Event Match Quality Dashboard
Notifications
System Alerts
Trends
Introduction
Data Retention
Data Catalog
Connections
Activity
Data Plans
Live Stream
Filters
Consent Filters
Rules
Blocked Data Backfill Guide
Tiered Events
mParticle Users and Roles
Analytics Free Trial
Troubleshooting mParticle
Usage metering for value-based pricing (VBP)
IDSyncIDSync Overview
Use Cases for IDSync
Components of IDSync
Store and Organize User Data
Identify Users
Default IDSync Configuration
Profile Conversion Strategy
Profile Link Strategy
Profile Isolation Strategy
Best Match Strategy
Aliasing
SegmentationAudiencesAudiences Overview
Create an Audience
Connect an Audience
Manage Audiences
Audience Sharing
Audience Expansion
Match Boost
FAQ
Inclusive & Exclusive Audiences (Early Access)Inclusive & Exclusive Audiences Overview
Using Logic Blocks in Audiences
Combining Inclusive and Exclusive Audiences
Inclusive & Exclusive Audiences FAQ
Audience Agent (Early Access)Audience Agent Overview
Building Audiences with the Agent
Data and Privacy
Classic AudiencesStandard Audiences (Legacy)
Predictive AudiencesPredictive Audiences Overview
Using Predictive Audiences
New vs. Classic Experience Comparison
AnalyticsIntroduction
Core Analytics (Beta)
SetupSync and Activate Analytics User Segments in mParticle
User Segment Activation
Welcome Page Announcements
SettingsProject Settings
Roles and Teammates
Organization Settings
Global Project Filters
Portfolio Analytics
Analytics Data ManagerAnalytics Data Manager Overview
Events
Event Properties
User Properties
Revenue Mapping
Export Data
UTM Guide
AnalysesAnalyses Introduction
Segmentation: BasicsGetting Started
Visualization Options
For Clauses
Date Range and Time Settings
Calculator
Numerical Settings
Segmentation: AdvancedAssisted Analysis
Properties Explorer
Frequency in Segmentation
Trends in Segmentation
Did [not] Perform Clauses
Cumulative vs. Non-Cumulative Analysis in Segmentation
Total Count of vs. Users Who Performed
Save Your Segmentation Analysis
Export Results in Segmentation
Explore Users from Segmentation
Funnels: BasicsGetting Started with Funnels
Group By Settings
Conversion Window
Tracking Properties
Date Range and Time Settings
Visualization Options
Interpreting a Funnel Analysis
Funnels: AdvancedGroup By
Filters
Conversion over Time
Conversion Order
Trends
Funnel Direction
Multi-path Funnels
Analyze as Cohort from Funnel
Save a Funnel Analysis
Explore Users from a Funnel
Export Results from a Funnel
CohortsGetting Started with Cohorts
Analysis Modes
Save a Cohort Analysis
Export Results
Explore Users
Saved Analyses
Manage Analyses in Dashboards
JourneysGetting Started
Event Menu
Visualization
Ending Event
Save a Journey Analysis
UsersGetting Started
User Activity Timelines
Time Settings
Export Results
Save A User Analysis
Query BuilderData Dictionary
Query Builder Overview
Modify Filters With And/Or Clauses
Query-time Sampling
Query Notes
Filter Where Clauses
Event vs. User Properties
Group By Clauses
Annotations
Cross-tool Compatibility
Apply All for Filter Where Clauses
Date Range and Time Settings Overview
User Attributes at Event Time
Understanding the Screen View Event
User Aliasing
DashboardsDashboardsGetting Started
Manage Dashboards
Organize Dashboards
Dashboard Filters
Scheduled Reports
Favorites
Time and Interval Settings in Dashboards
Query Notes in Dashboards
Analytics ResourcesThe Demo Environment
Keyboard Shortcuts
User Segments
TutorialsAnalytics for Marketers
Analytics for Product Managers
Compare Conversion Across Acquisition Sources
Analyze Product Feature Usage
Identify Points of User Friction
Time-based Subscription Analysis
Dashboard Tips and Tricks
Understand Product Stickiness
Optimize User Flow with A/B Testing
APIsUser Segments Export API
Dashboard Filter API
Warehouse SyncWarehouse Sync User Guide
Historical Data and Warehouse Sync
Data Privacy Controls
Data Subject Requests
Default Service Limits
Feeds
Cross-Account Audience Sharing
Import Data with CSV FilesImport Data with CSV Files
CSV File Reference
SFTP Credentials
Glossary
Video Index
Analytics (Deprecated)Identity ProvidersSingle Sign-On (SSO)
Setup Examples
SettingsDebug Console
Data Warehouse Delay Alerting
Introduction
Developer DocsIntroduction
IntegrationsIntroduction
Rudderstack
Google Tag Manager
Segment
Data Warehouses and Data LakesAdvanced Data Warehouse Settings
AWS Kinesis (Snowplow)
AWS Redshift (Define Your Own Schema)
AWS S3 Integration (Define Your Own Schema)
AWS S3 (Snowplow Schema)
BigQuery (Snowplow Schema)
BigQuery Firebase Schema
BigQuery (Define Your Own Schema)
GCP BigQuery Export
Snowflake (Snowplow Schema)
Snowplow Schema Overview
Snowflake (Define Your Own Schema)
APIsDashboard Filter API (Deprecated)
REST API
User Segments Export API (Deprecated)
SDKsSDKs Introduction
React Native
iOS
Android
Java
JavaScript
Python
Object API
Developer BasicsAliasing
Integrations24iEvent
AarkiAudience
AdChemixEvent
ABTastyAudience
ActableFeed
AdikteevAudience
Event
AdMediaAudience
AdjustEvent
Feed
Adobe Marketing CloudCookie Sync
Server-to-Server Events
Platform SDK Events
Adobe Audience ManagerAudience
Adobe Campaign ManagerAudience
Adobe Experience PlatformEvent
Adobe TargetAudience
AdPredictiveFeed
AgilOneEvent
Amazon AdvertisingAudience
Event
AirshipAudience
Feed
Event
Amazon KinesisEvent
AlgoliaEvent
Amazon Kinesis FirehoseAudience
Event
Amazon S3Audience
Event
Amazon RedshiftData Warehouse
Amazon SNSEvent
Amazon SQSEvent
AmplitudeForwarding Data Subject Requests
Event
AmobeeAudience
AmpushAudience
Event
AnalyticsAudience
Event
Forwarding Data Subject Requests
AnodotEvent
AntavoFeed
AppLovinAudience
Event
AppsFlyerFeed
Forwarding Data Subject Requests
Event
ApptentiveEvent
ApptimizeEvent
ApteligentEvent
AwinEvent
BatchAudience
Event
Microsoft Azure Blob StorageEvent
BideaseAudience
BluecoreEvent
Bing AdsEvent
BluedotFeed
BlueshiftEvent
Feed
Forwarding Data Subject Requests
Branch S2S EventEvent
BranchEvent
Feed
Forwarding Data Subject Requests
BrazeAudience
Forwarding Data Subject Requests
Feed
Event
ButtonAudience
Event
CadentAudience
BugsnagEvent
CensusFeed
CleverTapAudience
Event
Feed
comScoreEvent
ConversantEvent
CordialAudience
Feed
CortexEvent
Forwarding Data Subject Requests
Feed
CriteoAudience
Event
Custom FeedCustom Feed
Crossing MindsEvent
CustomerGluEvent
Feed
Customer.ioAudience
Event
Feed
DatabricksData Warehouse
DatadogEvent
Dynamic YieldEvent
Audience
DidomiEvent
Eagle EyeAudience
Edge226Audience
EmarsysAudience
EpsilonEvent
EverflowAudience
FacebookAudience
Event
Facebook Offline ConversionsEvent
FlurryEvent
Google Analytics for FirebaseEvent
FlybitsEvent
ForeSeeEvent
FoursquareAudience
Feed
FriendbuyEvent
FreeWheel Data SuiteAudience
Google Ad ManagerAudience
Google AdsAudience
Event
Google AnalyticsEvent
Google Analytics 4Event
Google BigQueryAudience
Data Warehouse
Google Cloud StorageAudience
Event
Google Enhanced ConversionsEvent
Google Marketing Platform Offline ConversionsEvent
Google Marketing PlatformAudience
Cookie Sync
Event
Google Pub/SubEvent
Google Tag ManagerEvent
HeapEvent
HightouchFeed
HerowFeed
HyperlocologyEvent
IbottaEvent
ID5Kit
ImpactEvent
InMarketAudience
InsiderAudience
Feed
Event
InMobiAudience
Event
IntercomEvent
iPostAudience
Feed
InspectletEvent
ironSourceAudience
IterableEvent
Audience
Feed
JamppAudience
Event
KafkaEvent
KayzenAudience
Event
KissmetricsEvent
KlaviyoEvent
Audience
KubitEvent
LaunchDarklyFeed
KochavaEvent
Feed
Forwarding Data Subject Requests
LifeStreetAudience
LeanplumAudience
Event
Feed
LinkedInAudience
LinkedIn Conversions API Integration
LiftoffAudience
Event
LiveLikeEvent
LiverampAudience
LocalyticsEvent
MadHiveAudience
mAdme TechnologiesEvent
MarigoldAudience
MauticAudience
Event
MediaMathAudience
AttentiveFeed
Event
MailchimpFeed
Event
Audience
MediasmartAudience
Microsoft AdsMicrosoft Ads Audience Integration
Microsoft Azure Event HubsEvent
MintegralAudience
MoEngageAudience
Event
Feed
MonetateEvent
MolocoEvent
Audience
Movable InkEvent
MixpanelEvent
Audience
Mixpanel Cohort Feed Integration
Forwarding Data Subject Requests
Movable Ink - V2Event
MultipliedEvent
myTargetAudience
Event
Nami MLFeed
NanigansEvent
NarrativeEvent
Feed
Audience
NeuraEvent
NCR AlohaEvent
OneTrustEvent
OptimizelyAudience
Event
Oracle BlueKaiEvent
PaytronixFeed
Persona.lyAudience
Oracle ResponsysAudience
Event
Personify XPEvent
PieEyeInbound Data Subject Requests
PilgrimEvent
Feed
PinterestAudience
Event
PlarinEvent
PostieAudience
Event
PunchhAudience
Event
Feed
PrimerEvent
PushwooshAudience
Event
QuantcastEvent
QualtricsEvent
RadarEvent
Feed
RakutenEvent
RemergeEvent
Audience
Retina AIEvent
Feed
Reveal MobileEvent
RegalEvent
RoktAudience
Rokt Thanks and Pay+
Event
RevenueCatFeed
SailthruAudience
Event
Salesforce EmailAudience
Event
Feed
RTB HouseEvent
Audience
Salesforce Mobile PushEvent
Salesforce Sales and Service CloudEvent
Feed
Samba TVAudience
Event
ScalarrEvent
SendGridAudience
Feed
SessionMEvent
Feed
SFTPAudience
ShareThisAudience
Feed
ShopifyCustom Pixel
Feed
SingularEvent
Feed
SimpleReachEvent
SkyhookEvent
SlackEvent
Singular-DEPRECATEDEvent
SmadexAudience
SmarterHQEvent
SnapchatAudience
Event
Snapchat ConversionsEvent
SnowflakeData Warehouse
Audience
SnowplowEvent
SplitEvent
Feed
Splunk MINTEvent
SprigAudience
Event
StartAppAudience
StatsigFeed
Event
StormlyAudience
Event
Talon.OneAudience
Event
Loyalty Feed
Feed
SwrveEvent
Feed
TapadAudience
TaplyticsEvent
TapjoyAudience
TapticaAudience
TeakAudience
The Trade DeskAudience
Cookie Sync
Event
TicketureFeed
TikTok EventAudience
Audience (Deprecated)
Event
Audience Migration
Treasure DataAudience
Event
Triton DigitalAudience
TwitterEvent
Audience
TUNEEvent
VibeAudience
VkontakteAudience
VoucherifyEvent
Audience
VungleAudience
ValidEvent
WebhookEvent
White Label LoyaltyEvent
WebtrendsEvent
WootricEvent
XEvent
YotpoFeed
XandrCookie Sync
Audience
Yahoo (formerly Verizon Media)Audience
Cookie Sync
ZendeskFeed
Event
Z2A DigitalAudience
Event
YouAppiAudience
RedditAudience
Event
To test your mParticle local sample app:
To integrate a kit to a local sample app project:
Navigate to the app/libs folder using command cd app/libs (you can use the Tab key to autocomplete the path).
git clone kit-repo-url.cd kit-name or use the Tab key to add the path name to the kit repository name.git checkout branch-name or git checkout -b new-branch-name.build.gradle.kts file: implementation(project(":mparticle-android-integration-*replace-with-kit-name*")).settings.gradle file:include ':mparticle-android-integration-replace-with-kit-name
project(':mparticle-android-integration-*replace-with-kit-name*').projectDir = new File('app/libs/mparticle-android-integration-replace-with-kit-name).cdHiggsShopSampleApplication(), replacing .credentials(*your-apiKey,*your-apiSecret*).You can now test your kit integration. Place a breakpoint inside the kits onCreate() and run the app in debug mode. If the kit is integrated, the breakpoint should trigger, indicating the kit is being initialized.
Due to the complexity of the multi-module configuration of the SDK, adding it directly as an operable module in the sample app is not currently supported. Different steps must be taken to build the SDK locally and add it as a dependency.
./gradlew publishReleaseLocal. This command creates a local snapshot of the SDK.build.gradle.kts file, replace the original core implementation with yours. You can find the name in your local m2 folder. The dependency should contain the word SNAPSHOT. The complete dependency should be similar to the following: implementation("com.mparticle:android-core:#.##.#-SNAPSHOT".You can now test your changes locally.
Was this page helpful?
| Web Proxy Viewer | New URL | Original Page |