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

Fail to initialize ftrace in MAKO

I am trying to use ftrace in MAKO (Nexus 4) With android-msm-mako-3.4-lollipop-release branch from msm.git, I just added below configuration in…
Potato
  • 23
  • 6
0
votes
1 answer

Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface

I am new to Android Studio. I am trying to display what was entered as a pop up. Toast.makeText(getApplicationContext(), input.toString(), Toast.LENGTH_LONG).show(); Error Log: eglSurfaceAttrib not implemented Failed to set EGL_SWAP_BEHAVIOR on…
APMN
  • 1
  • 1
  • 1
0
votes
1 answer

Detect if the phone is old / NEXUS4 to avoid display issues

It looks like some issues appears on the display of my app when I run it on old devices. Here is what I observe. 1) When I open my app in recent phones (above NEXUS 5) the screen of the dialog I am showing appear properly all the elements are there.…
Laurent
  • 197
  • 2
  • 12
0
votes
2 answers

Context - unable to create external files directory

I have a very strange problem with my app that appears when you start app on the Nexus 4. I have following code in Application class: public class MyApp extends Application { @Override public void onCreate() { super.onCreate(); File dir =…
Pavel Strelchenko
  • 536
  • 1
  • 6
  • 19
0
votes
1 answer

Cannot record the screen on Android Nexus 4 with screenrecord or telecine

On Nexus 4, with Android 5.1.1 I have the following problem that drives me mad: When trying to record the screen (on Kubuntu 15.04) with: adb shell screenrecord --verbose /sdcard/Download/intro9.mp4 just few seconds (1-4) are recorded and then…
Ognyan
  • 13,452
  • 5
  • 64
  • 82
0
votes
0 answers

APQ8064 alsa recording

I have a Nexus 4 device (msm8960 with APQ8064 sound card). I'm trying to record audio from the primary device (pcmC0P0c) using tinyalsa tinycap utility but I encounter the following issues: If I do not modify any mixer control, I get an "Unable to…
Oren
  • 937
  • 1
  • 10
  • 34
0
votes
0 answers

Does stock Nexus 4 natively rotate to reverse portrait?

Not sure if this is the right stack exchange for this question, but seeing how I'm testing an app that I'm developing I thought it would be fitting I ask here. Simple question, does Nexus 4 stock support reverse portrait rotation changes? I can't…
Vas
  • 2,014
  • 3
  • 22
  • 38
0
votes
1 answer

want to shrink cordova App display output

I created a web-app, with a target of a Nexus 4 phone in mind, intended to be used in landscape orientation. It looks fine using chrome. But when I then used that HTML/CSS to create a Cordova App, the display is way too big for the phone. I have…
RJ White
  • 367
  • 5
  • 12
0
votes
1 answer

Does BluetoothLeAdvertiser work on a Nexus 4 with Android 5.0?

I know Android 5.0 supports BLE peripheral mode, but i am not so sure if it works on Nexus 4 with Android 5.0. The QuickBeacon app is not compatible with Nexus 4, which is suspicious.
0
votes
1 answer

PN532 Normal Frame limitation and How to Use Extended Frame

I am using PN532 with Raspberry Pi OS. I am able to communicate with Nexus 4. But PN532 reader is able to read max 134 bytes from the Nexus 4 phone. I am expecting to read more than 10k bytes. Please help me how to read so much bytes in one shot.…
0
votes
2 answers

Error connecting LG nexus 4 to Eclipse

I am new to Android programming and have been unable to connected my phone to eclipse for debugging and running applications on the go since many days. I have enabled the USB debug mode etc, installed the Google USB drivers and followed all the…
0
votes
1 answer

relativelayout center rules doesn't work, only on nexuses

Task: zoom layout to fill all available space. I created container, called it ZoomViewGroup which measures single child inside itself and sets scaleX and scaleY depending on its own size. package sample.andrew.myapplication; import…
0
votes
2 answers

GPS won't turn on using LocationManager/LocationListener

I'm developping a simple application to monitor GPS speed. This morning i installed a couple of GPS position mockers to test my application and no one seemed to work well. Uninstalled all of them and (i don't know if this is related at any point)…
0
votes
0 answers

Is there a way to change settings in Nexus 4 so that we should enter Passkey before Bluetooth pairing?

In Nexus 4 while pairing Bluetooth, it doesn't ask user to enter the Passkey. Instead it shows a Passkey in both device. Kindly let me know if there is any advance settings, so that only once the user enters his own Passkey it should connect.
0
votes
3 answers

Unexpected screen gradient in ListView

I have a ListView with some rows and a custom checkbox on the right hand side. On my OS 4.4 Nexus 4 it seems like a gentle gradient is being applied to the list row backgrounds, creating an ugly artifact on the checkboxes (they disappear half way…
Dan J
  • 25,433
  • 17
  • 100
  • 173