[Doc] Update Android SDK usage docs (#605)

* [Backend] fix lite backend save model error

* [Backend] fixed typos

* [FlyCV] optimize the integration of FlyCV

* [cmake] close some tests options

* [cmake] close some test option

* [FlyCV] remove un-need warnings

* [FlyCV] remove un-need GetMat method

* [FlyCV] optimize FlyCV codes

* [cmake] remove un-need cmake function in examples/CMakelists

* [cmake] support gflags for Android

* [Android] Run button shutter in sub Ui Thread

* [Android] Update CameraSurfaceView

* [Android] Update Android SDK usage docs
This commit is contained in:
DefTruth
2022-11-16 11:11:02 +08:00
committed by GitHub
parent 2f73857b2b
commit fd5328239d
4 changed files with 67 additions and 13 deletions

View File

@@ -159,7 +159,7 @@ public class DetectionMainActivity extends Activity implements View.OnClickListe
@SuppressLint("SetTextI18n")
public void run() {
try {
Thread.sleep(TIME_SLEEP_INTERVAL);
Thread.sleep(TIME_SLEEP_INTERVAL * 2);
svPreview.onPause();
cameraPageView.setVisibility(View.GONE);

View File

@@ -33,7 +33,6 @@ public class CameraSurfaceView extends GLSurfaceView implements Renderer,
public static final int EXPECTED_PREVIEW_WIDTH = 1280;
public static final int EXPECTED_PREVIEW_HEIGHT = 720;
protected int numberOfCameras;
protected int selectedCameraId;
protected boolean disableCamera = false;