Nexus 4 is Google's fourth Nexus-branded Android smartphone. The phone was designed with and manufactured by LG Electronics.
Questions tagged [nexus-4]
113 questions
5
votes
2 answers
Extreme camera lag on Nexus 4
Using the following very simple camera preview activity (from a google example found here), the Nexus 4 camera is noticeably slower that the device's standard camera application:
public class LiveCameraActivity extends Activity implements…

Daniel Smith
- 8,561
- 3
- 35
- 58
4
votes
1 answer
Android 5.1 crash -- glDrawArrays GL_POINTS -- Fatal signal 7 (SIGBUS), code 2
A couple months ago, after I update my Nexus 4 to Android 5.1 (now 5.1.1 -- both stock factory images from Google), one of my games started crashing while drawing particles using glDrawArrays with GL_POINTS. I've simplified, reimplemented the code…

Joe
- 191
- 1
- 6
4
votes
1 answer
Adb shell getevent method returns twice the value for X and Y on Nexus 4
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…

Rafou
- 43
- 1
- 4
4
votes
1 answer
Android: Zoom not effecting preview frame data passed to onPreviewFrame()
I'm building a camera app which access the preview frame by implementing
android.hardware.Camera.PreviewCallback#onPreviewFrame(byte[] data, Camera camera).
When I change my camera zoom by calling the…

OfriM
- 121
- 5
4
votes
1 answer
Android PopupWindow is hidden behind navigation buttons in Nexus 5
I have created a custom popup menu which is displaying fine on the S4 but the problem is that part of it gets hidden behind the navigation buttons on Nexus 5.
I have tried using the setSystemUiVisibility() but that doesn't help as the buttons…

Razzler
- 41
- 3
4
votes
0 answers
Explanation for "Scoller runner", it spams into the LogCat
I have a question about a Android task (?): The scoller run.
What is this?
Sometimes (it looks like a bug) the scoller run repeats its work endlessly and spames thousands of thousand of lines of code into the LogCat output.
The Code looks…

Kenny Seyffarth
- 1,016
- 12
- 27
4
votes
3 answers
Unauthorized Device - Payment from this device are not allowed
Running the Paypal Sample app, on Nexus4 - 4.3, Using PayPal SDK for Android.
The sample works perfect with when the below code is added:
CONFIG_ENVIRONMENT = PaymentActivity.ENVIRONMENT_NO_NETWORK;
When switching to real money:
CONFIG_ENVIRONMENT…

David
- 37,109
- 32
- 120
- 141
4
votes
1 answer
After upgrading my nexus 4 to 4.3, adb in not recognizing it
My device driver for nexus 4 is not installing on my windows, after trying several times.
My sdk tools and platform tools are updated to the latest version.

Harshit Gupta
- 335
- 2
- 14
4
votes
3 answers
fatal signal 11 SIGSEGV when closing BluetoothSocket on Android 4.2.2 and 4.3
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…

Laurent
- 1,710
- 4
- 25
- 46
4
votes
0 answers
Android OpenGl 2.0 ES force device reboot
I currently try switching to OpenGL ES 2.0. I load two textures with 2048x2048 pixel and render some parts off the textures. The app works on HTC One S, HTC Desire S, HTC Sensation, Asus Iconia A100 and Nexus 7. On Nexus 4 and the new HTC One the…

Mr.Betatester
- 495
- 3
- 17
4
votes
2 answers
setPreviewFpsRange not working despite values being within getPreviewFpsRange's range
This simple code:
Camera.Parameters params = currentCamera.getParameters();
params.setPreviewFpsRange( 10000, 15000 );
currentCamera.setParameters( params );
does not work on my Nexus 4 (or my Motorola Atrix), despite the allowed values being…

reor
- 820
- 9
- 22
4
votes
3 answers
Android SensorEvent Timestamp constant
I'm currently writing a simple android application to calculate the biases of the devices imu. While doing this I've come across a problem with the value of event.timestamp
Using the code:
float dT = (event.timestamp-accel_timestamp)*NS2S;
from the…

CaffeineSqurr
- 43
- 3
4
votes
5 answers
ADB not recognising Nexus 4 - more advice
Following on from ADB not recognising Nexus 4 under Windows 7 I am having problems getting the Eclipse android development environment to recognise my new Nexus 4. My privious Nexus S had no problems.
I believe I have followed all the advice in this…

Mike
- 43
- 1
- 1
- 3
4
votes
1 answer
What causes the periodic performance spikes that are seen when doing computationally expensive array processing on the Nexus 4?
I'm new to threads (don't kill me for my implementation below :) and I need to do multiple blurring passes of pixels on a separate thread (see below). It's not the most efficient implementation of box blur (it's from Gaussian Filter without using…

torger
- 2,308
- 4
- 28
- 35
3
votes
1 answer
Any "Google Keyboard" Whisperers out there? API19
I'm having what seems to be an odd problem, and I'd greatly appreciate any suggestions which might help.
I'm trying to achieve due diligence by testing on a variety of screen form factors, but I'm having a problem when it comes to the default ( AKA…

toes_314
- 108
- 4