0
必要なメソッドを含む別のクラスのオブジェクトを作成したいと思います。私のサービスでは、そのクラスのオブジェクトを作成し、必要なメソッドを呼び出す方法。サービス(FirebaseService)のクラスのインスタンスを作成する方法
私はこれをやってみましたが、何のパラメータは、コードの下で渡される必要があります。
private PictureCapturingServiceImpl pictureService;
pictureService = new PictureCapturingServiceImpl();
// here its actually asking to pass Android.app.activity but this is a
// class extends Fire-base Service,so what parameters should be passed .
pictureService.startCapturing(this);