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).
精彩评论