网站开发与移动开发

博客园 首页 新随笔 管理

2012年4月24日 #

摘要: <?php/** * 添加电子优惠券 联系人信息 * 1.连接数据库 $conn=mysql_connect("localhost","user","password") or die("数据库连接出错".mysql.error()); 2.选择数据表 mysql_select_db("db_database",$conn) or die ("数据库访问出错".mysql.error()); 3.设置数据库格式 mysql_query("set names g 阅读全文
posted @ 2012-04-24 16:17 txf2004 阅读(269) 评论(0) 推荐(0) 编辑

摘要: 一. 方法一:工具下载:需用到dex2jar和JD-GUI这2个工具dex2jar下载地址:http://laichao.googlecode.com/files/dex2jar-0.0.7-SNAPSHOT.zipJD-GUI下载地址: windows版JD-GUI:http://laichao.googlecode.com/files/jdgui.zip Linux版JD-GUI:http://laichao.googlecode.com/files/jd-gui-0.3.2.linux.i686.tar.gz步骤:1.首先找到Android软件安装包中的classes.dex:把.apk 阅读全文
posted @ 2012-04-24 13:25 txf2004 阅读(225) 评论(0) 推荐(0) 编辑

摘要: import android.app.Activity;import android.content.Intent;import android.net.Uri;import android.net.Uri.Builder;import java.io.File;import android.content.Intent;//自定义android Intent类,//可用于获取打开以下文件的intent//PDF,PPT,WORD,EXCEL,CHM,HTML,TEXT,AUDIO,VIDEO示例://这个不行,可能是因为PDF.apk程序没有权限访问其它APK里的asset资源文件,又或者是 阅读全文
posted @ 2012-04-24 13:20 txf2004 阅读(211) 评论(0) 推荐(0) 编辑

摘要: JavaScript: window.self.location="searchbytext.action?searchtext="+encodeURIComponent(encodeURIComponent(seartext)); java: searchtext=java.net.URLDecoder.decode(searchtext,"UTF-8");/*需要处理异常*/ 百度文库 : http://wenku.baidu.com/view/f0d1626548d7c1c708a145bc.html技术博客: http://www.cnblogs 阅读全文
posted @ 2012-04-24 12:39 txf2004 阅读(217) 评论(0) 推荐(0) 编辑