WebView is terminate when not choosing file wiht file chooser

Trong hàm onActivityResult(int requestCode, int resultCode, Intent data) nếu ta không sử lý trường hợp người dùng không chọn file bằng cách bấm nút Back của device hoặc chạm khu vụ ngoài hộp thoại thì hộp thoại chọn file sẽ tắt và WebView bị đơ.
Ta chỉ cần xử lý như sau:

;

Post a Comment

emo-but-icon

Follow Us

Hot in week

Recent

Comments

Side Ads

Text Widget

Connect Us

item