nexus-4

fatal signal 11 SIGSEGV when closing BluetoothSocket on Android 4.2.2 and 4.3

本秂侑毒 提交于 2019-12-06 04:12:01
问题 My application worked fine under Android 2.3.3 to 4.1.2, but since Android 4.2.2 and Android 4.3, I have a fatal signal 11 (SIGSEGV) at 0x00.... when I close the bluetooth socket. I've searching trough a lot of forums, and the main response is that the BluetoothSocket.close(); is called from two different thread at the same time, but it's not the case in my code. I'm using Samsung Galaxy Note 2 under A4.1.2 (works ok) and Nexus 4 for A4.2.2 and 4.3. Thank you in advance for your suggestions !

Nexus 4 Camera preview aspect Ratio always requires 16x9 surfaceview? Why

杀马特。学长 韩版系。学妹 提交于 2019-12-05 13:39:22
问题 Device Nexus 4 Android ver: 4.2.2 Hoping someone else has found this and can explain how to resolve it.... Nexus 4 supports the following preview sizes: - W:1280 H:720 Ratio: 1.777777 W:800 H:480 Ratio: 1.6666666 W:768 H:432 Ratio: 1.7777778 W:720 H:480 Ratio: 1.5 W:640 H:480 Ratio: 1.3333334 W:576 H:432 Ratio: 1.3333334 W:480 H:320 Ratio: 1.5 W:384 H:288 Ratio: 1.3333334 W:352 H:288 Ratio: 1.2222222 W:320 H:240 Ratio: 1.3333334 W:240 H:160 Ratio: 1.5 W:176 H:144 Ratio: 1.2222222 myCamera

Nexus 4 camera flash doesn't fire when focus mode is set to continuous-picture

爱⌒轻易说出口 提交于 2019-12-05 10:21:55
I've encountered a strange issue, specifically on a Nexus 4 (though it may exist on other devices), where the camera flash won't fire when the focus mode is set to FOCUS_MODE_CONTINUOUS_PICTURE . The same code works fine on a Galaxy Nexus running the same version of Android (4.2.1). Has anyone encountered this problem before? I can fix the issue by simply switching the focus mode to FOCUS_MODE_AUTO . I'm hoping there is an easy work around for this issue, since the continuous picture focus mode is pretty crucial. (For what it's worth just wrapping up my comment in an answer.) The reason I

Any idea why adb does not recognize my nexus 4 on mac

六眼飞鱼酱① 提交于 2019-12-05 09:02:44
I can't figure out why my nexus 4 is absent from the list of adb devices. I've tried the following $ adb kill-server; adb devices $ echo 0x18d1 >> ~/.android/adb_usb.ini $ adb kill-server; adb devices Changed usb computer connection type to PTP instead of MTP Restarted the phone etc Adb is on my path. Nexus 4 shows up when I view System Information. I've tried asking on xda devs but no luck. Any suggestions on what I can try? Thanks in advance Very weird, I switched to a cheap chinese made cable and now adb sees my device. I was only getting a blank result when I run: ./adb devices nothing

Adb shell getevent method returns twice the value for X and Y on Nexus 4

懵懂的女人 提交于 2019-12-04 14:53:17
I am currently trying to generate a complex gesture via the sendevent command of adb shell. In order to replay a gesture, I recorded the events via the getevent method of adb. Here is a sample of a simple tap on the bottom right of my Nexus 4 screen. /dev/input/event2: 0003 0039 00000059 /dev/input/event2: 0003 0035 000005ff /dev/input/event2: 0003 0036 000008e6 /dev/input/event2: 0003 003a 0000002d /dev/input/event2: 0000 0000 00000000 /dev/input/event2: 0003 0039 ffffffff /dev/input/event2: 0000 0000 00000000 Converted into decimal values (for the sendevent method), it makes: /dev/input

fatal signal 11 SIGSEGV when closing BluetoothSocket on Android 4.2.2 and 4.3

五迷三道 提交于 2019-12-04 10:08:29
My application worked fine under Android 2.3.3 to 4.1.2, but since Android 4.2.2 and Android 4.3, I have a fatal signal 11 (SIGSEGV) at 0x00.... when I close the bluetooth socket. I've searching trough a lot of forums, and the main response is that the BluetoothSocket.close(); is called from two different thread at the same time, but it's not the case in my code. I'm using Samsung Galaxy Note 2 under A4.1.2 (works ok) and Nexus 4 for A4.2.2 and 4.3. Thank you in advance for your suggestions ! EDIT 1 : here are the 2 threads that manipulate the Bluetooth socket. the first : /** * This thread

Three.js WebGLRenderered videos don't play on android phones

隐身守侯 提交于 2019-12-04 05:51:06
问题 The video texture example below does not seem to work on android LG nexus phone although all other non video examples work including the youtube example on three.js. Does anyone else have this issue? I am trying to render video using THREE.WebGLRenderer so that I can ultimately use stereo effect with it to use it with VR (like google cardboard) kit. So far only CSS3DRenderer/Canvas rendered videos seem to work on the phone. But I can't use these renderers because stereo effect does not work

Nexus 4 Camera preview aspect Ratio always requires 16x9 surfaceview? Why

百般思念 提交于 2019-12-03 23:59:38
Device Nexus 4 Android ver: 4.2.2 Hoping someone else has found this and can explain how to resolve it.... Nexus 4 supports the following preview sizes: - W:1280 H:720 Ratio: 1.777777 W:800 H:480 Ratio: 1.6666666 W:768 H:432 Ratio: 1.7777778 W:720 H:480 Ratio: 1.5 W:640 H:480 Ratio: 1.3333334 W:576 H:432 Ratio: 1.3333334 W:480 H:320 Ratio: 1.5 W:384 H:288 Ratio: 1.3333334 W:352 H:288 Ratio: 1.2222222 W:320 H:240 Ratio: 1.3333334 W:240 H:160 Ratio: 1.5 W:176 H:144 Ratio: 1.2222222 myCamera.setPreviewSize() sets them, and when I call myCamera.getPreviewSize() I get the correct one that I set,

Nexus 4 read Mifare Classic card UID

北慕城南 提交于 2019-12-02 22:47:32
问题 Currently we are developing NFC applications for Android.  Our experience Developed POS NFC control system using NXP PN5xx chips for control of Mifare Classic (1K) and CEPAS standard Developed Android NFC control system for MiFareClassic and Ultralight C in Galaxy Nexus (using NXP NFC chipset) Developed Android NFC control system for Ultralight C in Nexus 4 Our challenge: we want to control MiFareClassic 1K card in our POS machine (with NXP chip) and in new Android tablets (with Broadcom chip

Three.js WebGLRenderered videos don't play on android phones

跟風遠走 提交于 2019-12-02 10:11:15
The video texture example below does not seem to work on android LG nexus phone although all other non video examples work including the youtube example on three.js. Does anyone else have this issue? I am trying to render video using THREE.WebGLRenderer so that I can ultimately use stereo effect with it to use it with VR (like google cardboard) kit. So far only CSS3DRenderer/Canvas rendered videos seem to work on the phone. But I can't use these renderers because stereo effect does not work with these renderers (i.e effect = new THREE.StereoEffect(renderer);) http://mrdoob.github.io/three.js