Query Automating Default Android APP

Hi

I want to know that can I automate default android appliactions like messaging, dialer, music etc without having the apk using appium?

Yes, you just have to know the app package and activity.

Example (Dialer):
capabilities.setCapability(MobileCapabilityType.APP_PACKAGE, “com.android.dialer”);
capabilities.setCapability(MobileCapabilityType.APP_ACTIVITY, “com.android.dialer.DialtactsActivity”);

Hi @James_Kim
can you share a example java test case for android based on dialer.
Also please how to get the appication activity?

THANKS