Questions tagged [android]
Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics related to Android, use Android-specific tags such as android-intent, android-activity, android-adapter, etc. For questions other than development or programming but related to the Android framework, use this link: https://android.stackexchange.com.
android
528,443
questions with no upvoted or accepted answers
61
votes
1
answer
2k
views
Intermittent 401 Unauthorized from Google GCM
We are getting intermittent 401 Unauthorized errors from Google's GCM service. In the past, it worked 100% of the time. The problem might coincide with our routers accepting IPv6 traffic, but the ...
49
votes
1
answer
2k
views
WebView native crash: libwebviewchromium.so "Operation not permitted" - ILL_ILLOPC
I'm seeing a lot of crash reports similar to the crash below, and I'm at a loss for how to diagnose the issue.
Crash heading in Google Developer Console:
Native crash at
/data/app/com.google....
43
votes
1
answer
3k
views
Chrome custom tabs not opening other apps
The Chrome custom tabs doesn't seem to launch other apps by deeplinking.
For example a PayPal payment, when Chrome is launched with this URL. It will ask the user if the URL has to be opened with the ...
42
votes
1
answer
7k
views
How to resolve the BufferQueueProducer problem specifically on Android Q Pixel 3 and 3 XL devices, while Emulator works fine
I am using a surface texture view to display videos. The videos are shown in a carousel which is essentially a view pager.
I have already tried releasing the surface view on the surface gets destroyed ...
42
votes
1
answer
970
views
Android Studio 3.4 dependencies suggestions - make it to not show alpha/beta versions
In Android Studio 3.4 added new window suggestions in Project Structure which suggest update gradle dependencies to latest version.
Is it possible to show only final version there without alpha/beta ...
38
votes
2
answers
4k
views
Android Room Exceptions
What kinds of exceptions I should consider while working with Android Room.
From my research I found out that there is only one exception that might occur.
Room Exceptions
That is also when you are ...
38
votes
3
answers
7k
views
Android "couldn't log to binary event log: overflow"
I have an android app that has been running without problems until I updated my device to android 4.4 (kitkat).
Now I start getting this error and some part of the program is broken with this in the ...
37
votes
1
answer
4k
views
Getting DeadSystemException on Samsung SMG950U (Android 8.0.0) and SM 955 (Android 8.0.0)
I am working on a native android app & getting the following report in my Crashlytics but I am unable to figure the the exact reason for this.
I have two activities SplashActivity and MapActivity ...
37
votes
1
answer
10k
views
IllegalArgumentException: reportSizeConfigurations: ActivityRecord not found for: Token
I received the following bug report from a Moto E (4) Plus running Andorid 7.1.1:
Exception java.lang.IllegalArgumentException: reportSizeConfigurations: ActivityRecord not found for: Token{9857068 ...
37
votes
1
answer
3k
views
Accessibility focus of childviews in nestedscrollview
I have a problem with the accessibility focus of the NestedScrollView child views. Currently, the focus iteration during accessibility mode only iterates through the views where the views are visible ...
34
votes
0
answers
983
views
Android: Loading Custom Midi Instruments DLS files into Sonivox EAS
I'm creating an Android midi application using the popular billthefarmer driver package. With the help of Markus Kauppinen in this thread I was able to make my app generate and control midi events (...
34
votes
1
answer
3k
views
Modal BottomSheetDialog with fullscreen ToolBar and Softkeyboard
How is it possible to create a modal BottomSheetDialog(Fragment) which switches to fullscreen with a ToolBar as shown in the Material Design Spec?
I could add a ToolBar manually by adding a ...
33
votes
0
answers
2k
views
How does "parallel apps" feature work on OnePlus 3 devices, and how can we use Intents properly with them?
Background
Apps use Intents to open other apps, sometimes with specialized Intents.
One example is this Intent, to choose a contact from WhatsApp:
val WHATSAPP_PACKAGE_NAME = "com.whatsapp"
val ...
32
votes
1
answer
16k
views
error: incompatible types: NonExistentClass cannot be converted to Annotation @error.NonExistentClass()
I am trying to generate Doka docs of my project. While generating I am getting an error like above. I have searched so many but could not able to get solution to this. I have gone through this link ...
32
votes
0
answers
2k
views
Handle MediaCodec video with dropped frames
I'm currently doing fast precise seeking using MediaCodec. What I currently do to skip frame by frame is, I first get the total frames:
mediaInfo.totalFrames = videoTrack.getSamples().size();
Then I ...