android-8.0-oreo Questions
3
Solved
While converting an app to be ready for Android Oreo, I read the docs on JobIntentService over here.
In there I find (important part emphasised):
When running as a pre-O service, the normal ser...
Berezina asked 5/2, 2018 at 20:5
6
Our app now has targetSdkVersion 26 (Android 8) and the app uses FCM push notifications. When app is in the foreground state the push notification is working well. The issue appears while clicking ...
Johnstone asked 23/11, 2017 at 10:59
8
Solved
Android O introduces a new feature, Fonts in XML, which lets you use fonts as resources. And I am creating the font folder in resource file as it provided by Android developer, but the problem is t...
Hangout asked 11/8, 2017 at 10:56
36
I am using Service Class on the Android O OS.
I plan to use the Service in the background.
The Android documentation states that
If your app targets API level 26 or higher, the system impos...
Chinquapin asked 8/6, 2017 at 2:15
37
Solved
I am facing the problem while retrieving the contacts from the contact book in Android 8.0 Oreo java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
I am tryi...
Trefoil asked 3/1, 2018 at 6:41
4
Solved
I'm currently trying to make some kind of music player app. For playback I created a separate service. Because I want to keep it playing all the time, I'm calling Service.startForeground(). While c...
Gemini asked 8/5, 2018 at 18:45
3
While transitioning an application to Android O, I have noticed a strange thing. Sometimes my foreground service notification goes into a channel that I have not made, called "Uncategorized". I hav...
Gildagildas asked 3/8, 2017 at 14:59
4
Solved
How to set default notification channel for notification messages that come when an app is in the background? By default, these messages use "Miscellaneous" channel.
Lorenzo asked 5/9, 2017 at 5:7
8
Solved
I need to check the current connected wifi SSID on android. I checked with Nokia 6 and OnePlus 5 with respectively Oreo 8.1.0 and Oreo 8.0. Other phones with different OS version is working fine wi...
Tris asked 23/4, 2018 at 9:17
3
Solved
I've upgraded my app to API 26 and I'm facing some issues with the new background execution limits.
On Oreo devices, as soon as my app goes in background, my app is stopped by the OS due to idle s...
Lonnalonnard asked 16/7, 2018 at 8:41
2
I am integrating google smart lock in my android application but in some devices i am getting this error when trying to save credentials to google. I am using following code to save credentials -
...
Universalize asked 1/3, 2021 at 12:27
9
Solved
I am using Android's VIBRATOR_SERVICE to give a haptic feedback for a button touch.
((Vibrator) getSystemService(VIBRATOR_SERVICE)).vibrate(300);
Android Studio give me warning that method vibr...
Delete asked 10/8, 2017 at 5:23
14
Solved
I know that on a normal device I have to authorize the debugging process, but Authorizing it on an emulator is my first time.
I just installed my first emulator on my home pc to do some work stuff...
Torgerson asked 3/10, 2017 at 20:12
3
I am getting a toast saying "Developer warning for package com.google.android.apps.messaging" when sending an MMS using Android Messages ver 2.3.063.
In logs
08-12 16:57:52.368 7661 7682 W Notifi...
Hallam asked 14/8, 2017 at 5:45
4
I try to get rid of the notification sound in below method.
I was able to reduced it to only go off once but it should be completely silent in Android O and lower versions.
I searched a long time...
Boni asked 25/1, 2018 at 22:50
18
Solved
On application launch, app starts the service that should to do some network task.
After targeting API level 26, my application fails to start service on Android 8.0 on background.
Caused by: j...
Kunming asked 27/9, 2017 at 10:14
3
Working on an android application in which I need to connect WiFi device programatically which does not have internet. Here is a code:
private void connectToWiFi(final String ssid, String passwor...
Dahle asked 11/6, 2020 at 9:0
6
Solved
I'm targetting my application to Android O.
In my application I have a job service that shows a window over all other applications, so when it triggered it needs to show this window even when the s...
Cristalcristate asked 16/1, 2018 at 8:53
2
Awareness.SnapshotApi.getLocation(client)
.setResultCallback(new ResultCallback<LocationResult>() {
@Override
public void onResult(@NonNull LocationResult locationResult) {
if (locationRe...
Flooring asked 21/1, 2019 at 1:45
7
Solved
I'm trying to replicate the following ListView in my Android app using Kotlin: https://github.com/bidrohi/KotlinListView.
Unfortunately I'm getting an error I'm unable to resolve myself.
Here's my...
Picofarad asked 23/7, 2017 at 15:53
6
We have enterPictureInPictureMode() to move an activity from its current form into a picture-in-picture representation.
What is the means by which we revert that, returning the activity to its nor...
Athalia asked 2/4, 2017 at 23:7
1
**Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x11000010 pkg=in.swiggy.android cmp=in.swiggy.android/com.google.firebase.iid.FirebaseInstanceIdReceiver (has extras) }
com....
Derte asked 19/6, 2018 at 7:8
5
So, i have an app on store with 50000 users. Recently i updated my android studio and compiled SDK to 27. I made some changes to support android 8 changes including Notification changes(e.g. Notifi...
Inorganic asked 30/7, 2018 at 6:8
4
Is the XML attribute android:paddingHorizontal that was introduced in API 26 (Android O) only available in 26 and above? Is there a support version of it? I require my minSdkVersion to be much lowe...
Scoop asked 11/11, 2017 at 12:58
1
I tried to install ARM Translation on my Genymotion emulator which runs Android 7 above. But it failed with below error message:
Genymotion failed to flash Genymotion-ARM-Translation_v1.1.zip ar...
Nickels asked 16/5, 2018 at 8:33
1 Next >
© 2022 - 2024 — McMap. All rights reserved.