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).
加载中,请稍侯......
精彩评论