theblaine.com

Here's my little spot on the Net

Sample AndroidManifest.xml File

Posted by theBlaine July - 29 - 2011 - Friday
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.sample.someapp"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk android:minSdkVersion="7" />

    <uses-permission android:name="android.permission.CAMERA"></uses-permission>

    <application android:label="@string/app_name" android:description="@string/app_desc"
    	android:icon="@drawable/quizicon" android:debuggable="true">
        <activity android:name=".QuizSplashActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name="QuizMenuActivity"></activity>
        <activity android:name="QuizHelpActivity"></activity>
        <activity android:name="QuizScoresActivity"></activity>
        <activity android:name="QuizSettingsActivity"></activity>
        <activity android:name="QuizGameActivity"></activity>

        <activity android:name="About"
        	android:label="@string/about_title"
        	android:theme="@android:style/Theme.Dialog" />
    
        <activity android:name="Prefs"
        	android:label="@string/settings_title" />
        	
        <activity android:name="Game"
        	android:label="@string/game_title" />
        	
        <activity android:name="Keypad"
        	android:label="@string/keypad_title" />

    </application>
</manifest>

4 Responses to “Sample AndroidManifest.xml File”

  1. mrMAGIK3805 says:

    Hi Blaine,

    Thanks for the great sample of the AndroidManifest.xml file above.

    Question? I have created a separate android class lib (I am coding C# in Monodevelop for Android) namespace com.twfCentLLC.android.BPMonitor.database which contains 2 classes one for extending the public class BPMonitorDatabase : SQLiteOpenHelper and another for creating the table for the database namespace com.twfCentLLC.android.BPMonitor.database
    {
    public class BPMDailyReadingsTB
    {
    I have added the com.twfCentLLC.android.BPMonitor.database.dll as a reference in my contentprovider namespace com.twfCentLLC.android.BPMonitor.contentprovider
    {
    [ContentProvider(new string[] { “com.twfCentLLC.android.BLMonitorDBContentProvider” })]
    public class BLMonitorDBContentProvider : ContentProvider
    {
    I have also added a providers element to the AndroidManifest.xml file in my client app. I want to be able use this provider to get a cursor of data in one of my activity modules, but the code does not show the provider.

    Can you shed any lite on what I am doing wrong?

    I can be reached at sev001 [at] sdevinc [dot] com or Skype: mrMAGIK3805

    TIA
    Ed

  2. Subista says:

    in the line no.8 what is the code in it? plz explain it…

  3. Subista says:

    plz write full code in the program of manifest

Leave a Reply

Most Commented

About me

Hi, my name is Blaine Sherman (aka theBlaine). I am a 37 year old Network Administrator by day and a mobile app developer and web app developer at night. I am a proud father of a 16 year old daughter and a mellow cat named Tough Guy. Welcome to my new web site. It is geared towards application development, but will also include tid-bits about my life and my whacky family!! I hope there is at least one thing entertaining or educational you can get from my site. If not, oh well, you will get over it!! Thanks for stopping by my little spot on the Net. ~ Blaine Sherman

Switch to our mobile site