我正在尝试将多个图像设置为c#中的Xamarin android app中的live wallpaer,因为我是bitmapfactory的新手我在getResources()java代码中遇到错误c#。有人可以帮助我。
Bitmap bm = BitmapFactory.DecodeFile(@"D:\New folder\Downloads\Compressed\Properties\Resources\drawable-hdpi\P.jpg");
// Bitmap bm = BitmapFactory.DecodeResource(null, Resource.Drawable.P);
c.DrawBitmap(bm, 100, 200, null);
plz找到解决方案链接:Solution of multiple images Live Wallpaper