开发者

What happens when an activity closes before it's result activity?

开发者 https://www.devze.com 2023-03-14 01:46 出处:网络
I\'m playing around with the voice recognition API and wanted to know what I should do if the activity that started it gets closed before the Google Voice Recognition activity is done receiving a resu

I'm playing around with the voice recognition API and wanted to know what I should do if the activity that started it gets closed before the Google Voice Recognition activity is done receiving a result from the user. In other words, is there a way to force close the voice reco开发者_StackOverflow中文版gnition activity which was started by calling startActivityForResult()?


Nevermind, all I had to do was do finishActivity(requestCode).

0

精彩评论

暂无评论...
验证码 换一张
取 消