public static void callAgentApp(Context context,String operation,String appUri,String appName){
  Intent intent=new Intent(Constants.AGENT_APP_SERVICE_NAME);
  Intent explicitIntent=createExplicitFromImplicitIntent(context,intent);
  if (explicitIntent != null) {
    intent=explicitIntent;
  }
  intent.putExtra("code",operation);
  intent.setPackage(Constants.PACKAGE_NAME);
  if (appUri != null) {
    intent.putExtra("appUri",appUri);
  }
  if (appName != null) {
    intent.putExtra("appName",appName);
  }
  context.startService(intent);
}

public static void callAgentApp ( Context context , String operation , String appUri , String appName ) { Intent intent = new Intent ( Constants . AGENT_APP_SERVICE_NAME ) ; Intent explicitIntent = createExplicitFromImplicitIntent ( context , intent ) ; if ( explicitIntent != null ) { intent = explicitIntent ; } intent . putExtra ( "code" , operation ) ; intent . setPackage ( Constants . PACKAGE_NAME ) ; if ( appUri != null ) { intent . putExtra ( "appUri" , appUri ) ; } if ( appName != null ) { intent . putExtra ( "appName" , appName ) ; } context . startService ( intent ) ; }
call emm system app in cope mode .
