android-6.0-marshmallow Questions
3
Solved
There's an existing application (several years old) where gets launched at device boot.
On Lollipop everything is ok, however on Marshmallow, about 10 or 20 seconds or so after the app has started ...
Tigre asked 25/10, 2015 at 21:24
4
Solved
I work in the IT department of my university and we work on an app that installs the correct setup for the eduroam WiFi (maybe you have heard of it).
However I have a problem running it on my own ...
Englacial asked 29/2, 2016 at 14:14
3
Solved
I have IntentService task in foreground mode, but in Android M+ the task stops in Doze mode. I read Google banned if the app uses intent to set themselves in whitelist. But if I use permission and ...
Legendre asked 1/7, 2017 at 14:43
16
Solved
In the Android M we have ability to make status bar icons dark. To do that we can specify attribute in the theme's xml:
<item name="android:windowLightStatusBar">true</item>
OR we ca...
Voter asked 7/6, 2016 at 7:16
9
Solved
In my hybrid Cordova Android app targeting API 23+ I want to use a custom sound for notifications. To that end I have done the following
In plugin.xml file for the single custom plugin I use in t...
Comras asked 26/2, 2018 at 10:57
11
Solved
When it comes to the M Developer Preview runtime permissions, according to Google:
If you have never asked for a certain permission before, just ask for it
If you asked before, and the user said ...
Davenport asked 10/8, 2015 at 20:48
27
Solved
I am trying out AppCompat on Marshmallow. And I want to have a transparent status bar however it turns white. I've tried a couple solutions but they didn't work for me (Transparent status bar not w...
Campanile asked 6/9, 2015 at 21:57
28
Solved
Using compileSdkVersion 23, however trying to support as far back as 9.
getNetworkInfo(int) was deprecated in 23. The suggestion was to use getAllNetworks() and getNetworkInfo(Network) instead. Ho...
Mazarin asked 13/9, 2015 at 6:37
28
Solved
Using compileSdkVersion 23, however trying to support as far back as 9.
getNetworkInfo(int) was deprecated in 23. The suggestion was to use getAllNetworks() and getNetworkInfo(Network) instead. Ho...
Arkwright asked 13/9, 2015 at 6:37
3
Solved
I need to ask for runtime permission to use camera in my fragment class.my code is like this..
int currentapiVersion = android.os.Build.VERSION.SDK_INT;
if (currentapiVersion >= Build.VERSION...
Hahnert asked 1/4, 2016 at 6:9
1
I am a little bit curious about the new permission model for android M and above especially about the method "shouldShowRequestPermissionRationale()".
In the Documentation :
To help find...
Sagerman asked 16/11, 2016 at 12:46
13
Solved
I was going through the official doc about the new Permissions model in Android M. It talks about the shouldShowRequestPermissionRationale() function which returns true if the app has requested thi...
Nacred asked 2/9, 2015 at 7:54
11
Solved
I am doing an application to scan barcodes on a button click and it was working fine up to Lollipop versions. When I came to Marshmallow it stopped working. This is the error:
camerabase an erro...
Ibex asked 16/2, 2017 at 13:53
6
Solved
How to detect if the location is triggered with Mock Location in Android Marshmallow?
Previously, I used Settings.Secure.ALLOW_MOCK_LOCATION
But, in API level 23, this has been deprecated.
I wan...
Glass asked 19/9, 2015 at 12:59
4
I am trying to call getCallCapablePhoneAccounts() method of android.telecom.TelecomManager class. Though i have added required user-permission, i am getting Security exception.
Here is the line of...
Charter asked 23/9, 2015 at 14:27
12
Solved
Is there any way I can launch an intent to get to Android's notification settings screen for my app (pictured below)? Or an easy way I can make a PreferenceScreen item that just leads here on a cli...
From asked 3/9, 2015 at 3:49
5
Solved
I created an app which uses this hdodenhof CircleImageview library.
My app works fine on Android 7 and 7.1 but it is crashing in lower versions such as marshmallow/Android 6. How can I solve this p...
Glazing asked 29/4, 2018 at 12:15
2
Solved
I dont know why this happening just for one app because i tried it on other apps it works fine. But only this app whenever i request a permission the activity blacks out and only the permission dia...
Invocation asked 24/8, 2016 at 9:17
14
Solved
The Resources.getColor(int id) method has been deprecated.
@ColorInt
@Deprecated
public int getColor(@ColorRes int id) throws NotFoundException {
return getColor(id, null);
}
What should I do?
...
Shropshire asked 23/7, 2015 at 14:44
3
Using addSpeech() in android TTS, you can link a certain text to a sound file. Then, the TTS engine plays the file instead of synthesizing the sound of the text (also in question at Android TTS(Tex...
Anterior asked 9/9, 2017 at 5:35
5
Solved
According to Android Marshmallow documentation when the system is in doze mode, any wakelock is ignored. However it's not clear to me if a wakelock prevent doze mode or not.
Avian asked 29/8, 2015 at 13:53
10
Solved
After upgrading to Android version 6.0 Bluetooth Low Energy (BLE) scanning will only work if Location services are enabled on the device. See here for reference: Bluetooth Low Energy startScan on A...
Lecce asked 9/10, 2015 at 19:14
4
Solved
Context context;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Context context = (Permission) this;
...
Deyoung asked 5/1, 2016 at 13:33
15
I have a question regarding the new Android 6.0 (Marshmallow) release.
Is it possible to display the "App Permissions" screen for a specific app via an Intent or something similar?
It is...
Neoplasticism asked 28/9, 2015 at 11:40
5
Solved
I am currently playing around with android m's new permission system.
What i am planning is to add a screen to my in-app settings where the user can grant or revoke permissions.
The screen would ...
Nenitanenney asked 21/7, 2015 at 9:21
1 Next >
© 2022 - 2024 — McMap. All rights reserved.