This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HttpUrlconnection connection = null; | |
BufferedReader reader = null; | |
String forecastJsonStr = null; | |
try { | |
URL url = new URL("http://api.openweathermap.org/data/2.5/forecast/daily?q=94043&mode=json&units=metric&cnt=7"); | |
connection = (HttpUrlconnection) url.openConnection(); | |
connection.setRequestMethod("GET"); | |
connection.connect(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.i18n = window.i18n || {}; | |
i18n._langCache = {} | |
i18n._availableLangs = [ | |
'en', | |
'zh-TW', | |
'ja' | |
] |