1 Star 0 Fork 0

陈慧颖 / gooid

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
android.go 793 Bytes
Copy Edit Web IDE Raw Blame History
gooid authored 2018-12-19 11:52 . 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)
}

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/githubchy/gooid.git
git@gitee.com:githubchy/gooid.git
githubchy
gooid
gooid
master

Search

101046 36f486cf 1899542 101055 4cb66026 1899542