Some other Eclipse integration, modified AndroidManifest.xml to match build.gradle information (app version, sdk version)

This commit is contained in:
kLeZ 2014-09-23 09:58:05 +02:00
parent cac3e8e71c
commit a9126f7214
2 changed files with 33 additions and 43 deletions

View file

@ -67,7 +67,7 @@ task ('copyJarDependenciesIntoLibs', type: CopyJars) {
description = 'Used for Eclipse. Copies JAR dependencies to the libs directory.' description = 'Used for Eclipse. Copies JAR dependencies to the libs directory.'
destination = file(project.projectDir.canonicalPath + File.separator + 'libs') destination = file(project.projectDir.canonicalPath + File.separator + 'src' + File.separator + 'main' + File.separator + 'libs')
afterEvaluate { afterEvaluate {
source = files( source = files(
@ -87,7 +87,7 @@ task ('extractAarDependenciesIntoLibs', type: ExtractAars) {
description = 'Used for Eclipse. Extracts AAR dependencies into the libs directory.' description = 'Used for Eclipse. Extracts AAR dependencies into the libs directory.'
destination = file(project.projectDir.canonicalPath + File.separator + 'libs') destination = file(project.projectDir.canonicalPath + File.separator + 'src' + File.separator + 'main' + File.separator + 'libs')
afterEvaluate { afterEvaluate {
source = files( source = files(

View file

@ -1,52 +1,42 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.zeapo.pwdstore" > package="com.zeapo.pwdstore" android:versionCode="11"
android:versionName="1.1-b5">
<application <application android:allowBackup="true" android:icon="@drawable/ic_launcher"
android:allowBackup="true" android:label="@string/app_name" android:theme="@style/AppTheme">
android:icon="@drawable/ic_launcher" <activity android:name=".PasswordStore" android:label="@string/app_name">
android:label="@string/app_name" <intent-filter>
android:theme="@style/AppTheme" > <action android:name="android.intent.action.MAIN" />
<activity
android:name=".PasswordStore"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity android:name=".GitHandler" android:label="@string/title_activity_git_clone"
android:name=".GitHandler" android:parentActivityName=".PasswordStore">
android:label="@string/title_activity_git_clone" <meta-data android:name="android.PARENT_ACTIVITY1"
android:parentActivityName=".PasswordStore"> android:value="com.zeapo.pwdstore.PasswordStore" />
<meta-data </activity>
android:name="android.PARENT_ACTIVITY1" <activity android:name=".crypto.OpenPgpProviderActivity" />
android:value="com.zeapo.pwdstore.PasswordStore" />
</activity>
<activity android:name=".crypto.OpenPgpProviderActivity" />
<activity android:name=".UserPreference" <activity android:name=".UserPreference"
android:parentActivityName=".PasswordStore"> android:parentActivityName=".PasswordStore">
<meta-data <meta-data android:name="android.support.PARENT_ACTIVITY"
android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
android:value="com.zeapo.pwdstore.PasswordStore" /> </activity>
</activity>
<activity <activity android:name=".crypto.PgpHandler" android:label="@string/title_activity_pgp_handler"
android:name=".crypto.PgpHandler" android:parentActivityName=".PasswordStore">
android:label="@string/title_activity_pgp_handler"
android:parentActivityName=".PasswordStore">
<meta-data <meta-data android:name="android.support.PARENT_ACTIVITY"
android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
android:value="com.zeapo.pwdstore.PasswordStore" /> </activity>
</activity> </application>
</application>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-sdk android:targetSdkVersion="19" android:minSdkVersion="15" />
</manifest> </manifest>