后台代码
盖聂
冷静,沉稳,低调
展开
-
冒泡排序和日期代码
package test; import java.util.Calendar; import java.util.Date; public class TestMain { public static void main(String[] args) { /** * 冒泡排序 */ /* * int[] array = { 5, 7, 92, 3, 4, 8 }; int原创 2012-03-30 13:48:31 · 323 阅读 · 0 评论 -
与数据库连接地址进行处理中文乱码
处理中文的问题: jdbc:mysql://localhost:3306/pubs?useUnicode=true &characterEncoding=GB2312原创 2012-04-06 14:15:00 · 205 阅读 · 0 评论 -
Android发送短信的功能
Uri uri = Uri.parse("smsto://12343234"); Intent intent = new Intent(Intent.ACTION_SENDTO,uri); intent.putExtra("sms_body", "Message Content"); startActivity(intent);原创 2012-05-09 17:39:37 · 241 阅读 · 0 评论