Skip to content

Instantly share code, notes, and snippets.

View ishakantony's full-sized avatar
🏠
Working from home

Ishak "Isaac" Darmawan ishakantony

🏠
Working from home
View GitHub Profile
@ishakantony
ishakantony / TtsBridge.kt
Created August 19, 2026 04:31
Android TSS Bridge
package com.example.mfewebview
import android.content.Context
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.speech.tts.TextToSpeech
import android.speech.tts.UtteranceProgressListener
import android.webkit.JavascriptInterface
import android.webkit.WebView