Questions tagged [nexus6]

For questions relating to the Nexus 6 phablet.

Wikipedia page: https://en.wikipedia.org/wiki/Nexus_6

20 questions
59
votes
6 answers

macbook adb cannot open interface

I am encountering a problem with Android ADB debugging through USB. Using Macbook Air 2013 and trying to connect Nexus 6 dev phone. On the MAC Android Studio, android latest sdk is installed. When I do adb kill-server adb devices I get: adb I …
robscure
  • 901
  • 2
  • 8
  • 11
20
votes
1 answer

Upside down camera preview byte array

I have a camera application which is locked to landscape. When needed I rotate the raw bytes gotten from on onPreviewFrame() and use them to encode a video. This approach however fails in the Nexus 5X and 6 devices, because their reversed sensor…
Edson Menegatti
  • 4,006
  • 2
  • 25
  • 40
8
votes
1 answer

Nexus 6 and MediaPlayer.VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING);

Hi I'm trying to achieve an Activity with background made from video file. The solution posted below is working on most devices, except nexus 6 Android 5.1. The video is working, is scaled but is not cropped, so aspect ratio is not preserved. Tested…
7
votes
2 answers

System error capturing the output of a MediaProjection virtual display to an ImageReader

I am working on an application that needs to capture the screen to a bitmap to transmit. I am attempting to use the new Android 5.0 android.media.projection APIs to do the screen capture. The workflow for this API culminates in a call…
Techrocket9
  • 2,026
  • 3
  • 22
  • 33
6
votes
3 answers

Android with Nexus 6 -- how to avoid decreased OpenSL audio thread priority relating to app focus?

I'm encountering a strange problem when trying to implement low-latency streaming audio playback on a Nexus 6 running Android 6.0.1 using OpenSL ES. My initial attempt seemed to be suffering from starvation issues, so I added some basic timing…
Jack O'Reilly
  • 434
  • 2
  • 14
5
votes
7 answers

Android Studio Emulator wont start "Waiting for target device to come online"

So I am currently learning how to develop android apps. I am making my first application and I have no errors but my emulator wont run my app. It is stuck on "Waiting for target device to come online". I am confused on what is wrong because It has…
user6794472
4
votes
1 answer

Android M Custom Boot Image for Nexus 6

I unpacked boot.img of Android M for Nexus 6 using Android Image Kitchen (AIK) and then repacked it without any changes, then flashed the phone with the new boot.img. Ideally it should work but somehow the phone doesn't boots showing boot error…
divyum
  • 1,286
  • 13
  • 20
2
votes
1 answer

Illegal ArgumentException: "No available camera can be found" in CameraProcessProvider.bindToLifecycle for Nexus 6

Issue: I am getting the following error: java.lang.IllegalArgumentException: No available camera can be found. when calling and instance method ProcessCameraProvider.bindToLifecycle(). See this in the context of the code below by searching for…
topher217
  • 1,188
  • 12
  • 35
2
votes
1 answer

is there any way to get thumbnail of images from USB OTG storage connected to android without copying full image

I am trying to import selected images from usb drive connected to mobile phone (Nexus 6) which is not showing pendrive as external storage directories. I used this library: https://github.com/mjdev/libaums While using this library, I have to first…
Praveen Pandey
  • 409
  • 3
  • 20
2
votes
2 answers

Aspect ratio Media query for nexus 6

I have tried to find media query (aspect ratio Media query for nexus 6). but did't find anywhere. if anyone can help me in this matter then let me know. i also tried to create ratio according to width/height by using this link…
Balraj Singh
  • 19
  • 1
  • 4
1
vote
2 answers

Build Android for shamu(Nexus 6)

I followed Aosp guide and XDA guide and try to build my first ROM for Nexus 6. I checked out android-7.0.0_r27 branch, Then I downloaded all driver binaries and extract them in vendor/ directory of the root of the project. Then I ran this make…
hadilq
  • 1,023
  • 11
  • 25
1
vote
1 answer

Bitmap null pointer Exception

I have function that pick a picture from camera or gallery but when I try to set on an ImageView it returns Null pointer on bitmap.getWidth(), I also try to use decodeStream instead decodeFile but I get errors in the path variable, how can I solve…
1
vote
1 answer

Android Camera Api - Nexus 6 - Camera showing showing Inverse

The requirement is to show camera in portrait mode . The camera view is displaying properly in all other devices like - Nexus 4 , Nexus 5 , Samsung S3 , Samsung S4 etc . With NEXUS 6 the camera is displayed as upside down . Here is how i am setting…
Anukool
  • 5,301
  • 8
  • 29
  • 41
0
votes
1 answer

Different results when add new contact on Google devices (Nexus 6, Pixel )

I have strange issue with Nexus 6 (Android 7.0) that when adding new contact via intent, Uri as result as rawContacts not lookup as usual. Here is my intent: public static Intent getNewContactIntent() { Intent intent = new…
Maher Abuthraa
  • 17,493
  • 11
  • 81
  • 103
0
votes
2 answers

Renderscript image processign Nexus 6 Marshmallow issue

I am using renderscript for live image processing (camera preview). I am having an issue on Nexus 6 Marshmallow 6.1 where some of my scripts won't run for more than a couple of frames (rs kernel runs). Those same scripts work flawlessly on Nexus 4…
1
2