feat: Android native app with Go backend#7
Open
huadaox wants to merge 1 commit into
Open
Conversation
- Add Go backend (go-backend/) with WebSocket server and SQLite storage - Add Android app (android/) with Kotlin + Jetpack Compose - Implement audio capture using Android AudioRecord API - Implement WebSocket client for real-time communication - Add UI components: WaveformVisualizer, SubtitleCard - Add screens: TranslationScreen, SettingsScreen - Add build script for Android app - Add ANDROID_README.md with documentation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
本 PR 添加了 Android 原生应用实现,使用 Go 后端 + Kotlin 前端方案。
技术方案
后端 (Go)
前端 (Kotlin + Jetpack Compose)
功能特性
文件结构
测试方法
构建 Go 后端:
cd go-backend go mod tidy go run main.go用 Android Studio 打开
android/目录连接 Android 设备或启动模拟器
运行应用
在设置中配置服务器地址
开始使用
注意事项
ws://10.0.2.2:8000/ws连接本地后端相关文档
详见 ANDROID_README.md