the first app exported a service, the second app cannot bind the service, and there is no error message.
String serviceName = Constants.SERVICE_NAME_PREFIX + serviceVersion;
ComponentName cpName = new ComponentName(context, serviceName);
Intent service = new Intent();
service.setComponent(cpName);
context.getApplicationContext().bindService(service, connection, Context.BIND_AUTO_CREATE);
the first and the second app has declared the same service, when the second app bind the service, it do not bind that service, but launch a new service with the same name.
String serviceName = Constants.SERVICE_NAME_PREFIX + serviceVersion;
ComponentName cpName = new ComponentName(context, serviceName);
Intent service = new Intent();
service.setComponent(cpName);
context.getApplicationContext().bindService(service, connection, Context.BIND_AUTO_CREATE);
the first and the second app has declared the same service, when the second app bind the service, it do not bind that service, but launch a new service with the same name.