Tell me how to implement the following algorithm correctly: created service:
public class ServiceCamera extends Service { @Nullable @Override public IBinder onBind(Intent intent) { return null; } }
This service should be launched immediately after clicking on the application's icon, the application without activating, that is, clicking on the icon started the service, which in turn performed the action to start the camera. How to start the camera through the service and start recording video?