All Questions
Tagged with google-pixel android
94 questions
1
vote
0
answers
18
views
Pinned android flutter app does not produce sound when i trigger a notification
I'm using AwesomeNotifications to create a notification with sound in my flutter android app.
This works perfectly when the app is not pinned but when i pin the app it does not produce any sound.
...
0
votes
0
answers
60
views
mediaCodec.dequeueOutputBuffer returns INFO_TRY_AGAIN_LATER on Google Pixel but not on Samsung Galaxy
I am trying to convert some bitmaps to video and encode them with this library https://github.com/israel-fl/bitmap2video
In the FrameBuilder.kt, it encodes a given into AVC/H264.
However, ...
0
votes
1
answer
170
views
Google Pixel 8 Pro - Access telephoto lens with CameraX or Camera2 in Android
I am trying to get a camera controller in my app to use the telephoto lens of my Google Pixel 8 Pro.
However, listing the available cameras do only result in list of 1 front and 1 back camera where I ...
1
vote
1
answer
202
views
Custom AOSP Vendor Image: SIM Card Not Detected After Flashing in Android 13 for Pixel 7a(lynx)
I customized the vendor image in AOSP by modifying BoardConfigPartial.mk to generate a custom vendor image rather than using the prebuilt one. After successfully flashing the custom vendor image onto ...
0
votes
1
answer
191
views
How to open bluetooth settings on Google Pixel with Android 14?
I want to open the bluetooth settings by sending an Intent with action Settings.ACTION_BLUETOOTH_SETTINGS on Google Pixel devices with Android 14.
It works e.g. on Samsung devices. However, on Google ...
0
votes
0
answers
81
views
How to open mobile data settings in Google Pixel devices
I'm trying to open mobile data settings on Android API 33 and for that to happen, from an activity I run the following code:**
Intent roamingIntent = new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS);
...
5
votes
3
answers
737
views
App now crashes on Pixel devices running Android 14 in TimePickerDialog
My app has suddenly started crashing using the TimePickerDialog API. This is only happening on Google Pixel 6, 7, and 8's running Android 14. I see there was a security update March 4, 2024 and the ...
0
votes
0
answers
170
views
Manual white balance using Camera2 API on Google Pixel phones
I am accessing camera frames on Android using Camera2 API. All I want is to manually adjust the white balance of the images using COLOR_CORRECTION_GAINS. This is my setup:
captureRequestBuilder = ...
0
votes
1
answer
356
views
Facing simcard/network connection issues after flashing AOSP 14 onto Pixel 7a
I have been facing an issue after flashing AOSP 14 (Lynx) onto Pixel 7a devices. As soon as I insert a sim card into the phone, the phone starts rebooting randomly and the phone will not ever connect ...
0
votes
0
answers
58
views
Programmatically get to "Settings > Security & Privacy >Device Unlock" Page
I'm coding in java with Android Studio & deploying it to Google Pixel. Is there a way to programmatically get to "Device Unlock" page? (Settings -> Security and Privacy -> Device ...
9
votes
1
answer
1k
views
Chrome DevTools detects device only when device is plugged out/disconnected
Short summary:
Chrome DevTools doesn't detect my device (Google Pixel 7 Pro) when device is plugged in. The interesting thing is that the device is recognized when I disconnect it from the cable. When ...
3
votes
0
answers
319
views
How can I control bedtime mode from my android app?
I want to programmatically enable or disable the Bedtime Mode from my app. The action must be able to run while the device is in standby mode. Possible options for me are:
manipulate system settings ...
3
votes
1
answer
17k
views
Authorizing USB debugging on a dead touchscreen
I've got a Google Pixel 6 that fell face down and has a dead screen - both image and touch inputs do not work. I'm trying to access and move important files from the phone to a laptop and this is ...
1
vote
0
answers
101
views
Base64 decoding photo error, getting some unusual text instead of real photo
I've tried to import vCard info into Google Pixel phone (.vcf file). On every other phone (Samsung, Huawei, any Android or IOS phone) there is no problem at all with all information, only with Google ...
0
votes
0
answers
79
views
Is there a way to view/use web developer tools by plugging an android phone into a Windows 11 PC?
I'm not a mobile app developer but I do develop an intranet which has an app which was created for us. The app uses web controls to display a mobile HTML interface within the intranet. Every now and ...
0
votes
0
answers
49
views
On my Android phone (Pixel 7) what is "-5" stealthily using several gigabytes of mobile data? (It's not the hotspot)
Android BatteryStats shows something called "-5" rapidly using gigabytes of mobile data, but it's not the hotspot.
Per another post I used the command "adb shell dumpsys batterystats&...
-1
votes
1
answer
455
views
Only a small corner of my apps are visible, the rest is black / transparent
I upgraded from a OnePlus 7 pro to a Google Pixel 7 pro and when I installed my apps they are only showing the top left hand corner. It's the same issue for all my apps.
The missing portion appears to ...
0
votes
1
answer
1k
views
Pixel 4a Android 11 Sunfish custom build "no valid slot to boot" error after flashing
I built AOSP Android 11 Sunfish by my self and try to flash out images using fastboot into the phone. The entire build and flashing process is done successfully, however, after flashing is done, the ...
0
votes
1
answer
666
views
How can I gain permissions to move files between folders in code? [Android 11]
Using an emulated version of the Google Pixel 5 running Android 11 API 32, I'm attempting to make a program that will move files between folders at the press of a button, as a proof of concept I have ...
2
votes
3
answers
385
views
Android Google Pixel 6 Pro device Navigating from app to outside browser issue
we are trying to navigating from our Mobile App page to browser apps like chrome/firefox (using https url)
Please find the below sample code.
My Sample Code: passing https url only.
Intent ...
1
vote
0
answers
557
views
Can't save photo. Camera doesn't have permission to save to this location [Only happening to Google Pixel phones]
I am currently facing an issue with Google pixel phones not letting the app save photo to a specific file location (mentioned below). I don't know if this is something to do with the scoped-storage ...
6
votes
2
answers
2k
views
Devices with Android 12 keep bluetooth LE connection even when app is closed
I'm experiencing an issue, where I can connect to bluetooth device once, but after I disconnect, I no longer see that device when scanning for bluetooth devices.
If I completely close the app, device ...
-1
votes
1
answer
425
views
White text color on Pixel 6 android
I have an app available on play store and users have been reporting that they can enter any text due to the fact that the text color is white, which very weird.
I have used Firebase Test Lab to try ...
8
votes
1
answer
556
views
Action Bar on Android is still showing despite using NoActionBar theme
I am using the theme Theme.MaterialComponents.DayNight.NoActionBar (docs) for my Android app.
I am also calling getActionBar().hide() in the MainActivity.
On nearly all my devices, the Action Bar is ...
30
votes
4
answers
9k
views
CannotDeliverBroadcastException only on Pixel devices running Android 12
I'm seeing a crash come through Crashlytics that I'm unable to reproduce or locate the cause of. The crash only ever happens on Google Pixel devices running Android 12, and the crash always happens in ...
4
votes
1
answer
7k
views
Why do Android 12, 12L, 13 Preview devices don't resolve local DNS anymore?
I have been having this strange issue for more than a couple weeks now:
Android 12, 12L, 13 Preview devices (emulator & physical) don't resolve local DNS anymore. I started noticing this issue in ...
0
votes
0
answers
514
views
Pixel 5: Failed loading RS driver: dlopen failed: library "libRSDriver_adreno.so
I've created an Android app using RenderScript, it works on a wide variety of systems but it seems to not run on specifically the Pixel 5.
I have tried to debug it with a real device but I cannot find ...
1
vote
0
answers
245
views
Pixel 6 changes reported screen size based on orientation - how to get the screen size in a stable way?
We use the "screen size" resource qualifier to determine the size of the device - roughly speaking whether it's a phone or a tablet. This is because our app is meant to start in portrait ...
1
vote
1
answer
1k
views
Unable to delete eSIM profile on Google Pixel 3a
I have recently changed phone carriers. I cannot download an eSIM for my new carrier while it is supposed to be compatible with the Pixel 3a. They claim this is because I still have the eSIM profile ...
1
vote
1
answer
930
views
Android 12 WI-FI Connection
Phone Model: Google Pixel 4
Os version : Android 12
We have tried to connect Open wifi of IOT device from System but it showing obtaining IP address and never changed state of that one.
Before Android ...
0
votes
0
answers
506
views
How can I fix "Can't install" issue in Google Play for Google Pixel phones?
My app was published to Google Play in 2019 and it is now version 2.2.17. Everything was fine until the latest version 2 weeks ago. I got a number of feedbacks from the users saying they cannot ...
2
votes
1
answer
1k
views
Why is there a solid black rectangle obscuring the rightmost 60% of my app's screen on a Google Pixel 5?
Does anybody know why a Google Pixel 5 and a Google Pixel 5e (API 30) might have a solid black overlay completely obscuring the rightmost 60% of the screen when viewing the otherwise normal in-app ...
0
votes
1
answer
638
views
Camera2 API for Pixel 5 Zooming out below 1x
In Google Pixel 5 default camera application, there is a feature that you can zoom out below 1x(By default: .6x, 1x, 2x).
Now is Camera2 framework, is there any function that apply the zoom-out ...
2
votes
2
answers
607
views
How to access the list of songs in Pixels "Now Playing" feature?
So I'm trying to make an app on Android Studio that reads all the songs on Google's Now Playing Ambient services and makes them into a list. However I've been trying to figure out how to access the ...
1
vote
1
answer
818
views
Depth Sensors In ArCore
I am trying to understand the depth APIs in Arcore.
I am using a Google Pixel4, which I understand has a depth sensor:
https://developers.google.com/ar/discover/supported-devices#google_play
https://...
1
vote
0
answers
534
views
Encoding ARGB_8888 bitmaps to video file using mediacodec android fails on Pixel 3A device
I'm decoding and encoding a video file using android MediaCodec. Both decoding and encoding are working fine with the following code except Pixel 3a device. For encoding, the encoder uses a set of ...
0
votes
1
answer
1k
views
Flashing custom kernel into Android phone (Pixel)
I'm trying to modify the kernel of a Pixel 4a 5g phone.
For that, I've downloaded the stock boot.img from https://developers.google.com/android/images.
I've also got a kernel src code (https://android....
2
votes
2
answers
3k
views
glCreateShader() crashes on Android 11 / Pixel 5
I have a NativeActivity program which works fine on a OnePlus 3T running Android 9.
It crashes on startup in Android 11 running on a Pixel 5.
I'm using Visual Studio 2019 and SDK Build-tools 29.0.2 ...
1
vote
0
answers
182
views
How to create seperate values folder for Samsung Galaxy note plus and Google Pixel XL3 in Android Studio
I am creating to show virtual card swipe view for left to right and right to left. so, am trying to give common width & height(xxxhdpi-values dimen.xml) for below mentioned mobiles in Android UI ...
0
votes
1
answer
1k
views
Linux, adb and Google Pixel 3a - No connection [closed]
I am trying to install GrapheneOS on a brand new Google Pixel 3a, but I cannot connect to it using adb, so I cannot install GrapheneOS. Does anyone have any suggestions on what else to try?
Hardware ...
0
votes
1
answer
136
views
Trying to recover files from a lockscreen loop Pixel 4 with ADB pull
I am trying to use ADB pull to recover my files from my Pixel 4 but I am getting
the error message "adb: error: failed to access '4' : No such file or directory".
What does this mean? USB ...
0
votes
1
answer
180
views
Does anyone have the layout of the Google Pixel 3 xl? [closed]
Inadvertently replace the emulator layout of the google pixel 3 xl and I can no longer find it anywhere, is the file found in this path: C:\Users\your_user\AppData\Local\Android\Sdk\skins\pixel_3_xl
...
2
votes
1
answer
672
views
How to remove white color circular border in google devices like pixel
any one having idea how to make icon in google pixel without white border circular. I can see chrome icon doesn't have circular border. How to make it any help ?
You can see in screenshot google ...
0
votes
1
answer
125
views
Install old (unsupported) Android Version on unlocked smartphone
I would like to install an older Android version on a Pixel 3a. I saw the system images provided by Google, but they only offer Android9.0-10.0 (see here). I already unlocked the bootloader, so I ...
7
votes
1
answer
5k
views
Create a Pixel 4 Virtual Device
I'm trying to create a Pixel 4 virtual device in Android Studio 3.6.2. However, the Pixel 4 doesn't appear to be an option. Is there any way to download the Hardware Profile for this device.
Virtual ...
1
vote
1
answer
407
views
How to read/write to a file that can be accessed by a user not being root?
I would like to write to a file that I can access from the file system without being root.
This is my attempt:
FileOutputStream fos = null;
final String FILE_NAME = "test.txt";
fos = openFileOutput(...
0
votes
1
answer
163
views
RSSI Scanning: onBluetoothLeDeviceFound Callback not called on Pixel 1
I'am working on a RSSI scanner for Android. I want to archieve this via constantly scanning for BLE devices. So if the RSSI of a device should be figured out it needs to advertise via BLE. The ...
1
vote
2
answers
3k
views
Android 10 Biometric Manager Security
Android is deprecating FingerprintManager in favor of BiometricManager since the end of 2019. The update is great news for developers and designers as they do not need to solve much of the tedious ...
0
votes
1
answer
38
views
Uninstalling my app from the device makes it so that I can no longer run it from Android Studio
I can deploy a fresh hello world app no problem (as long as it's not with the same name/namespace as one I've already uninstalled from the device). However, the moment that I uninstall the app (...
1
vote
0
answers
301
views
How to get exactly model number of google pixel device?
I use the Google Pixel XL which has model number is G-2PW2100.
When I use Build.MODEL, it will return for Pixel XL.
So How can I get the exact model number of Google pixel device?