Questions tagged [android-manifest]

The manifest presents essential information about the application to the Android system

Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest presents essential information about the application to the Android system, information the system must have before application can be installed and run any of the application's code.

See AndroidManifest.xml permissions

6006 questions
2
votes
1 answer

Exclude or allow only certain urls using assetlinks.json

Hello Everybody I am currently working with assetlinks.json trying to exclude urls containing the "/adm/" directory, in IOS I can do this defining into my https://mysite/.well-known/apple-app-site-association file this: "NOT /adm/*" example: { …
Jorgesys
  • 124,308
  • 23
  • 334
  • 268
2
votes
1 answer

How to query DownloadManager in Android by more than one parameters

I am using DownloadManager.Query to create a query in order to filter out the files in the DownloadManager in Android. I am doing a: DownloadManager.Query query = null; downloadManager = (DownloadManager)getSystemService(DOWNLOAD_SERVICE); query =…
SherinThomas
  • 1,881
  • 4
  • 16
  • 20
2
votes
0 answers

Android NFC send the data in a same way on different devices

I'm developing an NFC library for Android devices. On some Android devices the data that have sent works correctly and I get healthy response (like an LG phone), but it doesn't work on some other devices (like an Oppo phone). It's for a passport and…
2
votes
2 answers

Custom Content Provider for Android? (Modifying Notepad Sample)

I am trying to learn the content provider implementation and how it works. I tried the sample notepad application in Android SDK and everything is working fine. I am able to create new notes and save them and edit them. I tried changing this content…
Vinod
  • 31,933
  • 35
  • 96
  • 119
2
votes
1 answer

Can't we make folder programatically in external storage of Android 'R' i.e. android 11 using flutter (OS Error: Operation not permitted, errno = 1)

I'm downloading 1 image from URL await dio.download(url, saveFile.path, onReceiveProgress: (value1, value2) { setState(() { progress = value1 / value2; print(progress); }); }); This…
2
votes
0 answers

Storage Permission always denied in Flutter permission Handler

I tried to change Lockscreen Wallpaper but I got an Error like this D/permissions_handler( 5642): No android specific permissions needed for: 9 I/flutter ( 5642): Android Storage Permission Status: PermissionStatus.denied I/System.out( 5642):…
2
votes
2 answers

How to get device model in AndroidManifest and make condition?

I use Sentry, and last 3 months receive ANR (Application Not Responding) with two devices (Xiaomi Mi A2 Lite, Samsung SM-A605FN). I think the problem with time waiting for respond(problem maybe occurred with hardware or slow internet ), and want…
Molotow
  • 23
  • 4
2
votes
1 answer

How to get Display object from my service class?

Because many of my Activities need to check the screen size with the following code: Display display = getWindowManager().getDefaultDisplay(); int screenWidth = display.getWidth(); int screenHeight = display.getHeight(); I decide to move this code…
Mellon
  • 37,586
  • 78
  • 186
  • 264
2
votes
1 answer

unable to resolve class com.android.build.OutputFile

How to SOlved that error please answer details unable to resolve class com.android.build.OutputFile
2
votes
2 answers

How can I set the tab height in a layout XML file?

I used to use : tabHost.getTabWidget().getChildAt(0).getLayoutParams().height =50; to set my tab height. But I would like to move this tab height setting from Java code to layout xml files with the purpose to use different height value for…
Mellon
  • 37,586
  • 78
  • 186
  • 264
2
votes
2 answers

Why I am not receiving the installed apps broadcast?

I am trying to get all installed applications using intents and broadcast receiver, but the problem is I never directs to my onReceive method and so not getting any package name. I am using the following code: KillAppBCR.java public class KillAppBCR…
Syed
  • 550
  • 1
  • 7
  • 22
2
votes
1 answer

How to add properties in AndroidManifest in react native app built with expo?

I am trying to build a basic react native app with expo...The problem I am facing is that all the components are getting lifted when i try using the keyboard.. I searched for my problem on stack overflow and i found this answer which suggests…
Pro
  • 445
  • 4
  • 14
2
votes
1 answer

Android Broadcast Reciever with permissionLevel signature not receiving broadcasts

I have 2 Applications signprotectbroadcast and broadcastsender In signprotectbroadcast I have registered a Receiver
2
votes
2 answers

How to show different Activities in Fragment implementation?

It is my first time using android fragment. I am following this tutorial to implement a fragment. Everything is fine with this tutorial, I successfully get the result like below: In the tutorial, the DetailsFragment simply shows a TextView…
Mellon
  • 37,586
  • 78
  • 186
  • 264
2
votes
1 answer

Button press add new row to a ListView programmatically, how to?

My main layout main.xml has only a Button, a EditText and an empty ListView as below:
Mellon
  • 37,586
  • 78
  • 186
  • 264
1 2 3
99
100