
android_Intent
gh102
这个作者很懒,什么都没留下…
展开
-
本地图片选择(打开媒体库,选择图片)
在此调查中我要实现的是:点击Pictures按钮后,获取手机内所有图片,选择某一个图片,并显示到ImageView中。应用范围: 图片上传时的图片选择 , 类似"浏览"。效果:所有的图片都会列出来,包括目录。在Activity Action里面有一个“ACTION_GET_CONTENT”字符串常量,该常量让用户选择特定类型的数据,并返回该数据的URI.我们利用该常量,然后设转载 2012-02-28 15:50:17 · 598 阅读 · 0 评论 -
Android 中文件类型与MIME的匹配表
http://xiaoruanjian.iteye.com/blog/1367292背景介绍:MIME:全称Multipurpose Internet Mail Extensions,多功能Internet 邮件扩充服务。它是一种多用途网际邮件扩充协议,在1992年最早应用于电子邮件系统,但后来也应用到浏览器。MIME类型就是设定某种扩展名的文件用一种应用程序来打开的方式类型,转载 2012-03-07 09:39:46 · 600 阅读 · 0 评论 -
Developing on Android
http://www.evernote.com/about/developer/android.phpAndroid was designed to make it easy to build apps that work together, so it's a great platform for developing apps that work with Evernote. There转载 2012-02-28 22:20:56 · 898 阅读 · 0 评论 -
分享照片时,进入图库选取照片
当要进分享照片功能时,点击一个按钮,然后进入图库选择照片,要进行这样的操作,改怎么完成呢,要解决2个问题:1、该如何进入图库2、改如何取得照片 进入图库: Intent intent = new Intent(); intent.setType("image/*");转载 2012-02-28 19:50:12 · 762 阅读 · 0 评论 -
share分享功能过滤
http://www.eoeandroid.com/forum.php?mod=viewthread&tid=113258 获取可以使用share功能的程序public static List getShareApps(Context context) { List mApps = new ArrayList(); Intent in转载 2012-02-28 22:48:19 · 731 阅读 · 0 评论 -
Customize "share picture via" menu on Android (Android Intent Filters)
http://eggie5.com/8-hook-share-picture-via-menu-androidYou know in the android gallery when you view a picture there is the share menu that allows you to upload your picture to various services. It转载 2012-02-28 22:16:02 · 2056 阅读 · 0 评论 -
乐分享
http://www.eoeandroid.com/thread-77207-1-1.html转载 2012-02-28 20:16:30 · 666 阅读 · 0 评论 -
分享功能
private ArrayList getShareFilePathList(){ ArrayList mShareFilePathList = new ArrayList(); Intent intent = getIntent(); if(Intent.ACTION_SEND.equals(intent.getAction())){ //分享单个转载 2012-02-28 19:40:30 · 713 阅读 · 0 评论 -
android之传递对象(Parcelable,Serializable)
使用intent在Activity间传递数据时,好像都是一些基本类型的数据,如果要传递类对象的话,要用到Parcelable,Serializable。于是,学习了一下如何传递类对象,现把自己做的demo贴出来,请大家来指正。如果有更好的方法,望分享之。1.创建主Activity,在里面实现button的click事件,并实现对象传递。 /** * 対象伝送 */ pr原创 2011-08-19 13:25:35 · 3866 阅读 · 1 评论 -
Android_Intent详解
Intent 详解一、 Intent 作用Intent 是一个将要执行的动作的抽象的描述,一般来说是作为参数来使用,由Intent来协助完成android各个组件之间的通讯。比如说调用startActivity()来启动一个activity,或者由broadcaseIntent()来传递给所有感兴趣的BroadcaseReceiver, 再或者由startService()/bin转载 2012-02-28 16:08:32 · 748 阅读 · 0 评论 -
android 分享功能实现 即通过其他activity分享
核心代码如下:Intent intent=new Intent(Intent.ACTION_SEND);intent.setType(“text/plain”);intent.putExtra(Intent.EXTRA_SUBJECT, “分享”);intent.putExtra(Intent.EXTRA_TEXT, “要分享的内容”);startActivity(Intent转载 2012-02-28 20:04:44 · 486 阅读 · 0 评论 -
Android SDK:实现一个分享的Intent
原文地址:http://mobile.tutsplus.com/tutorials/android/android-sdk-implement-a-share-intent/本教程通过创建一个分享按钮的基本过程,来实现分享Intent,传递你的内容并且构建列表选择器。实现分享Intent允许用户在程序中通过多种渠道去分享内容,包括邮件、文本信息、社交网络等等。你可以给用转载 2012-02-28 16:21:17 · 703 阅读 · 0 评论 -
Android常用mimetype类型
3gp video/3gpp aab application/x-authoware-bin aam application/x-authoware-map aas application/x-authoware-seg ai application/postscript aif audio/x-aiff aifc audio/x-aiff aiff au转载 2012-03-07 09:37:32 · 794 阅读 · 0 评论