I have attached my manifest file if you want to search where i have added
librarary then search this

<!-- When i uncomment below line app not loading on simulator same code same
emulator loads google map on other app -->

search above written text in manifest file . same code same emulator runs if
i create separate application . but when i add in my project and add library
in manifest file then app not launches installation missing error.

thanks

On Sat, Jul 23, 2011 at 8:18 AM, Abhishek Akhani
<[email protected]>wrote:

> post your xml for more info..
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="com.Rob"
	android:installLocation="auto"
		android:versionCode="1"
      android:versionName="1.0">
      <uses-sdk android:minSdkVersion="8" />
	<supports-screens  
		android:smallScreens="true" 
		android:normalScreens="true"
		android:largeScreens="true" />
	<application android:label="@string/app_name" 
	android:icon="@drawable/ic_launcher_phone" 
	android:debuggable="true" 
	android:allowBackup="false" >
	
	<activity android:name=".Rob"
                  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="com.Rob.Email_form"/>
	   <activity android:name="com.Rob.Send_email"/>
	  <activity android:name="com.Rob.Dialpad"/>
	  <activity android:name="com.Rob.Balance"/>
	  <activity android:name="com.Rob.Select_Account"/>
	  <activity android:name="com.Rob.Recharge"/>
	   <activity android:name="com.Rob.Call_Log"/>
	   <activity android:name="com.Rob.MyAccount"/>
	   <activity android:name="com.Rob.View"/>
	 
	   <activity android:name="com.Rob.MapsActivity" /> 
	     
	 
	   
	   <activity android:label="@string/app_name" android:name="com.Rob.ui.SipHome" android:launchMode="singleTask"
			android:screenOrientation="portrait" android:configChanges="orientation"
			android:theme="@android:style/Theme.NoTitleBar">
					<!-- 
					<intent-filter>
				<action android:name="android.intent.action.MAIN" />
				<category android:name="android.intent.category.LAUNCHER" />
			</intent-filter> --> 
			<intent-filter android:priority="10">
                 <action android:name="com.Rob.phone.action.DIALER" />
                 <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
			<intent-filter android:priority="10">
                 <action android:name="com.Rob.phone.action.CALLLOG" />
                 <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter android:priority="10">
				<action android:name="com.Rob.phone.action.MESSAGES" />
				<category android:name="android.intent.category.DEFAULT" />
			</intent-filter>
            
		</activity>
		
		<!-- Main service -->
		<service android:name="com.Rob.service.SipService" android:exported="true">
			<intent-filter>
				<action android:name="com.Rob.service.SipService" />
				<action android:name="com.Rob.service.SipConfiguration" />
			</intent-filter>
		</service>
		<receiver android:name="com.Rob.service.DeviceStateReceiver">
			<intent-filter>
				<action android:name="android.net.conn.CONNECTIVITY_CHANGE"></action>
				<action android:name="android.intent.action.ANY_DATA_STATE"></action>
				<action android:name="android.intent.action.BOOT_COMPLETED"></action>
				<action android:name="com.Rob.accounts.activate"></action>
			</intent-filter>
		</receiver>
		
		<!--  Main ui -->
		<activity android:name="com.Rob.ui.Dialer" android:configChanges="orientation"  />
		<activity android:name="com.Rob.ui.MyAccount"></activity>
		<activity android:name="com.Rob.ui.CallLogsList"></activity>
		<activity android:name="com.Rob.AddContacts" ></activity>
		
		<!-- First setup -->
		<activity android:name="com.Rob.ui.WelcomeScreen" android:screenOrientation="nosensor"
			android:theme="@style/CupcakeDialog" android:launchMode="singleTask" android:label="@string/welcome_caption_text"></activity>
		<service android:name="com.Rob.service.DownloadLibService"></service>
		
		<!-- Help -->
		<activity android:name="com.Rob.ui.help.Help" android:theme="@style/CupcakeDialog" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.help.Faq" android:theme="@style/CupcakeDialog" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.help.Legal" android:theme="@style/CupcakeDialog" android:configChanges="orientation"/>
		
		<!-- Accounts -->
		<activity android:name="com.Rob.ui.AccountsList" android:label="@string/accounts" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.ReorderAccountsList" android:label="@string/accounts" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.AccountFilters" android:label="@string/filters" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.EditFilter" android:label="@string/filters" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"/>
		

		<activity android:name="com.Rob.wizards.WizardChooser" android:theme="@android:style/Theme.Dialog" android:configChanges="orientation"
			android:label="@string/choose_wizard"></activity>

		<activity android:name="com.Rob.ui.BuddyList"></activity>

		<!-- Preferences -->
		<activity android:name="com.Rob.ui.prefs.MainPrefs" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.prefs.PrefsNetwork" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.prefs.PrefsMedia" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.prefs.PrefsUI" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.prefs.PrefsCalls" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.prefs.PrefsFilters" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.prefs.PrefsFast" android:label="@string/prefs_fast" 
			android:theme="@style/CupcakeDialog" android:configChanges="orientation">
			<intent-filter>
				<action android:name="com.Rob.ui.prefs.PrefsFast" />
                 <category android:name="android.intent.category.DEFAULT" />
			</intent-filter>
		</activity>
		<activity android:name="com.Rob.ui.prefs.Codecs" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"></activity>
		<activity android:name="com.Rob.ui.prefs.PrefsSecurity" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"></activity>
		<activity android:name="com.Rob.ui.prefs.AudioTester" android:theme="@style/CupcakeDialog" android:screenOrientation="portrait"></activity>
		

		<!-- Wizards -->
		<activity android:name="com.Rob.wizards.BasePrefsWizard" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"></activity>
 
		<!-- Call management -->
		<receiver android:name="com.Rob.service.OutgoingCall">
			<intent-filter android:priority="-1">
				<action android:name="android.intent.action.NEW_OUTGOING_CALL"></action>
			</intent-filter>
			
		</receiver>
		<activity android:name="com.Rob.ui.OutgoingCallChooser" android:theme="@style/CupcakeDialog"
			android:configChanges="orientation"
			android:launchMode="singleInstance">
			
			<intent-filter>
                <action android:name="android.intent.action.CALL" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="csip" />
                <data android:scheme="sip" />
                <data android:scheme="sips" />
            </intent-filter>
            
			<intent-filter android:priority="-1">
				<action android:name="android.phone.extra.NEW_CALL_INTENT"></action>
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="csip" />
                <data android:scheme="sip" />
                <data android:scheme="sips" />
			</intent-filter>
            
            <intent-filter>
                <action android:name="android.intent.action.SENDTO" />
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="csip" />
                <data android:scheme="sip" />
                <data android:scheme="sips" />
                <data android:scheme="imto" />
			 </intent-filter>
			<!-- Required for honeycomb???
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="tel" />
			 </intent-filter>
			  -->
		</activity>
		
		 <activity-alias android:name="PrivilegedOutgoingCallBroadcaster"
	               android:targetActivity="com.Rob.ui.OutgoingCallChooser" android:theme="@style/CupcakeDialog"
				android:configChanges="orientation"
				android:launchMode="singleInstance"
                 android:permission="android.permission.CALL_PRIVILEGED">
                 <!--  
             <intent-filter>
                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <data android:scheme="tel" />
             </intent-filter>
             <intent-filter>
                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <data android:mimeType="vnd.android.cursor.item/phone" />
                 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
                 <data android:mimeType="vnd.android.cursor.item/person" />
             </intent-filter>
             -->
             <intent-filter>
                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <data android:scheme="sip" />
             </intent-filter>
         </activity-alias>
		 
		
		<activity android:name="com.Rob.ui.InCallActivity" 
			android:screenOrientation="portrait" 
			android:configChanges="orientation"
			android:allowTaskReparenting="true"
			android:excludeFromRecents="true"
			android:taskAffinity=""
			android:theme="@android:style/Theme.NoTitleBar" android:launchMode="singleTask">
			<!-- 
			<intent-filter android:priority="10">
                 <action android:name="com.Rob.phone.action.INCALL" />
                 <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
              -->
		</activity>
		
		<activity android:name="com.Rob.ui.InCallActivity2" 
			android:excludeFromRecents="true"
			android:screenOrientation="portrait" 
			android:configChanges="orientation"
			android:allowTaskReparenting="true"
			android:taskAffinity=""
			android:theme="@android:style/Theme.NoTitleBar" android:launchMode="singleTask">
			
			<intent-filter android:priority="10">
                 <action android:name="com.Rob.phone.action.INCALL" />
                 <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            
		</activity>
		
		<activity android:name="com.Rob.ui.PickupSipUri" android:label="@string/pickup_sip_uri" 
			android:configChanges="orientation"
			android:theme="@style/CupcakeDialog"></activity>
        
        <activity android:name="com.Rob.ui.InCallMediaControl" android:label="@string/prefs_media" 
        	android:configChanges="orientation"
        	android:taskAffinity="com.Rob.ui.InCallActivity"
			android:theme="@style/CupcakeDialog"></activity>
        
        <receiver android:name="com.Rob.service.HeadsetButtonReceiver"></receiver>
		
		<!-- Widget -->
		<receiver android:name="com.Rob.widgets.AccountWidgetProvider" android:label="@string/gadget_title">
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
                <action android:name="com.Rob.service.REGISTRATION_CHANGED" />
                <action android:name="com.Rob.service.ACCOUNT_ACTIVE_CHANGED" />
            </intent-filter>
            <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
        </receiver>
        <activity android:name="com.Rob.widgets.AccountWidgetConfigure">
		    <intent-filter>
		        <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
		    </intent-filter>
		</activity>
		
		
		<!-- Messages -->
		<activity android:name="com.Rob.ui.messages.ConversationList" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation"/>
		<activity android:name="com.Rob.ui.messages.ComposeMessageActivity" android:theme="@android:style/Theme.NoTitleBar"
                  android:windowSoftInputMode="stateHidden" android:configChanges="orientation"
                  android:launchMode="singleTop" />
                  
    <!-- When i uncomment below line app not loading on simulator same code same emulator loads google map on other app -->
	<!-- 	<uses-library android:name="com.google.android.maps" android:required="true"></uses-library> -->
		
	
	</application>
	
	    
	
	<uses-permission android:name="android.permission.RECORD_AUDIO"/>
	<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
	<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/>
	<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
	<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
	<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
	<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
	
	<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
	
	<uses-permission android:name="android.permission.CALL_PRIVILEGED" />
	<uses-permission android:name="android.permission.WAKE_LOCK"/>
	<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
	<uses-permission android:name="android.permission.VIBRATE"/>
	<uses-permission android:name="android.permission.BLUETOOTH"/>
	<uses-permission android:name="android.permission.READ_LOGS" />
	<uses-permission android:name="android.permission.USE_SIP" />
	<uses-permission android:name="android.permission.CONFIGURE_SIP" />
	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
	 <!-- Not taken into account? -->
	<uses-permission android:name="android.permission.RAISED_THREAD_PRIORITY"/>
	
	

<!-- code by akhi ### -->

 <uses-permission android:name="android.permission.INTERNET"/>
      <uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
      <uses-permission android:name="android.permission.READ_CONTACTS"/>
      <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />  
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
   />

<!-- ### -->


	<uses-feature android:name="android.hardware.wifi" android:required="false"></uses-feature>
	<uses-feature android:name="android.hardware.telephony" android:required="false"></uses-feature>
	<uses-feature android:name="android.hardware.microphone" android:required="true"></uses-feature>
	<uses-feature android:name="android.hardware.touchscreen" android:required="false"></uses-feature>
	<uses-feature android:name="android.hardware.bluetooth" android:required="false"></uses-feature>
	
	
	<permission android:name="android.permission.USE_SIP"
        android:label="@string/permlab_useSip"
        android:description="@string/permdesc_useSip"
        android:permissionGroup="android.permission-group.COST_MONEY"
        android:protectionLevel="dangerous" />
        
    <permission android:name="android.permission.CONFIGURE_SIP"
        android:label="@string/permlab_configureSip"
        android:description="@string/permdesc_configureSip"
        android:permissionGroup="android.permission-group.COST_MONEY"
        android:protectionLevel="dangerous" />
	
</manifest> 

Reply via email to