通过Intent去打开weixin时,报签名错.是不是要事先签名?

凉凉二点凉 2013-12-16 10:59:36
        Intent localIntent2 = new Intent();
localIntent2.setAction("android.intent.action.MAIN");
localIntent2.addCategory("android.intent.category.LAUNCHER");
localIntent2.addFlags(268435456);
localIntent2.setClassName("com.tencent.mm", "com.tencent.mm.ui.LauncherUI");


是不是要先签名?有谁做过??
...全文
338 18 打赏 收藏 转发到动态 举报
写回复
用AI写文章
18 条回复
切换为时间正序
请发表友善的回复…
发表回复
凉凉二点凉 2014-01-21
  • 打赏
  • 举报
回复
目录结构 Tom ---->WEB-INF目录 file目录 index.jsp文件 WEB-INF的目录结构为: classes目录(空) lib目录(空) web.xml
凉凉二点凉 2014-01-21
  • 打赏
  • 举报
回复
1.进入Tomcat的webapp目录后,建一个目录,暂取名Tom 2.进入Tom在新建两个目录1) file目录,里面存放你要下载的文件 2) WEB-INF 目录 3.建两个目录的同时在建设一个index.jsp文件 WEB-INF目录下新建一个web.xml 里面内容如下
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
  <display-name>Tom</display-name>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
</web-app>
index.jsp的内容如下
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<a href="file/guo.zip">click me</a>
</body>
</html>
guolei.zip这个是文件名,你可以随便改的 然后重启Tomcat http://localhost:8080/Tom即可 手机访问将localhost换成服务器IP就行
凉凉二点凉 2014-01-17
  • 打赏
  • 举报
回复
http://www.eoeandroid.com/thread-277449-1-1.html
远古野怪 2014-01-03
  • 打赏
  • 举报
回复
http://blog.csdn.net/abin_gha/article/details/6274303 参考下这个
帝瓜 2013-12-24
  • 打赏
  • 举报
回复
一直被平均 2013-12-24
  • 打赏
  • 举报
回复
不懂,帮顶
杨家小白 2013-12-23
  • 打赏
  • 举报
回复
我不会啊!
-妖孽 2013-12-23
  • 打赏
  • 举报
回复
没有正确答案,你这是要均分的节奏吗?
bug里找媳妇 2013-12-23
  • 打赏
  • 举报
回复
不懂 不会啊。只是过来回帖的
七神之光 2013-12-23
  • 打赏
  • 举报
回复
猴头 2013-12-23
  • 打赏
  • 举报
回复
没做过,不知道
钢筋裤衩蛋 2013-12-23
  • 打赏
  • 举报
回复
时光清浅 2013-12-23
  • 打赏
  • 举报
回复
没做过Android
___________小P 2013-12-23
  • 打赏
  • 举报
回复
不知道 没试过
snoopylie 2013-12-23
  • 打赏
  • 举报
回复
小路子的宝 2013-12-23
  • 打赏
  • 举报
回复

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧