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
3
votes
1 answer

Why does the CardboardVR Lollygagger project crash when loading a scene on a Nexus 4?

currently working my way through this Cardboard VR tutorial for Unity - https://io2015codelabs.appspot.com/codelabs/cardboard-unity#6 The Main Menu is now currently working in VR, but when I try to load the GameScene the application crashes to Nexus…
3
votes
1 answer

My App not showing text colors except black and white on nexus 4 lollipop device

My App is not showing text colors except black and white on nexus 4 lollipop device. My app contains just a text view with hello world red colored text. But it is appearing black on my device. Emulator is showing Red colored "Hello world!" but my…
Saif
  • 397
  • 1
  • 9
3
votes
5 answers

Android Wear can't connect my device via bluetooth

I enabled debugging over bluetooth on my Moto 360 and enabled Android Wear app on my Nexus4. Status displays target : disconnected Forwarding the port from my computer shows the status host will be changed to connected, but the target status…
Cassius
  • 31
  • 1
  • 4
3
votes
3 answers

how come my android devices are not visible on my Mac?

I'm new to android development so apologies if this is a stupid question. I'm having trouble seeing my android devices in Eclipse. I've switched on USB debugging, configured them to connect as a camera not mass storage, but when I run ./adb devices,…
mdarwin
  • 1,684
  • 7
  • 28
  • 72
3
votes
0 answers

Image preview is very slow on Nexus4

I need to increase fps rate in my app. Now i have between 6 - 10 FPS which is very low imo because i have Nexus4. So i decided to switch from setPreviewCallback to setPreviewCallbackWithBuffer but i do not see ANY difference in framerate. In log i…
Michal W
  • 793
  • 8
  • 24
3
votes
1 answer

Android resources qualifier for software keys?

what I need is to adjust layout for for example Nexus 4, where soft keys take up some space. The best way would be using resource qualifiers. Is there one for this? Thanks
urSus
  • 12,492
  • 12
  • 69
  • 89
3
votes
1 answer

Bad performance when scrolling on Android 4.3 with Nexus 10

My app, which has a list view with some scrolling, is performing very well (scrolling at 60fps) on all phones I have tested it with, Nexus One, Nexus 4 and Galaxy S3/4. But the performance is terrible on the Nexus 10, probably around 15fps or so. I…
Mikael Grev
  • 587
  • 4
  • 12
3
votes
1 answer

ImageView width incorrectly scaled on Nexus 4?

I'm using the technique described here. The following line works on all my devices, except my Nexus 4: int imageWidth = horizontalScrollView.getChildAt(0).getMeasuredWidth(); The layout is simple:
l33t
  • 18,692
  • 16
  • 103
  • 180
3
votes
1 answer

How can I detect usb connection in Android 4.2?

I used ACTION_MEDIA_MOUNTED and ACTION_MEDIA_UNMOUNTED to detect USB connection on Nexus 4, but I cannot receive any broadcast signal. Here is my broadcast receiver code: IntentFilter filter = new…
Ricky Li
  • 33
  • 1
  • 3
2
votes
1 answer

Writing to Multiple BluetoothGatt objects on Android 4.4.4 Nexus 4

I know this has been discussed at length, but I have not found an answer that seems to solve the issue I am facing with Android Bluetooth LE. The system we have designed allows connections to multiple devices. Discovery and connection to multiple…
2
votes
3 answers

install apk through usb on lg nexus 4

I am trying to test my release apk on my LG nexus 4 before putting the apk on the play store. I don't see how to get the apk to the phone over the USB. I connect the phone over usb to my mac; in the phone folder I place the apk in the Download…
learner
  • 11,490
  • 26
  • 97
  • 169
2
votes
1 answer

Point leftEye and rightEye coordinates returns null using nexus 4. Is it not supported in Nexus 4?

I am trying to get the coordinates of the leftEye and rightEye and draw a line from leftEye to rightEye but the coordinates returned are null. I am using Nexus 4 to test the application. Nexus 4 doesn't support this feature?? I can draw a rectangle…
Jag
  • 517
  • 2
  • 5
  • 17
2
votes
2 answers

ADB over USB Device Offline - LG Nexus 4 + Kubuntu 13

LG Nexus 4 Android 4.3 (USB DEBUGGING ACTIVE) ADB 1.0.31 on Kubuntu 13 My /etc/udev/rules.d/51-android.rules is taken from here https://code.google.com/p/51-android/ Like i said everything i got with #adb devices command is: List of devices…
Bolza
  • 1,904
  • 2
  • 17
  • 42
2
votes
1 answer

Android Webview slows down Nexus devices when javascript is enabled

I am having this strange issue on Nexus Devices like Nexus 4 , Galaxy Nexus and Nexus 7. I have a browser like app with multiple tabs each having a Webview. If I open a site like Google.com in multiple tabs(2 or more), the webviews do not take…
Alok Kulkarni
  • 2,153
  • 19
  • 31
2
votes
2 answers

Android - getActionBar().setDisplayHomeAsUpEnabled() crashes app, only on small French screen

So I am in the process of localizing my app for different languages, starting with French, and have come across a bizarre problem. Upon creating an activity, I call getActionBar().setDisplayHomeAsUpEnabled(true);. This works fine when testing on my…
GarrickW
  • 2,181
  • 5
  • 31
  • 38