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
54
votes
2 answers

How does the Android repo manifest repository work?

The Android source is a large hierarchy of git repositories. They are managed by a custom script called repo. Repo determines which git repositories to manage using a manifest.xml. The manifest.xml of Android is hosted in a git repository along with…
Bjarke Freund-Hansen
  • 28,728
  • 25
  • 92
  • 135
54
votes
3 answers

MANIFEST MERGER: It is possible to see the resulting mixed Manifest?

I have a library module with a huge manifest. Also i have a application module with a huge manifest very similar to my library manifest but with package name changes. Now i want to see the resulting mixed manifest of Manifest Merger process. How can…
53
votes
4 answers

Usage of android:process

I have this AndroidManifest.xml file:
jiangyan.lily
  • 932
  • 1
  • 8
  • 16
53
votes
2 answers

Android: how to mark my app as debuggable?

I want to debug my app from my phone. How do I sign my app so I can do this? I don't know much about the manifest.
mtmurdock
  • 12,756
  • 21
  • 65
  • 108
53
votes
4 answers

How do i dynamically choose which activity to launch when opening an app

I am writing an app that requires you to be logged in to a service before using it. From my understanding of android so far, you have to choose which activity to launch when you open from the launcher in the manifest. I don't know which activity i…
msfeldstein
  • 1,080
  • 1
  • 9
  • 18
52
votes
2 answers

User versionName value of AndroidManifest.xml in code

The AndroidManifest.xml contains the version name of the application, something like android:versionName="1.0" Now the question - is it somehow possible to access this version name in the source code, so that I can display it for example in an…
DonGru
  • 13,532
  • 8
  • 45
  • 55
51
votes
2 answers

Possible to use multiple authorities with FileProvider?

Background I maintain a library whose core functionality involves sharing programmatically-captured screenshots to external email applications. I use a FileProvider to accomplish this, which means my library's manifest contains a
stkent
  • 19,772
  • 14
  • 85
  • 111
51
votes
2 answers

Getting "debuggable" value of androidManifest from code?

I've written a wrapper on top of Log.java that is provided by android. My Class will add some other application level features in Logs. Now the things is that I want to check from the code whether "debuggable" is set to 'true' or 'false' in…
ABDroids
  • 3,235
  • 3
  • 20
  • 9
51
votes
3 answers

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity's launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would reuse a single Activity instance and give me the…
Rich
  • 36,270
  • 31
  • 115
  • 154
50
votes
31 answers

No application found for TargetPlatform.android_x86

This's my first flutter App and for some reason the Android launcher icon stopped showing so I was trying to fix that, I did a bunch of things and ended up with this error. flutter doctor shows everything is fine. ios version builds just fine. p.s…
Milad Alakaire
  • 619
  • 1
  • 5
  • 6
49
votes
2 answers

How do I get multiple icons to launch different activities in one application?

I have an application with two activities and I'd like to be able to have two icons appear in the launcher, each launching the respective activity within the app. Specifically, I want one icon to launch my main app, and another icon to launch my…
afonseca
  • 817
  • 2
  • 7
  • 10
49
votes
5 answers

How To Find Android Google Play Services Version

I'm working on an android project which requires the use of google maps. I've been reading tutorials, and I have to add this to the AndroidManifest.xml file:
48
votes
6 answers

About the Full Screen And No Titlebar from manifest

I want to set my application to full screen view. I got the idea to set it in an individual activity using FullScreen and NoTitlebar, but i want to set it in my Manifest XML file for the whole application not for each activity... Is this…
user644458
47
votes
3 answers

Is it possible to define a broadcast receiver as an inner class in manifest file?

I want to create a broadcast receiver as an inner class in my main activity. But I have problems defining the broadcast receiver in manifest xml file, because android can't find it. Code: public class MyActivity extends Activity{ ... …
danizmax
  • 2,446
  • 2
  • 32
  • 41
47
votes
1 answer

Widget onUpdate called when Configuration Activity is launched

I'm implementing a widget and I'm facing the following problems: 1) onUpdate is called when I add the widget to the home screen, even if I specified a Configuration Activity. As soon as I add it to the home screen, the APPWIDGET_ENABLED broadcast is…