summaryrefslogtreecommitdiff
path: root/src/ui/android/AndroidManifest.xml
diff options
context:
space:
mode:
authorbringert <bringert@google.com>2013-10-04 16:26:46 +0000
committerbringert <bringert@google.com>2013-10-04 16:26:46 +0000
commita35b286ce040919a71d27e5bf696886237c6c470 (patch)
tree4e54cc1994a7f0760f76b0efe8c9e85ef38ec9ef /src/ui/android/AndroidManifest.xml
parentf156a5e8f9c903f132541e1c34f1c9f5c1ee69af (diff)
Add new Android voice translator sample app
This adds a simple voice translator Android app that uses the JNI bindings to the PGF C runtime. Caveats: - Since the C runtime doesn't compile for Android right now, I've bundled an old copy, along with its Java bindings. That should be removed once the C runtime compiels for Android again. - Adding an automated build would be nice. - Replacing the grammar requires editing a Java file, that should really be more dynamic.
Diffstat (limited to 'src/ui/android/AndroidManifest.xml')
-rw-r--r--src/ui/android/AndroidManifest.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ui/android/AndroidManifest.xml b/src/ui/android/AndroidManifest.xml
index 9fef8e112..9728b71aa 100644
--- a/src/ui/android/AndroidManifest.xml
+++ b/src/ui/android/AndroidManifest.xml
@@ -2,19 +2,21 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.grammaticalframework.ui.android"
android:versionCode="1"
- android:versionName="1.0">
+ android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
- android:targetSdkVersion="8" />
+ android:targetSdkVersion="18" />
+
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
- android:theme="@style/AppTheme">
+ android:theme="@style/AppTheme" >
<activity
- android:name="org.grammaticalframework.ui.android.MainActivity"
+ android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />