#vue#english_learn#learn_english#memorizing_words#typing#typing_game#typing_practice#typing_word#typingspeedtest
Typing Word is a free online tool to help you memorize and practice English words and articles. You can choose to learn words by typing or listening, with options for American or British pronunciation and error tracking. It includes features like a vocabulary notebook for new or difficult words, and a mode that repeats mistakes until you get them right. You can also practice classic texts or add your own articles with translation help. It supports many word lists for exams like CET, GRE, IELTS, TOEFL, and even programming terms. This tool helps you improve your English vocabulary and typing skills efficiently and interactively.
https://github.com/zyronon/typing-word
🚀 Вышел стабильный JavaScript движок от Google для Android
Новая стабильная библиотека Jetpack JavaScript Engine позволит разработчикам выполнять JS код в изолированной и ограниченной среде.
class MainActivity : ComponentActivity() {
// Теперь nullable, без lateinit
private var jsSandbox: JavaScriptSandbox? = null
private var jsIsolate: JavaScriptIsolate? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!JavaScriptSandbox.isSupported()) {
Log.e("JS", "JavaScriptSandbox не поддерживается")
return
}
lifecycleScope.launch {
// Создаём и сохраняем в nullable-поле
jsSandbox = JavaScriptSandbox
.createConnectedInstanceAsync(applicationContext)
.await()
jsIsolate = jsSandbox?.createIsolate()
// При выполнении гарантируем, что jsIsolate != null
val result: String = jsIsolate
?.evaluateJavaScriptAsync(JS_SCRIPT_SCRING)
?.await()
?: "Ошибка: isolate не инициализирован"
Log.d("JS", "Результат выполнения: $result")
}
}
override fun onDestroy() {
super.onDestroy()
// Закрываем только если не null
jsIsolate?.close()
jsSandbox?.close()
}
}
#jetpack#js