android通过jdbc方式连接mysql,并执行存储过程

上传者: feitianxiaozhu22 | 上传时间: 2021-09-13 15:54:56 | 文件大小: 1.96MB | 文件类型: ZIP
android通过jdbc方式连接mysql,并执行存储过程。连接数据库部分最好新建一个线程来实现和主线程分开。编译之前确定添加了mysql-connector-java-5.0.8-bin库否则会出错

文件下载

资源详情

[{"title":"( 36 个子文件 1.96MB ) android通过jdbc方式连接mysql,并执行存储过程","children":[{"title":"androidMysqlTest","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 944.41KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"mysql-connector-java-5.0.8-bin-9afab7600c990c2cc92636bcf86d11f1.jar <span style='color:#111;'> 326.09KB </span>","children":null,"spread":false},{"title":"annotations-4e56223e65c5fbba7e4ab26eaf3e9c02.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.0.8-bin-e45e12c8bddc9e893b6b30ed1d1fc47e.jar <span style='color:#111;'> 326.09KB </span>","children":null,"spread":false},{"title":"mysql-connector-java-3.0.17-ga-bin-76dd9157954ccbc6c0f75fbdaa926ca3.jar <span style='color:#111;'> 161.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"androidMysqlTest.apk <span style='color:#111;'> 341.28KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"androidmysqltest1","children":[{"title":"BuildConfig.class <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 436B </span>","children":null,"spread":false}],"spread":true},{"title":"androidmysqltest","children":[{"title":"AndroidMysqlTest$1.class <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"AndroidMysqlTest.class <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 10.73KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 851B </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":null,"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 200B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 435B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"androidmysqltest1","children":[{"title":"BuildConfig.java <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 746B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"androidmysqltest","children":[{"title":"AndroidMysqlTest.java <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 553B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"mysql-connector-java-5.0.8-bin.jar <span style='color:#111;'> 528.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • linjun6131581 :
    做了参考后,还是要结合自己的项目做一定的修改才行,不过,大体上套路是对的
    2017-12-09
  • xlnrony271828 :
    还可以,不错哇
    2017-11-06
  • ly4968 :
    简单做了下参考,还算可以
    2015-12-07
  • gxswj1234 :
    可以学习一下,还可以
    2015-07-25
  • qq_27361953 :
    新手一只,是在不懂你这是什么错啊 ·············Could not find class 'javax.naming.StringRefAddr', referenced from
    2015-04-23

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明