Questions tagged [android-7.1-nougat]

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

257 questions
0
votes
2 answers

Changing Main Activity in Manifest result to shortcuts doesn't work anymore

I try to add welcome tutorial for users that install application for the first time. That activity need to be declare as Main in Manifest (or I miss something?). But if I choose any other activity else than main one (which is actual app), app…
IPS
  • 111
  • 1
  • 7
0
votes
1 answer

Can't update the project to Nougat (api 25)

I have an Android Studio project. The target- and compileSdkVersion for it - is 21. I want to change it to 25. When I do this, some of the classes of the Android standard library become unavailable. For example…
0
votes
0 answers

Storage in Nougat

I have written the following code to store the taken image photo. But for some reason, it works in all Android OS in United States but it does not work in Nougat Bulgaria. I do not have access to Bulgaria, but my app user saying that they cannot…
casillas
  • 16,351
  • 19
  • 115
  • 215
0
votes
0 answers

Android 7.1 Packages not available for Emulator for Linux 64 bit

I want to download packages of Android Nougat 7.1 for emulator but getting errors: All packages are not available for download! The following packages are not available: Package id system-images;android-MNC;default;x86_64 Package id…
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
0
votes
1 answer

How to make it from vertical to horizontal view

When I activate the start time I would like to see the number being increased during the time when I change from mobile landscape from vertical to horizontal and from horizontal to vertical. Obstacle: When the number displayed with increased value…
0
votes
0 answers

Calling new Runnable() crashes on Android Nougat

I've met some problem with creating Runnable() on Android devices with API24 and API25 (Android Nougat). In summary I'm trying to do something like that: MyAsyncTask myTask = new MyAsyncTask(); myTask.executeTask(new AsyncTaskListener()…
0
votes
0 answers

Android 7 - Multi-Window Support(2 apps on screen)

Do I need to write some extra code in my Android application to support Multi-Window Applications?
Adrian Madaras
  • 347
  • 3
  • 13
-1
votes
1 answer

Getting android battery information programmatically

I am trying to get the battery information mainly power left, voltage, current for an android N(7.1.1) device. I am trying to run the following code in onCreate method. First approach; IntentFilter ifilter = new…
-1
votes
1 answer

Implementing new permission in Android M

I am trying to migrate applications developed with KitKat as target version to Nougat. I want to implement the new Permission features. My application needs few of the dangerous permissions to be pre granted (while install time). How do I do that ?…
-1
votes
1 answer

Nexus 6P android beta 7.1.2 pop up error message: Alternating TimerReceiver() onReceive() - Attempt to invoke virtual method

I enrolled for Android beta updates and I recently upgraded my nexus 6P to version 7.1.2 . since 2 days a message pop up in my phone which i showed in picture, it cover my keyboard but i can operate keyboard even when pop up presents. Error message…
-2
votes
1 answer

How to perform click continuously while something is enable

I'm beginner... I need to run some code after 10 seconds continuously while my button is enable. and when I clicked on it and it turned to disable-state, timer get stop. I use below code but it run just once when I click on timerbutton every time…
-2
votes
1 answer

Turn on location services using code without user input

I am working on phone locator app and need turn on location automatically if off. The scenario is something like if phone is lost, location disabled and internet on, i can turn on the location remotely, find my phone. Need this to work for Android N…
Anmol
  • 123
  • 4
-2
votes
2 answers

how get permission in android API 25 (Nougat)

want to save file on storage. i use this code to get permission in android 6.0 : if (Build.VERSION.SDK_INT >= 23) { ActivityCompat.requestPermissions(Activity.this, new…
Hossin Asaadi
  • 367
  • 6
  • 13
-2
votes
1 answer

How get permission apps that can appear on top

How get this permission This just in nougat
-3
votes
1 answer

How does file system access differ between KitKat 4.2 and Nougat 7.1.1?

I have an app HTMLSpyII that I developed a few years ago when I was an absolute beginner at Android programming. Anyway here it is a few years later, I have been away from programming through this time, it has been running on my Samsung S4 mini…
1 2 3
17
18