Skip to content Skip to sidebar Skip to footer

Android Speech Recognition Service Null Pointer Exceptions

i am trying to create an android speech recognitions service following the example here: Android Speech Recognition Continuous Service and below is my code: public class MainActivi

Solution 1:

VoiceCommandServicevoiceCommandService=newVoiceCommandService()

Don't instantiate services with new - lifecycle methods such as onCreate() won't get invoked.

Use an Intent.

Post a Comment for "Android Speech Recognition Service Null Pointer Exceptions"