want to call Google Safe Browsing api in application on Default Browser andriod.The app needs to use the google safe browsing api to check if an URL is safe to visit. If not it needs to display a message give the user the option to reject (or load) the page. Safe Brows开发者_运维技巧ing Lookup API should be easiest to implement.
Very broad question, do you have any code written?
Here are some Examples for using the Safe Browsing Lookup API.
Basically you will need to issue a request with the questionable domain name, and based upon the response determine if it is ok or not. If it is not, then use AlertDialogBuilder
or some other method to notify the user and have Continue and Exit buttons.
精彩评论