[android-developers] Re: Self-restarting service

2009-11-02 Thread Jayd16
I suppose you could try having a parent service that only has the job
of keeping your other service alive.  Essentially it could be crash
proof if you made it simple enough.  I'm not sure but I think services
and activities can execute code when they're paused or closed.
Hopefully when something crashes onDestroy() still gets called.  You
could write your main service to send an intent to the parent service
to get restarted.

Take all this with a grain of salt.  My advice is just a shot in the
dark.

On Oct 31, 11:07 pm, Anders Feder anders.feder...@gmail.com wrote:
 Hello,

 I am developing a slightly mission critical Android application, and want
 a Service component of it to be essentially immortal or at least
 self-restarting in the event of a crash (of the service). What would be
 the best way to accomplish this? I use API level 3 (Android 1.5).

 Thanks in advance,
 Anders Feder

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Need an invitation to google Wave?

2009-11-02 Thread Jayd16
I'd love one if you could send it my way.

Thanks

On Oct 31, 11:20 pm, Auguste Lunang legraphi...@gmail.com wrote:
 Hi,
 i have some google wave. invits to share. tell me if u want ..
 thx

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition

2009-11-02 Thread Jayd16
Hmmm, You can set what language to use.  Can you create a locale with
a dictionary of only the words you want?  That would be the most
efficient way to do this.  The other way is to look for yes or no in
the list if extra words.  It might be a performance hit but it will
give you less falls negatives.

On Nov 1, 2:36 pm, moa mich...@jixel.com wrote:
 I want to use the SR api to handle commands in my application. I know
 at any given point in my application what the valid commands would be
 at that point so would like to limit the results that the SR is
 matched against.

 For example, if the only valid commands were Yes or No I would
 like to be able to restrict the SR to only try and match against those
 two words. Otherwise on full vocabulary I get Snow and other false
 words. Limiting the vocabulary should make matching 90%+ accurate on
 limited words.

 Is this possible?

 Also, can I limit the SR to only match numerics for number input only?

 The internal dialer seems to be able to do this sort of this, so can
 I?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en