Commit Graph

18 Commits

Author SHA1 Message Date
kr.angelov
c63ca25a72 a quick hack in the Android translation for parsing Chinese 2013-10-08 14:08:40 +00:00
kr.angelov
7261134ad8 ensure that the grammar is loaded only once even if the main activity is recreated 2013-10-07 11:50:58 +00:00
kr.angelov
5041984e2d ensure that the grammar is loaded only once 2013-10-07 11:26:53 +00:00
kr.angelov
d327697605 in case of parse error report the token on Android 2013-10-07 10:11:41 +00:00
kr.angelov
8efe22542a remove the binaries for the grammar, the .so file and .jar file in the Android App. These should be compiled from sources 2013-10-07 09:58:47 +00:00
kr.angelov
dee84de3d6 remove the custom background in activity_main.xml since it is not backward compatible with older versions of Android 2013-10-07 09:57:24 +00:00
kr.angelov
c015af71a1 remove the grammar copying from the Android UI since now we can load grammars from InputStream 2013-10-04 20:31:58 +00:00
bringert
a35b286ce0 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.
2013-10-04 16:26:46 +00:00
kr.angelov
2a49e4e1d6 a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified 2013-09-17 12:45:00 +00:00
kr.angelov
8e1c6cca40 added BSD licenses to the Java binding and the android UI 2013-09-16 06:54:55 +00:00
kr.angelov
c684ab30a7 fix in Android.mk to make sure that the Android build will always see the ARM headers of GNU lightning 2013-09-12 12:55:55 +00:00
kr.angelov
9c3dd1e1e1 remove the logging from libgu 2013-09-12 09:30:02 +00:00
kr.angelov
2105188bd0 enable the PGF JIT compiler for Android 2013-09-12 09:05:43 +00:00
kr.angelov
14f8b96b56 remove the string internalization since it slows down grammar loading with little benefit 2013-09-05 13:34:49 +00:00
kr.angelov
46f2460a92 move src/runtime/android to src/ui/android/jni 2013-09-05 12:19:59 +00:00
kr.angelov
7c000467c9 updated files src/ui/android 2013-09-04 13:34:44 +00:00
krasimir
c0cccb26cb update the package name for the Android UI 2010-07-08 10:26:10 +00:00
krasimir
9953091888 add src/ui folder for both Android and GWT UIs 2010-07-08 10:06:26 +00:00