mainfunx / frpc_android

frpc_android 最新版本0.39.1
Apache License 2.0
344 stars 94 forks source link

关于导入使用问题或者能提供一下简单的文档最好。 #16

Closed NicodeLee closed 1 year ago

NicodeLee commented 1 year ago

第一,是不是导入aar,jar文件就可以了。 第二,启动是不是发个跨进程消息就行。 像这个LiveEventBus.get(FrpcService.INTENT_KEY_FILE).postAcrossProcess(item.getUid()); 还有就是成功失败回调。

总之还是非常感谢这个库。

NicodeLee commented 1 year ago

知道了,入口都在,Frpclib这个类上了。

NicodeLee commented 1 year ago

补充一下关于使用的问题 String error = Frpclib.runContent(config.getUid(), config.getCfg()); 这个result的回调好像是无效的,demo也一样没有回调到Toast提示那里, 启动成功失败只能是自己捕获logcat关键字来取得结果吗