开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜