Splunk AppDynamics

How do I initialize Android Mobile Agent on specified activity

Ruli_Handrio1
Explorer

Hi,

So, normally we can instrument and initialize android agent on mobile application at onCreate() method activity, I wondering if we can initialize the agent on specified method or activity ?  

Labels (1)
0 Karma
1 Solution

Ruli_Handrio1
Explorer

I try to initialize agent on other method and it works, but its not recommended because it may be disrupt registering various  event regarding activities lifecycle or other network request. if any issue occurs when initialize in other method, try to fix it by initializing the agent in on start (MainActivity onCreate method or Application Class.

View solution in original post

0 Karma

Ruli_Handrio1
Explorer

I try to initialize agent on other method and it works, but its not recommended because it may be disrupt registering various  event regarding activities lifecycle or other network request. if any issue occurs when initialize in other method, try to fix it by initializing the agent in on start (MainActivity onCreate method or Application Class.

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...