开发者

My activity is refreshing or restarting in after onactivity result, how to avoid that

I disable a button in 开发者_运维百科my activity. I am calling my activity using startactivity android.media.provider.VIDEO_CAPTURE in on activity result I enable the button. In onactivityresult my activity restarts or resumes in android. Can anybody tell me how to avoid this?

Thanks


First onActivityResult() is called. Then, onResume() is called.

If you don't want to do anything after onActivityResult, then don't override onResume() method.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜