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 …
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…