D DT1111 Member Licensed User Longtime User Nov 16, 2013 #1 Hello I am doing this interactive time telling clock using voice recognition and TTS engines and the first one works perfectly (almost). See attachment called "clock.b4a". My only gripe is that the time in second freezes when the voice recognition comes into play. So I thought in order to circumvent that I would move the VR into a service module. See attachment called "clock with service.b4a" and the service module named "timeteller". Android doesn't like it saying activity class is not explicit. Not sure why. Can someone let me know what was wrong. Thanks. Attachments Talking Clock.zip Talking Clock.zip 390.5 KB · Views: 308
Hello I am doing this interactive time telling clock using voice recognition and TTS engines and the first one works perfectly (almost). See attachment called "clock.b4a". My only gripe is that the time in second freezes when the voice recognition comes into play. So I thought in order to circumvent that I would move the VR into a service module. See attachment called "clock with service.b4a" and the service module named "timeteller". Android doesn't like it saying activity class is not explicit. Not sure why. Can someone let me know what was wrong. Thanks.
NJDude Expert Licensed User Longtime User Nov 16, 2013 #2 The VR is a modal and activity object that's why it "pauses" your clock, and you cannot put it in a service, services don't allow UI objects. Upvote 0
The VR is a modal and activity object that's why it "pauses" your clock, and you cannot put it in a service, services don't allow UI objects.