Fix formatting of strings with unknown size
Move jni interface classes from batphone repo