Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xaionaro-go/ndk
Go bindings for Android NDK
https://github.com/xaionaro-go/ndk
android api camera codec fyne ndk photo sdk video
Last synced: about 3 hours ago
JSON representation
Go bindings for Android NDK
- Host: GitHub
- URL: https://github.com/xaionaro-go/ndk
- Owner: xaionaro-go
- License: other
- Created: 2024-11-10T22:24:36.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-11-17T00:59:07.000Z (2 months ago)
- Last Synced: 2024-12-18T08:40:14.903Z (about 1 month ago)
- Topics: android, api, camera, codec, fyne, ndk, photo, sdk, video
- Language: Go
- Homepage:
- Size: 58.3 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NDK
This is an attempt to make to work the NDK Go-bindings left in old repository github.com/gooid/gooid.
I haven't tried the provided examples, but I copied camera-related files from `Camera2Demo` into `FyneCameraDemo` and made it work using [`fyne`](https://github.com/fyne-io/fyne) to package it for Android:
[FyneCameraDemo](https://github.com/xaionaro-go/ndk/tree/master/examples/FyneCameraDemo)
To try it:
```sh
go install fyne.io/fyne/v2/cmd/fyne@latestcd ./examples/FyneCameraDemo
~/go/bin/fyne package -os android/arm64
```And when I've launched the app, I got this:
![FyneCameraDemo_screenshot.png](doc/FyneCameraDemo_screenshot.png "FyneCameraDemo_screenshot.png")---
# OLD `README.md (originally from github.com/gooid/gooid)
## Go bindings for Android NDK
用 Go 开发 APK### [基本编译环境](https://github.com/gooid/gooid/wiki/%E5%9F%BA%E6%9C%AC%E7%BC%96%E8%AF%91%E7%8E%AF%E5%A2%83)
### 示例应用
#### [Storage demo](https://github.com/gooid/gooid/tree/master/examples/AssetDemo)![Storage demo](https://img-blog.csdnimg.cn/2018121111145749.gif)
#### [Sensor demo](https://github.com/gooid/gooid/tree/master/examples/SensorDemo)
![Sensor demo](https://img-blog.csdnimg.cn/20181214202804155.gif)
#### [Record demo](https://github.com/gooid/gooid/tree/master/examples/Record)
![Record demo](https://img-blog.csdnimg.cn/20181224171403212.gif)
#### [Camera demo](https://github.com/gooid/gooid/tree/master/examples/CameraDemo)
![Camera demo](https://img-blog.csdnimg.cn/20181225151226349.gif)
#### [FaceDetect](https://github.com/gooid/gooid/tree/master/examples/FaceDetect)
![FaceDetect](https://img-blog.csdnimg.cn/20181226215246966.png)