java - Override previous application -


i having issue application, when send apk way him install application uninstalling previous one. installating other application on similar 1 works fine, one. critical because lets there update application, not want user have uninstall previous version before being able install new one, , should override automatically.

below manifest file

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"     package="com.dooba.beta"     android:versioncode="1"     android:versionname="1.0" >         <!-- card.io card scanning -->     <uses-permission android:name="android.permission.camera" />     <uses-permission android:name="android.permission.vibrate" />      <uses-feature android:name="android.hardware.camera" android:required="false" />     <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />      <!-- things, including card.io & paypal -->     <uses-permission android:name="android.permission.access_network_state"/>     <uses-permission android:name="android.permission.access_wifi_state"/>     <uses-permission android:name="android.permission.internet"/>          <uses-permission android:name="android.permission.access_fine_location"/>         <uses-sdk         android:minsdkversion="14"         android:targetsdkversion="19" />      <uses-permission android:name="android.permission.read_external_storage" />      <application         android:name="com.dooba.beta.integratingfacebooktutorialapplication"         android:allowbackup="true"         android:largeheap = "true"         android:icon="@drawable/logo3"         android:label="@string/app_name"         android:theme="@style/apptheme" >         <activity             android:name="com.dooba.beta.loginactivity"             android:label="@string/app_name"             android:launchmode="singletop"             android:screenorientation="portrait"             android:theme="@android:style/theme.holo.light.noactionbar" >                  <intent-filter>                 <action android:name="android.intent.action.main" />                  <category android:name="android.intent.category.launcher" />             </intent-filter>           </activity>         <activity             android:name="com.dooba.beta.userdetailsactivity"             android:label="@string/app_name"             android:screenorientation="portrait"             android:theme="@style/customactionbartheme">              </activity>         <activity             android:name="com.dooba.beta.eventsactivity"             android:label="@string/app_name"             android:screenorientation="portrait"             android:theme="@style/customactionbartheme">           </activity>            <activity              android:name="com.dooba.beta.casualeventsactivity"             android:label="@string/app_name"             android:screenorientation="portrait"            android:theme="@style/customactionbartheme"              >               <meta-data android:name="android.support.ui_options"                    android:value="splitactionbarwhennarrow" />          </activity>           <activity             android:name="com.dooba.beta.cultureeventsactivity"             android:label="@string/app_name"             android:screenorientation="portrait"             android:theme="@style/customactionbartheme">           </activity>          <activity             android:name="com.dooba.beta.entertainmenteventsactivity"             android:label="@string/app_name"             android:screenorientation="portrait"             android:theme="@style/customactionbartheme">           </activity>               <activity             android:name="com.dooba.beta.introactivity"             android:label="@string/app_name"             android:screenorientation="portrait"             android:theme="@style/customactionbartheme">           </activity>         <activity             android:name="com.facebook.loginactivity"             android:label="@string/app_name"             android:theme="@android:style/theme.translucent.notitlebar" />          <meta-data             android:name="com.facebook.sdk.applicationid"             android:value="@string/app_id" />          <activity             android:name="com.dooba.beta.moodactivity"             android:screenorientation="portrait"             android:theme="@style/customactionbartheme">          </activity>          <activity             android:name="com.dooba.beta.profilechange"              android:screenorientation="portrait"             android:theme="@style/customactionbartheme">           </activity>        </application>  </manifest> 

any appreciated. in advance.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -