cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

End User Monitoring (EUM)

How do I initialize Android Mobile Agent on specified activity

SOLVED
Ruli.Handrio
Builder

How do I initialize Android Mobile Agent on specified activity

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 ?  

By replying you agree to the Terms and Conditions of the AppDynamics Community.
How do I initialize Android Mobile Agent on specified activity
1 REPLY 1
Ruli.Handrio
Builder

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.