1 Star 0 Fork 0

陈慧颖/gooid

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
android.go 793 Bytes
一键复制 编辑 原始数据 按行查看 历史
gooid 提交于 2018-12-19 11:52 +08:00 . add FindMatchLibrary
// Copyright 2017 The gooid Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package app
import (
"github.com/gooid/gooid/internal/ndk"
)
type Callbacks = app.Callbacks
type Activity = app.Activity
type Window = app.Window
type InputEvent = app.InputEvent
type Context = app.Context
func SetMainCB(fn func(*Context)) {
app.SetMainCB(fn)
}
func Loop() bool {
return app.Loop()
}
// getprop
func PropGet(k string) string {
return app.PropGet(k)
}
// visitor all properties
func PropVisit(cb func(k, v string)) {
app.PropVisit(cb)
}
// FindMatchLibrary find library path
// see filepath.Glob(pattern string)
func FindMatchLibrary(pattern string) []string {
return app.FindMatchLibrary(pattern)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/githubchy/gooid.git
git@gitee.com:githubchy/gooid.git
githubchy
gooid
gooid
2c72341a60e5

搜索帮助