Example #1
0
//export dcoinStart
func dcoinStart() {
	go dcoin.Start(C.GoString(C.GetFilesDir()), nil)
}
Example #2
0
func GetFilesDir() string {
	fmt.Println("getdirr")
	ctx := mobileinit.Context{}
	return C.GoString(C.GetFilesDir(ctx.JavaVM(), ctx.AndroidContext()))
}