public static void init(Context context){
  if (cameraManager == null) {
    cameraManager=new CameraManager(context);
  }
}

public static void init ( Context context ) { if ( cameraManager == null ) { cameraManager = new CameraManager ( context ) ; } }
initializes this static object with the context of the calling activity .
