首页
学习
活动
专区
工具
TVP
发布

along的开发之旅

专栏作者
131
文章
273648
阅读量
28
订阅数
深入了解Bundle和Map
这篇博客是在Eugenio @workingkills Marletti的帮助下完成的。
望天
2022-01-08
7740
Android Studio 4.2 启动报错“Unsupported Java Version”
这个问题最初觉得比较神奇,AS4.2依赖 Java11及以上,但我环境已经配置成jdk12了。但是启动还是报这个错误。
望天
2021-08-27
3.7K0
ijkplayer源码分析之surface与opengl关联初始化
在step 1中进行IjkMediaPlayer实例的构造,构造过程中完成的step 2加载so并在加载过程中将底层的一些信息保存到IjkMediaPlayer实例中 step 3将IjkMediaPlayer实例对象设置到底层IjkMediaPlayer结构体中,创建底层IjkMediaPlayer结构体。在创建结构体的同时设置message_loop回调函数实现将底层消息传递到上层的作用
望天
2021-01-07
1K0
CMake FindJNI module快速查找jni
找了下报错的脚本"native/CMakeLists.txt", 发现里面没有找JNI module,于是添加
望天
2020-11-19
1.4K0
Advice for Middleware Vendors JNI中间件厂商开发建议
Distributing middleware built with the NDK imposes some additional problems that app developers do not need to worry about. Prebuilt libraries impose some of their implementation choices on their users.
望天
2020-02-13
4950
Android so 加载原理分析
http://gityuan.com/2017/03/26/load_library/
望天
2020-01-02
7.4K0
JNI|在子线程中获得JNIEnv|AttachCurrentThread
A JNI interface pointer (JNIEnv*) is passed as an argument for each native function mapped to a Java method, allowing for interaction with the JNI environment within the native method.This JNI interface pointer can be stored, but remains valid only in the current thread. Other threads must first call AttachCurrentThread()to attach themselves to the VM and obtain a JNI interface pointer. Once attached, a native thread works like a regular Java thread running within a native method. The native thread remains attached to the VM until it callsDetachCurrentThread() to detach itself.[3]
望天
2019-06-14
3.9K0
JNI开发中,你需要知道的一些建议
JNI全称Java Native Interface。它为Java与本C/C++之间提供了一种交互方式。
望天
2019-05-26
1.3K0
让IjkPlayer支持插入自定义的GPU滤镜
最近因为工作的原因,需要提供一个将我们的AiyaEffectsSDK插入到IjkPlayer中的示例,就不得不好好看了下IjkPlayer的代码。在IjkPlayer中并没有提供设置自定义GPU滤镜的接口,所以最后只能自己动手,以求丰衣足食了。不得不说,Bilibili开源的这个IjkPlayer播放器的确非常强大,代码设计的非常清晰,仔细看看,能学到不少东西。
望天
2019-05-26
1.7K0
JNI|在子线程中获得JNIEnv|AttachCurrentThread
A JNI interface pointer (JNIEnv*) is passed as an argument for each native function mapped to a Java method, allowing for interaction with the JNI environment within the native method.This JNI interface pointer can be stored, but remains valid only in the current thread. Other threads must first call AttachCurrentThread()to attach themselves to the VM and obtain a JNI interface pointer. Once attached, a native thread works like a regular Java thread running within a native method. The native thread remains attached to the VM until it callsDetachCurrentThread() to detach itself.[3]
望天
2019-05-26
9890
谷歌开源 Java 镜像构建工具 Jib
今天了解到一个有趣的工具Jib, 能快速将java程序容器化. 区别于手工容器化的复杂步骤, Jib能很快将Java程序容器化.
望天
2019-03-04
9870
ndkCompile ndk-build CMakeList 区别.
一直很好奇`android.useDeprecatedNdk = true`到底是使用的什么废弃ndk, 但是找资料一直没有找到相关的.
望天
2018-12-25
8430
写OC遇到的一个超级低级错误:
AppCode提示: class method is called from instance context.
望天
2018-12-25
6810
Siemens NX 9.0和 UG 4.0 同时安装
主要是解决能还是不能的问题,答案是确定的,能。Siemens NX 9.0的licence Server可以管理UG 4.0的licence。
望天
2018-08-02
5930
一行Shell代码查找所有代码行数
最近写简历, 想算下自己的这个项目一共有多少行代码, 好方便在简历上展示. 本来想着一直用git管理代码, 顺便统计下好了. 结果竟然没有在git中找到单独统计行数的工具, 太出乎我意料了. 最近用Cmder挺方便, 就想用shell统计下代码行数, 应该就是一两个命令的事.
望天
2018-08-02
1.1K0
Android逆向分析概述
学习逆向的初衷是想系统学习Android下的hook技术和工具, 想系统学习Android的hook技术和工具是因为Android移动性能实战这本书. 这本书里用hook技术hook一些关键函数来计算关键函数的调用参数和调用时长, 从而确定性能问题发生的位置和原因. 但目前没有比较系统的讲解hook的书籍, 所以就系统的了解下逆向分析.
望天
2018-08-02
1.3K0
关于 AndroidJavaCompile.setDependencyCacheDir 的解决办法
svn新建了release分支, 报错如下: Error:Cause: com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V Consult IDE log for more details (Help | Show Log)
望天
2018-08-02
4730
java 9的jhat和visualVM去哪了?
看Android移动性能实战一书, 其介绍用jhat分析Hprof文件, 用everything搜索jhat, 懵然发现jdk 9竟然没有这个命令. 于是查阅下资料, 整理如下:
望天
2018-08-02
1.3K0
没有更多了
社区活动
RAG七天入门训练营
鹅厂大牛手把手带你上手实战
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档