Ok, I definitely do not see how to make this work.
I don't grasp how the wrapping method here in any way spares the 1.5
runtime environment from having references to text-to-speech things.
A 1.5 user tried my test build and gets a force close. I redoubled my
efforts to manually select a 1.5
Of course, 2 minutes after posting this, I see the twisted path of how
to specify the 1.5 target.
I get, however, an exception (VerifyError) on a call to my TTS
wrapper. I think this might be because I modified the nature of this
slightly, and in a way that alters the delicate balance of the
I think I got it working. Thanks for the direction.
My mistake had been moving the boolean that reflected the availability
of the TTS function INTO my wrapper class (where code design sort of
suggests it would like to be) and this would cause me VerifyError
exceptions. So there was indeed a
Hello Tone,
You definitely have to target the 1.6 (or greater) platform for this
to compile.
I remember having trouble getting the debugger to attach to the 1.5
emulator. I don't remember if I was able to do that or if I relied on
Toast/log messages to zero in on my 1.5 specific issues. I'm not
I don't see how one is supposed to compile this without targetting
1.6, and if one targets 1.6, how does one get it to run on a 1.5
device?
I have minSdk=3 but my Eclipse projects don't want to compile WrapTTS
without replacing my Android 1.5 dependency with Android 1.6 Once I
do that, I can
Eric,
Thanks for the response! Sorry for my delay as well, it's been a busy
holiday.
I'm not exactly sure what I did, but I got it working on 1.5 devices.
Thanks for writing your initial message and code, it's much
appreciated!
Hayden
On Dec 30 2009, 8:54 am, Eric Carman ewcarma...@gmail.com
Hello Hayden,
I'm not sure why you are getting this error. It looks like the method
checkavailable can't be found. Strange. Also hard to say without
seeing the code.
One thing to check: Make sure the block
static {
try {
WrapTTS.checkAvailable();
Thanks, glad you posted this! I used your WrapTTS class exactly as
you have it, but nfortunately, running it on the 1.5 emulator still
crashes (works great on 1.6 though).
Just doing what you did above, declaring the 2 global variables and
doing the checkAvailable() check, but the app force
8 matches
Mail list logo