java - Glass VoiceListener causes Illegal Argument exception -



java - Glass VoiceListener causes Illegal Argument exception -

so had glassvoice.jar voicelistener working on glass until changed few things. 1 upgraded glass xe18.11, , other moved voicelistener own thread outside of main activity. when run code, next error:

06-24 12:46:35.844: e/androidruntime(5425): fatal exception: main 06-24 12:46:35.844: e/androidruntime(5425): process: com.myapp, pid: 5425 06-24 12:46:35.844: e/androidruntime(5425): java.lang.illegalargumentexception: unknown uri type: 1279544898 06-24 12:46:35.844: e/androidruntime(5425): @ android.os.parcel.readexception(parcel.java:1469) 06-24 12:46:35.844: e/androidruntime(5425): @ android.os.parcel.readexception(parcel.java:1419) 06-24 12:46:35.844: e/androidruntime(5425): @ com.google.glass.voice.ivoiceservice$stub$proxy.setconfig(unknown source) 06-24 12:46:35.844: e/androidruntime(5425): @ com.google.glass.input.voiceinputhelper.setvoiceconfig(unknown source) 06-24 12:46:35.844: e/androidruntime(5425): @ com.myapp.voice_recognition.voicerecognitionthread$myvoicelistener.onvoiceserviceconnected(voicerecognitionthread.java:183) 06-24 12:46:35.844: e/androidruntime(5425): @ com.google.glass.input.voiceinputhelper.dispatchvoiceserviceconnected(unknown source) 06-24 12:46:35.844: e/androidruntime(5425): @ com.google.glass.input.voiceinputhelper.access$400(unknown source) 06-24 12:46:35.844: e/androidruntime(5425): @ com.google.glass.input.voiceinputhelper$2.handlemessage(unknown source) 06-24 12:46:35.844: e/androidruntime(5425): @ android.os.handler.dispatchmessage(handler.java:102) 06-24 12:46:35.844: e/androidruntime(5425): @ android.os.looper.loop(looper.java:149) 06-24 12:46:35.844: e/androidruntime(5425): @ android.app.activitythread.main(activitythread.java:5061) 06-24 12:46:35.844: e/androidruntime(5425): @ java.lang.reflect.method.invokenative(native method) 06-24 12:46:35.844: e/androidruntime(5425): @ java.lang.reflect.method.invoke(method.java:515) 06-24 12:46:35.844: e/androidruntime(5425): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:786) 06-24 12:46:35.844: e/androidruntime(5425): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:602) 06-24 12:46:35.844: e/androidruntime(5425): @ dalvik.system.nativestart.main(native method)

i thought might have changed jar because of software upgrade, repulled glassvoice apk , redid apk->jar process, when utilize new jar can't upload app because run out of memory. don't know why happens.

any thoughts? code same when worked, if need see can provide it.

update: used git go before moved listener new thread. version worked 100% on xe12. not work, same error. same memory issues when trying utilize new jar. thoughts?

i still having no luck getting glassvoice.jar code got xe12 work, tackled problem of running out of memory when using new glassvoice.jar pulled xe18.11. increased eclipse's memory allowance recommended levels , still didn't work. doubled recommended levels , went through. have voice commands back.

java android google-glass voice-recognition google-gdk

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -