Android网络库sdk开发经验分享.pdfVIP

  • 14
  • 0
  • 约8.17千字
  • 约 6页
  • 2022-05-23 发布于江苏
  • 举报
Android 网络库开发文档 本文对Android 网络库开发做了详细的介绍,如下: 网络库是用C++编写,用ndk编译的jni 动态库,功能为使用http+p2 方式 创建、下载视频任务并提供播放器播放数据,所有接口线程安全,下面介绍云帆 加速视频a 开发如何使用sdk。 1、初始化 sdk,程序启动后只需要初始化一次,初始化成功后才能调用其 他接口。 public void CallBackFunction(int id,int result,String buf) { Log.i(TAG,CallBackFunction +id+ +result+ +buf); } public int TestInit() { String strConfigPath = Environment.getExternalStorageDirectory().toString()+/yfnet/config/ ; String strCachePath = Environment.getExternalStorageDirectory().toString()+/yfnet/cache/; String strSdkKey = new Strin

文档评论(0)

1亿VIP精品文档

相关文档