Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is manifest file in Android?

Can anybody explain me in simple words what is the use of Manifest file and R.java file in android.

Why do we need these files while making an application?

like image 204
Amandeep singh Avatar asked Feb 11 '11 08:02

Amandeep singh


People also ask

What is manifest file used for?

The manifest is a special file that can contain information about the files packaged in a JAR file. By tailoring this "meta" information that the manifest contains, you enable the JAR file to serve a variety of purposes.

What is manifest JSON file in Android?

The web app manifest is a JSON file that tells the browser about your Progressive Web App and how it should behave when installed on the user's desktop or mobile device.

How many manifest file will be there in an Android application?

A manifest can contain only one application node. It uses attributes to specify the metadata for your application (including its title, icon, and theme).


1 Answers

check this link,

http://developer.android.com/guide/topics/manifest/manifest-intro.html

Manifest

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 it can run any of the application's code

R.Java

It will have identifier for all resource used in our project

thank you.

like image 127
Ganapathy C Avatar answered Dec 10 '22 12:12

Ganapathy C