diff options
Diffstat (limited to 'android-mobile/src/org/subsurfacedivelog')
-rw-r--r-- | android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java b/android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java index 52f401b71..c50dfb237 100644 --- a/android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java +++ b/android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java @@ -27,7 +27,7 @@ public class SubsurfaceMobileActivity extends QtActivity public static boolean isIntentPending; public static boolean isInitialized; private static final String TAG = "subsurfacedivelog.mobile"; - public static native void setDeviceString(String deviceString); + public static native void setUsbDevice(UsbDevice usbDevice); private static Context appContext; // we need to provide two endpoints: @@ -105,7 +105,7 @@ public class SubsurfaceMobileActivity extends QtActivity return; } Log.i(TAG + " processIntent device name", device.getDeviceName()); - setDeviceString(device.toString()); + setUsbDevice(device); } // processIntent |