Browse Source

添加arm64-v8a架构支持

main
jiangdongguo 7 years ago
parent
commit
b57bbb45c1
  1. 1
      app/src/main/AndroidManifest.xml
  2. 2
      libusbcamera/src/main/java/com/jiangdg/usbcamera/USBCameraManager.java
  3. BIN
      libusbcamera/src/main/jniLibs/arm64-v8a/libUVCCamera.so
  4. BIN
      libusbcamera/src/main/jniLibs/arm64-v8a/libjpeg-turbo1500.so
  5. BIN
      libusbcamera/src/main/jniLibs/arm64-v8a/libusb100.so
  6. BIN
      libusbcamera/src/main/jniLibs/arm64-v8a/libuvc.so

1
app/src/main/AndroidManifest.xml

@ -7,7 +7,6 @@
<application <application
android:name=".application.MyApplication"
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"

2
libusbcamera/src/main/java/com/jiangdg/usbcamera/USBCameraManager.java

@ -244,7 +244,7 @@ public class USBCameraManager{
} }
} }
private void startPreview(CameraViewInterface cameraView) { public void startPreview(CameraViewInterface cameraView) {
SurfaceTexture st = cameraView.getSurfaceTexture(); SurfaceTexture st = cameraView.getSurfaceTexture();
if(mCameraHandler != null){ if(mCameraHandler != null){
mCameraHandler.startPreview(st); mCameraHandler.startPreview(st);

BIN
libusbcamera/src/main/jniLibs/arm64-v8a/libUVCCamera.so

Binary file not shown.

BIN
libusbcamera/src/main/jniLibs/arm64-v8a/libjpeg-turbo1500.so

Binary file not shown.

BIN
libusbcamera/src/main/jniLibs/arm64-v8a/libusb100.so

Binary file not shown.

BIN
libusbcamera/src/main/jniLibs/arm64-v8a/libuvc.so

Binary file not shown.
Loading…
Cancel
Save