AAsset_read VS FOPEN [英] AAsset_read vs fopen
本文介绍了AAsset_read VS FOPEN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要问,什么是推荐的方式从文件,AAsset_read或非标准的fopen阅读?什么是两者的利弊?
I want to ask, what is recommended way to read from file, AAsset_read or standart fopen ? What are pros and cons of both ?
推荐答案
Android应用程序资产不存储为独立的文件。它们被存储于APK,这是一个ZIP文件。你不能fopen()函数它们。
Android app assets are not stored as standalone files. They're stored in APK, which is a ZIP archive. You cannot fopen() them.
这篇关于AAsset_read VS FOPEN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文