摘要:
public void onClick(View v) { switch (v.getId()) { case R.id.btnEditOk: { //点击编辑完成 ,它就调到 ShareActvity页面去了 if(NullCheckUtil.isNotNull(edit_text.getText().toString())){ String cotent=edit_text.getText().toString(); try { share2weibo(cotent... 阅读全文
posted @ 2012-09-14 21:06
Code大蛇丸
阅读(678)
评论(0)
推荐(0)
摘要:
如何给应用增加分享功能,怎样将应用加入系统的分享选择列表?Intent.createChooser()方法用来弹出系统分享列表。查看Intent对应的组件是否存在,可查看Android判断Intent是否存在,是否可用1、应用增加分享功能import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;pub 阅读全文
posted @ 2012-09-14 17:22
Code大蛇丸
阅读(2372)
评论(0)
推荐(0)
摘要:
httpclient-3.1.jar Apache提供的公共JAR,可以用来简化和提高访问Http的效率commons-logging.jar是为那些需要建立在不同环境下使用不同日志架构的组件或库的开发者创建的,其中包括 Apache Log4j以及Java log的日志架构。把日志信息commons-logging的Log接口,并由commons-logging在运行时决定使用哪种日志架构。commons-logging提供一个统一的日志接口,简单了操作,同时避免项目与某个日志实现系统紧密耦合,可以自动选择适当的日志实现系统,甚至不需要配置。 阅读全文
posted @ 2012-09-14 10:55
Code大蛇丸
阅读(323)
评论(0)
推荐(0)
浙公网安备 33010602011771号