Questions tagged [nexus-4]

Nexus 4 is Google's fourth Nexus-branded Android smartphone. The phone was designed with and manufactured by LG Electronics.

113 questions
2
votes
1 answer

Nexus 4 can't receive multicast from public addresses

We are porting a product currently running on IOS to the Android platform, which basically takes in multicast audio packets and plays them. Every Android device we've tested so far works fine (HTC devices, Samsung, etc). However, we never receive…
chuckd
  • 79
  • 1
  • 7
2
votes
2 answers

Nexus 4 Android Camera takePicture does not callback to onPictureTaken

I have a class (CameraView) that I use to take pictures within my app. When running on a LG Nexus 4 (Android 4.2.1) there is no callback to onPictureTaken. Below is a basic example of how I am trying to achive this (i've obmitted all the…
John
  • 1,466
  • 3
  • 21
  • 38
1
vote
0 answers

Random crash on LGE Nexus 4 when inflating com.github.chrisbanes.photoview.PhotoView

Please help. I'm receiving a bunch of app crashes on our crashlytics pointing to this error. But I can't replicate this bug. And based on the crashlytics data, it only happens on LGE Nexus 4 running Android 6 (Marshmallow). Here's how I inflate the…
mgcaguioa
  • 1,443
  • 16
  • 19
1
vote
0 answers

java.lang.RuntimeException only on Nexus 4 smartphone

I released my app to google play and i'm actually with 700 daily active users, i'm trying to fix the crashes that appear but there is one very weird crash Fatal Exception: java.lang.RuntimeException: Error receiving broadcast Intent {…
Rafael Lima
  • 3,079
  • 3
  • 41
  • 105
1
vote
1 answer

Nexus devices not recognized by adb

Adb does not recognize my Nexus devices but does recognize my Samsung Tab 2 7 inch tablet. C:\Users\Allen Edwards\AppData\Local\Android\sdk\platform-tools>adb devices List of devices attached c0808e004a14c2f device The device recognized…
Allen Edwards
  • 1,488
  • 1
  • 27
  • 44
1
vote
4 answers

NullPointerException in BluetoothGatt.java on Nexus 4

I am disconnecting and closing a bluetooth GATT instance and see the following in logcat: 07-22 09:33:20.699 5095-5113/com.assaabloy.stg.cliqconnect.android W/BluetoothGatt﹕ Unhandled exception in callback java.lang.NullPointerException …
Alix
  • 2,630
  • 30
  • 72
1
vote
1 answer

Bottom 96 Pixels of Nexus 4 Screen Missing - Get Window Dimensions for Nexus 4

I am working on an application that has contains a RelativeLayout within the main.xml. Additional ChildViews are added to the RelativeLayout dynamically through onclick events. When I run the application, the displayHeight retuned for my nexus 4 is…
hlupico
  • 169
  • 1
  • 2
  • 9
1
vote
0 answers

The same version Google Play Services, responds different and inconsistently on different phones

Given that multiple phones having the latest and same version, different builds (oem related??) of Google Play Services running the the same signed app from the alpha Google Play Store is responding differently on a particular phone. 3 out of 4…
Peter Birdsall
  • 3,159
  • 5
  • 31
  • 48
1
vote
2 answers

High Assets Loading Time

I just published my game on play store and some of my friends complain me about huge loading time more than 1 min (more than 1000 frames) in some lollipop device (nexus 4 ,OS 5.0).Usually it take 5-10 (180 frames approx) seconds to load all assets…
Vivek Bansal
  • 1,301
  • 13
  • 21
1
vote
0 answers

Nexus 4 reporting wrong xdpi

I'm calculating the screen width (in inches) like this: DisplayMetrics dm = new DisplayMetrics(); activity.getWindowManager().getDefaultDisplay().getMetrics(dm); float wInches = dm.widthPixels / dm.xdpi; This usually works fine. However, I noticed…
grebulon
  • 7,697
  • 5
  • 42
  • 66
1
vote
1 answer

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

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…
sandav
  • 323
  • 1
  • 4
  • 11
1
vote
1 answer

Get all gallery images on Nexus 4

I am developing a simple gallery app in which I search for folders which contains images and then show images of that particular folder. First I am using Environment.getExternalStorageDirectory() and then recursively search for folders having…
Khawar Raza
  • 15,870
  • 24
  • 70
  • 127
1
vote
1 answer

Nexus 4 Sensor.TYPE_ACCELEROMETER not working

I am trying to use the accelerometer and the magnetic field sensor on my Nexus 4 but it is not working I am using the following code... protected Sensor compass; protected Sensor accelerometer; protected SensorManager sensorManager; sensorManager…
vinzzz
  • 2,084
  • 2
  • 14
  • 23
1
vote
1 answer

Android TextView not showing in Nexus 4 4.4.2, changing gravity fixes it

I had a complaint from nexus 4 user. After updating to 4.4.2 his textview disappeared from the screen. What I have found out is that if I remove android:gravity="center" it is back. Also if I make it smaller it is back too. Why is this happening…
votopec
  • 53
  • 5
1
vote
1 answer

Error with VAO on Nexus 4 device only

I've got a strange error on my nexus 4 with OpenGL ES2 when I use vertex array objects. Here is some informations: Everything work when I don't use VAO Everything work on others device and on an Ipad 2 with and without VAO glGetError() didn't…
user30088
  • 497
  • 1
  • 6
  • 14