using Android.Content.Res;
string content;
AssetManager assets = this.Assets;
using (StreamReader sr = new StreamReader(assets.Open("test.txt")))
{
Step = " 3-1";
content = sr.ReadToEnd();
}
Android 读取Assets资源
最新推荐文章于 2024-08-22 17:01:55 发布