上一页 1 2 3 4 5 6 7 8 9 10 ··· 60 下一页
摘要: @Override public boolean checkPhone(String phone) { String sql = "select username from user where phone=?"; List<Map<String, Object>> queryForList = D 阅读全文
posted @ 2019-08-28 22:12 水至清明 阅读(362) 评论(0) 推荐(0) 编辑
摘要: import android.content.Context;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.graphics.BitmapRegionDecoder;import 阅读全文
posted @ 2019-08-28 22:12 水至清明 阅读(365) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>com.itextpdf.tool</groupId> <artifactId>xmlworker</artifactId> <version>5.5.10</version></dependency><dependency>(http://www.amj 阅读全文
posted @ 2019-08-28 22:12 水至清明 阅读(145) 评论(0) 推荐(0) 编辑
摘要: protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { resp.setCharacterEncoding("utf-8"); Str 阅读全文
posted @ 2019-08-28 22:11 水至清明 阅读(141) 评论(0) 推荐(0) 编辑
摘要: <1>首先需要注册个第三方的账户,比如秒嘀科技等,然后拿到三个参数值:QUERAY_PATH ACCOUNT_SID AUTH_TOKEN<2>编写获取验证码类getMessage.java private static final String QUERAY_PATH="xxxx"; privat 阅读全文
posted @ 2019-08-28 22:11 水至清明 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 7个构造方法 //无参构造方法 public FileSystemXmlApplicationContext() { } /** * 传入父上下文 * @param parent */ public FileSystemXmlApplicationContext(ApplicationContext 阅读全文
posted @ 2019-08-26 19:08 水至清明 阅读(936) 评论(0) 推荐(0) 编辑
摘要: <receiver android:name=".MainActivity$Receive"> </receiver>2、定义广播接受类 class Receive extends BroadcastReceiver { @Override public void onReceive(Context 阅读全文
posted @ 2019-08-26 19:08 水至清明 阅读(714) 评论(0) 推荐(0) 编辑
摘要: 注意:以下有些方法需要在build.gradle里修改minSdkVersion 21才能使用 只需在构建普通Notification的构建器builder上添加对bigContentView属性设置为RemoteView(自定义的通知样式),如需要对通知展开视图RemoteView里的UI控件设置 阅读全文
posted @ 2019-08-26 19:08 水至清明 阅读(816) 评论(0) 推荐(0) 编辑
摘要: 首先,你得在腾讯云上注册并开通短信服务。第一步:创建短信应用 第二步:创建短信签名 第三步:在第二步成功后再创建短信模板 到这里就设置完成了,接下来是Java代码,通过腾讯给的java sdk接口实现详情可查看:官方文档。首先,在实现之前,需要导入一个jar包:qcloudsms-1.0.6.jar 阅读全文
posted @ 2019-08-26 19:08 水至清明 阅读(622) 评论(0) 推荐(0) 编辑
摘要: map()函数它是python内置的高阶函数 , 接收一个函数 f 和一个 list , 并通过把函数 f 依次作用在 list 的每个元素上 , 得到一个新的 list 并返回实例def trans(http://www.amjmh.com/v/BIBRGZ_558768/): return x* 阅读全文
posted @ 2019-08-26 19:07 水至清明 阅读(537) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 60 下一页