小编Joh*_*gan的帖子

如何将byte []或位图转换为整数(R.drawable.picture)Android java

我想转换

byte[] image = cursor.getBlob(5);

Bitmap bit_image = getImage(image);
Run Code Online (Sandbox Code Playgroud)

任何一个byte[]Bitmap一个R.drawable.picture.

我需要它是一个integer(int而不是int[]),因为我的自定义列表视图只接受和int.

list_view_class.add(new List_view_class(R.drawable.picture,text);
Run Code Online (Sandbox Code Playgroud)

java android bitmap

3
推荐指数
1
解决办法
2621
查看次数

System.webServer具有无效的子元素'monitoring'

我正在使用Visual Studio 2015与本地IIS Express和Azure Web应用程序.

我正在尝试使用这些说明实现Worker进程回收.

https://azure.microsoft.com/en-us/blog/auto-healing-windows-azure-web-sites/

但是,当我尝试实现<monitoring><trigger>得到错误

元素'system.webServer'具有无效的子元素'monitoring'

c# iis asp.net-mvc azure

2
推荐指数
1
解决办法
557
查看次数

标签 统计

android ×1

asp.net-mvc ×1

azure ×1

bitmap ×1

c# ×1

iis ×1

java ×1