Hi everyone
I have managed to customized ODK. I have a problem compiling the code.
Below is an error and manifest xml.
Can anyone help please.
Error:(213, -1) android-apt-compiler: [ODK 1.2]
C:\Users\kofi.agyapong\Desktop\Kofi\ODK\Customized\ODK
1.2\AndroidManifest.xml:213: error: Error parsing XML: mismatched tag
Manifest xml
<?xml version="1.0" encoding="utf-8"?><uses-feature android:name="android.hardware.location"
android:required="false" />
<uses-feature android:name="android.hardware.telephony"
android:required="false" />
<uses-permission android:name="android.permission.READ_PHONE_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"
/>
<!-- for Maps v2 functionality, want:
uses-feature android:glEsVersion="0x00020000" android:required="false"
BUT, the gl setting is not modified by the required parameter, so
do not declare anything here - detect capabilities at runtime.
-->
<permission
android:name="org.opendatakit.tables.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission
android:name="org.opendatakit.tables.permission.MAPS_RECEIVE" />
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="8" />
<supports-screens
android:anyDensity="true"
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />
<activity>
android:name="org.odk.collect.android.application.Collect"
android:largeHeap="true"
android:icon="@drawable/notes"
android:label="@string/app_name"
android:theme="@style/Collect" >
<provider
android:exported="true"
android:name="org.odk.collect.android.provider.FormsProvider"
android:authorities="org.odk.collect.android.provider.odk.forms" />
<provider
android:exported="true"
android:name="org.odk.collect.android.provider.InstanceProvider"
android:authorities="org.odk.collect.android.provider.odk.instances" />
<activity
android:name=".activities.MainMenuActivity"
android:configChanges="orientation"
android:label="@string/app_name" >
</activity>
<activity
android:name=".activities.FormEntryActivity"
android:configChanges="orientation"
android:label="@string/app_name"
android:windowSoftInputMode="adjustResize" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:mimeType="vnd.android.cursor.item/vnd.odk.form" />
<activity
android:name="activities.com.google.android.gms.maps.MapFragment"
android:label="com.google.android.gms.maps.MapFragment" />
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:mimeType="vnd.android.cursor.dir/vnd.odk.instance" />
<activity
android:name=".activities.InstanceChooserTabs"
android:label="@string/app_name" />
<activity
android:name=".activities.FormChooserList"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:mimeType="vnd.android.cursor.dir/vnd.odk.form" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".activities.InstanceUploaderActivity"
android:label="@string/app_name" />
<activity
android:name=".preferences.PreferencesActivity"
android:label="@string/app_name" />
<activity
android:name=".preferences.AdminPreferencesActivity"
android:label="@string/app_name" />
<activity
android:name=".activities.FormHierarchyActivity"
android:label="@string/app_name" />
<activity
android:name=".activities.GeoPointActivity"
android:label="@string/app_name" />
<activity
android:name=".activities.GeoPointMapActivity"
android:label="@string/app_name" />
<activity
android:name=".activities.GeoPointMapActivitySdk7"
android:label="@string/app_name" />
<activity
android:name=".activities.BearingActivity"
android:label="@string/app_name" />
<activity
android:name=".activities.SplashScreenActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Dialog" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Enable Shortcuts for Command Actions -->
<activity
android:name=".activities.AndroidShortcuts"
android:label="ODK Form"
android:theme="@android:style/Theme.Translucent.NoTitleBar" >
<intent-filter>
<action
android:name="android.intent.action.CREATE_SHORTCUT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver
android:name=".receivers.NetworkReceiver"
android:enabled="true" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"
/>
</application>
</manifest>