--创建索引 create[unique]--创建唯一性索引。默认为非唯一性索引。 [bitmap]--创建位图索引。默认为b-树索引。 index[schema.]index on[schema.]table(index_expr[asc|desc][,…]) [pctfree integer] ... ...
分类:
数据库 时间:
2017-07-07 17:31:13
阅读次数:
253
BufferedInputStream in = new BufferedInputStream( new FileInputStream(new File(path))); BitmapFactory.Options options = new BitmapFactory.Options(); o ...
分类:
移动开发 时间:
2017-07-07 14:17:19
阅读次数:
229
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) private Bitmap createVideoThumbnail(String url, int width, int height) { Bitmap bitmap = null; Medi... ...
分类:
移动开发 时间:
2017-07-06 19:03:55
阅读次数:
298
procedure TForm1.Button1Click(Sender: TObject);var oSizeF: TSizeF;beginoSizeF.cx:=10;//发现这个值小了会增加马赛克,D这是要做日本电影吗?oSizeF.cy:=10;Image1.Bitmap.Assign(Ima ...
分类:
移动开发 时间:
2017-07-06 14:18:22
阅读次数:
173
Bitmap bit = new Bitmap(90, 40);//画布大小 Graphics g = Graphics.FromImage(bit);//创建绘制对象,告诉它往哪张图片上绘制 Random r = new Random(); string s = ""; Color color1 ... ...
分类:
其他好文 时间:
2017-07-04 09:44:16
阅读次数:
177
/** * 加入文字到图片。相似水印文字。 * @param gContext * @param gResId * @param gText * @return */ public static Bitmap drawTextToBitmap(Context gContext, int gResId ...
分类:
移动开发 时间:
2017-07-03 19:58:05
阅读次数:
203
http://blog.csdn.net/xyz_lmn/article/details/7001892 android程序内存被分为2部分:native和dalvik,dalvik就是我们平常说的java堆,我们创建的对象是在这里面分配的,而bitmap是直接在native上分配的,对于内存的限制 ...
分类:
数据库 时间:
2017-07-03 18:34:14
阅读次数:
214
This article explains how to make a custom Windows Tab Control in C#. This article explains how to make a custom Windows Tab Control in C#. Download d ...
分类:
其他好文 时间:
2017-07-03 17:18:19
阅读次数:
162
本文是作者在Android开发实践中的随手速记,记录一些小问题的解决方案和注意事项,持续更新。 以下是速记内容,若有不严谨的地方,望小伙伴们指出。 1.Module 不生成R文件,可尝试取消对该Module的引用,取消后AS会再次编译工程,看看此时能否生成R。 2.Activity theme设置错 ...
分类:
移动开发 时间:
2017-07-03 14:09:38
阅读次数:
243
这个博文,是在上一篇的基础上修改而成,这次是控制图片左右移动,上下移动类似就不在写了packagecom.yuanlp.testp_w_picpath;
importandroid.graphics.Bitmap;
importandroid.graphics.BitmapFactory;
importandroid.graphics.Canvas;
importandroid.graphics.Color;
importa..
分类:
移动开发 时间:
2017-07-03 10:06:51
阅读次数:
221