Questions tagged [android-7.1-nougat]

Android 7.1 Nougat MR1 (API level 25), successor of Android 7.0 Nougat.

257 questions
6
votes
1 answer

Replacing default Phone app on Android 6 and 7 with InCallService

Android API level 23 added InCallService to provide the user-interface for managing phone calls. The documentation provides an example manifest registration but I couldn't get it to work. The app compiles fine but Default Apps in settings doesn't…
6
votes
2 answers

Android Nougat PhoneStateListener is not triggered

In Android (target 25) I have a background service and in onCreate function I have initialized a phone state listener. It works fine on Android versions that are before Nougat but in Nougat it doesn't work, even though the permissions are granted.…
5
votes
2 answers

Alarm created thru AlarmManager is not running after 25days (= 2^31 - 1 = 2147483647 milli seconds)

Background: I have an Android application running on Android 7.1. A reccurring task is set using AlarmManage to perform a task every day at a specific time. code is like below: AlarmManager am = (AlarmManager)…
Kuma C.
  • 66
  • 3
5
votes
2 answers

java.lang.ClassNotFoundException without the name of the class

I have a Unity game deployed to Android. In Google play console, I am seeing many crashes that happen on old Android versions (<=7.1). The crash is caused by a ClassNotFoundException, but the report does not show the class that is not found. In the…
5
votes
1 answer

Pre-install some apps so they can be uninstalled without root by user

Can I (As an AOSP builder) pre install some apps so after burning on device, they can easily be uninstalled (like regular downloaded apps)? I am already familiar with system apps and priv-apps but as they lie in system partition they can not be…
Saleh
  • 1,819
  • 1
  • 17
  • 44
5
votes
1 answer

Android 7.1 turn on/off mobile data

I'm writing software that works with some data in internet over cellular data and prints invoice through the WiFi to HP printer using direct print. I'm not using routers or other network devices. so as i know new android 7.1 has a feature that…
5
votes
1 answer

Android media recorder start failed

i am using below code to record audio in my application private void startRecording() { if (mRecorder == null) { mRecorder = new MediaRecorder(); } mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); …
Margin Adam
  • 79
  • 2
  • 5
5
votes
1 answer

I always see "E ActivityManager: Sending non-protected broadcast from system" in android 7. What does this mean?

I am trying to send an intent from a non system app using the following function. public static void sendIntent() { if (null != _context) { Intent intent = new Intent("com.test.testApp.testIntent"); …
5
votes
2 answers

Nougat 7.1.2 debug issue

I recently enrolled my Pixel XL for Android Beta program. After the update to Nougat 7.1.2 my device is not detected properly in Android Studio Linux. I get something like this in AVD monitor HT6A70201284 [null] But it was working on my windows…
Mohammed Atif
  • 4,383
  • 7
  • 28
  • 57
5
votes
1 answer

Can Android 7.1 static app-shortcuts creator put extras into the intent?

This is a short question: Android Nougat 7.1 has a new feature for launchers, to create app-shortcuts by showing a menu to choose from…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
5
votes
0 answers

Android 7.1.1 multi-user support in emulator

I tried to get the multi-user support for my Android 7.1.1 AOSP emulator build on Ubuntu 16.04 64bit. The build gets run with lunch aosp_x86-eng and following the emulator with emulator64-x86. I tried this solution but with no success: adb…
5
votes
1 answer

Can't find Android 7.1.1 (Nougat) API 25 ARM System Images

Are there anywhere Android 7.1.1 (Nougat) API 25 (25, not 24) ARM System images (ARM, not x86 Intel) for AVD Manager? Thanks Unofficial? Beta? Alpha? Any?
Alexander Savin
  • 1,952
  • 1
  • 15
  • 30
5
votes
1 answer

How to close the new Android 7.1 App Shortcut

When clicking on the app-shortcut, I am opening an Activity with a Dialog theme. It seems that the app-shortcuts are not closed if I use that theme on the Activity. If I delete the Dialog theme, the app-shortcuts are closed after clicking on one of…
ricamgar
  • 143
  • 1
  • 4
4
votes
1 answer

Exception while getting application icon android 8, works on android 7

I'm trying to get the large icon for the notification in android app like that: val bm = BitmapFactory.decodeResource(this.resources, R.mipmap.ic_launcher) It works correctly in android 7.1, but throws exception in android 8: Caused by:…
fr3ak
  • 493
  • 3
  • 16
4
votes
0 answers

Problem receiving MMS message on Android API 24

I am trying to receive an MMS message in my program. Here is what's in my manifest:
Kristy Welsh
  • 7,828
  • 12
  • 64
  • 106
1 2
3
17 18