В чем разница между loadData веб-просмотра Android и loadDataWithBaseURL

В веб-обзоре Android есть 2 способа загрузки данных

public void loadData (String data, String mimeType, String encoding)

Note that JavaScript's same origin policy means that script running in a page loaded using this method will be unable to access content loaded using any scheme other than 'data', including 'http(s)'. To avoid this restriction, use loadDataWithBaseURL() with an appropriate base URL.

а также

public void loadDataWithBaseURL (String baseUrl, String data, String mimeType, String encoding, String historyUrl)

Note that content specified in this way can access local device files (via 'file' scheme URLs) only if baseUrl specifies a scheme other than 'http', 'https', 'ftp', 'ftps', 'about' or 'javascript'.

Я не знаю, что означают эти 2 предложения и когда выбирать между ними?

заранее спасибо

Ответы на вопрос(3)

Ваш ответ на вопрос