mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 00:33:03 +08:00
[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:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user