最近在做一个小项目,项目开发中需要实现一个登录验证功能,具体的要求就是,在Android端输入用户名和密码,在服务器端验证MySQL数据库中是否有此用户,实现之前当然首要的是,如何使Android端的数据发送到服务器端,具体的实现方法: 服务器端:ManageServlet.java public ...
分类:
移动开发 时间:
2017-04-16 22:40:16
阅读次数:
234
一.2D转换 属性:translate() x,y位置移动 rotate() 顺时针旋转角度(单位deg,负数为逆时针) scale() x,y元素尺寸增加或减少 skew() x,y方向进行拉扯(横拉,竖拉) 1.translate 通过translate的方法,根据给定的left(x坐标)和to ...
分类:
Web程序 时间:
2017-04-16 22:26:40
阅读次数:
214
一.重要知识点 android:background //可以指定图片和颜色getContext(),获取当前对象所在的Context xml布局文件转为View对象:LayoutInflater.from(context).inflate(R.layout.menu, this); 在xml不居中 ...
分类:
其他好文 时间:
2017-04-16 21:34:15
阅读次数:
162
应用宝的下载地址:http://android.myapp.com/myapp/detail.htm?apkName=com.jov.laughter 其它的市场如木蚂蚁,安卓市场。搜狐也都有了 注:代码会在文章的最后提供 1.环境 各种android的环境文章已经有非常多了,事实上也不须要什么,官 ...
分类:
移动开发 时间:
2017-04-16 15:08:00
阅读次数:
247
该函数处理tld中的每一帧。 用到的函数:tldtrcaking function tld = tldProcessFrame(tld,i) I = tld.source.idx(i); % get current index 获取当前的索引咯tld.img{I} = img_get(tld.sou ...
分类:
其他好文 时间:
2017-04-13 15:25:01
阅读次数:
326
编辑完vimrc之后用 source /etc/vimrc报错 -bash: /etc/vimrc: line 15: syntax error near unexpected token `"autocmd"'-bash: /etc/vimrc: line 15: `if has("autocmd ...
分类:
系统相关 时间:
2017-04-12 16:52:11
阅读次数:
1534
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the ... ...
分类:
编程语言 时间:
2017-04-12 02:38:39
阅读次数:
136
机器学习的大局观:使用神经网络和TensorFlow来对文本分类 https://medium.freecodecamp.com/big-picture-machine-learning-classi...
分类:
其他好文 时间:
2017-04-10 17:46:05
阅读次数:
371
Lecture 1:Demonstrate the columns of a matrix (imagine the vectors) in N-dimension space.How to multiply a matrix by a vector -- a different way, mult ...
分类:
其他好文 时间:
2017-04-09 09:52:13
阅读次数:
192