Skip to content

Commit c3be56e

Browse files
authored
updating readme
1 parent 8e90a62 commit c3be56e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Take pictures secretly (without preview or launching device's camera app) from a
33

44
## Usage
55

6-
- Implement the interface ```PictureCapturingListener``` and override the following methods:
6+
- Implement the interface <a href="https://github.com/hzitoun/android-camera2-secret-picture-taker/blob/master/app/src/main/java/com/hzitoun/camera2SecretPictureTaker/listeners/PictureCapturingListener.java">```PictureCapturingListener```</a> and override the following methods:
77
- ``` void onDoneCapturingAllPhotos(TreeMap<String, byte[]> picturesTaken) ``` which is called when we've done taking pictures from ALL available cameras OR when NO camera was detected on the device;
88
- ``` void onDoneCapturingAllPhotos(TreeMap<String, byte[]> picturesTaken) ``` to get a couple (picture Url, picture Data). Use this method if you don't want to wait for ALL pictures to be ready;
9-
- Create a new instance of ```APictureCapturingService```
10-
- Start capture by calling the method ```APictureCapturingService#startCapturing(PictureCapturingListener listener) ``` and pass the listener you've just implemented
9+
- Create a new instance of <a href="https://github.com/hzitoun/android-camera2-secret-picture-taker/blob/master/app/src/main/java/com/hzitoun/camera2SecretPictureTaker/services/APictureCapturingService.java">```APictureCapturingService``` </a> using <a href="https://github.com/hzitoun/android-camera2-secret-picture-taker/blob/master/app/src/main/java/com/hzitoun/camera2SecretPictureTaker/services/PictureCapturingServiceImpl.java">```PictureCapturingServiceImpl#getInstance()```</a> method;
10+
- **Start capture** by calling the method ```APictureCapturingService#startCapturing(PictureCapturingListener listener) ``` and pass the listener you've just implemented
1111

1212
## How can I support this project?
1313
- Star this GitHub repo :star:

0 commit comments

Comments
 (0)