ChinaUnix.net
相关文章推荐:

android intent传數組對象

android intent Filter-判斷intent傳遞 一.intent接收原理 當使用者發送一個intent出來,要求元件去執行動作,如果這個intent裡有很清楚的設定了ComponentName,那麼intent就會直接被送到指定的元件,並啟動該元件,如果沒有設定,則會由android系統自動去判斷該把這intent送到哪個元件上啟動他。 大多在本身專案內元件可以處理的動作,intent通常都會直接指明要給哪個元件處理,如果沒有指定元件名稱的intent大多是用來啟動...

by feiyang10086 - 移动操作系统 - 2011-08-14 13:26:00 阅读(2225) 回复(0)

android

相关讨论

androidintent是经常要用到的。 不管是页面牵转,还是递数据,或是调用外部程序,系统功能都要用到intent

by lsupper - 移动操作系统 - 2011-12-22 08:51:11 阅读(733) 回复(0)

The below code is to get a android Market to open. Am I correct in thinking that this error means that android Market is not installed and there is no other app registered to handle market URLs?


The bug also can be reproduced in emulator

by cdlda - 移动操作系统 - 2011-12-22 08:51:04 阅读(833) 回复(0)

android intent命名规范 ACTION_MAIN android:name="android.intent.action.MAIN" CATEGORY_LAUNCHER android:name="android.intent.category.LAUNCHER" "ACTION_"等价于"android.intent.action." "CATEGORY_"等价于"android.intent.category."

android

by 中关村村草 - 移动操作系统 - 2011-12-23 22:04:57 阅读(1396) 回复(1)

android intent 使用整理 在一个android应用中,主要是由一些组件组成,(Activity,Service,ContentProvider,etc.)在这些组件之间的通讯中,由intent协助完成。 正如网上一些人解析所说,intent负责对应用中一次操作的动作、动作涉及数据、附加数据进行描述,android则根据此intent的描述, 负责找到对应的组件,将 intent递给调用的组件,并完成组件的调用。intent在这里起着实现调用者与被调用者之间的解耦作用。 intent...

手机开发

by so_brave - 移动操作系统 - 2011-05-26 13:53:09 阅读(1130) 回复(0)

Normal 0 false false false EN-US ZH-CN X-NONE MicrosoftInternetExplorer4 ...

by yishuihe - 移动操作系统 - 2009-06-02 11:51:40 阅读(1060) 回复(0)

搜集了一些android intent在程序中的常用的用法,汇总起来,希望能够不断总结壮大: 显示网页 1. Uri uri = Uri.parse("http://google.com"); 2. intent it = new intent(intent.ACTION_VIEW, uri); 3. startActivity(it); 显示地图 1. Uri uri = Uri.parse("geo:38.899533,-77.036476"); 2. intent it = new intent(intent.ACTION_VIEW, uri); 3. startActivity(it); 4. //其他 ge...

by yishuihe - 移动操作系统 - 2009-06-01 11:44:14 阅读(984) 回复(0)

android中常用的intent Java代码[code]1.//调用浏览器 2. 3.Uri uri = Uri.parse(""); 4.intent it = new intent(intent.ACTION_VIEW,uri); 5.startActivity(it); 6. 7.//显示某个坐标在地图上 8. 9.Uri uri = Uri.parse("geo:38.899533,-77.036476"); 10.intent it = new intent(intent.Action_VIEW,uri); 11.startActivity(it); 12. 13.//显示路径 14. 15.Uri uri = Uri.parse("htt...

android

by 中关村村草 - 移动操作系统 - 2011-11-08 21:09:05 阅读(1244) 回复(0)

android intent机制实例详解 android中提供了intent机制来协助应用间的交互与通讯,或者采用更准确的说法是,intent不仅可用于应用程序之间,也可用于应用程序内部的Activity/Service之间的交互。intent这个英语单词的本意是“目的、意向”等,对于较少从事于大型平台开发工作的程序员来说,这可能是一个不太容易理解的抽概念,因为它与我们平常使用的简单函数/方法调用,或者上节中提到的通过库调用接口的方式不太一样。在Int...

by haryen - 移动操作系统 - 2009-07-03 13:19:33 阅读(1467) 回复(0)

android have lots of intent,it's powerful and useful,here is some tips for you: 1,start web browser Uri myBlogUri = Uri.parse("http://kuikui.javaeye.com"); returnIt = new intent(intent.ACTION_VIEW, myBlogUri); 2,Google map Uri mapUri = Uri.parse("geo:38.899533,-77.036476"); returnIt = new intent(intent.ACTION_VIEW, mapUri); 3,show dialer tel Uri telUri = Uri.parse("tel:100861"); returnIt = ne...

by gpephone - 移动操作系统 - 2009-04-29 10:04:29 阅读(1526) 回复(0)

android使用intent Filter来响应隐式intent 如果一个intent请求在一片数据上执行一个动作,android如何知道哪个应用程序(和组件)能用来响应这个请求呢?intent Filter就是用来注册Activity、Service和Broadcast Receiver具有能在某种数据上执行一个动作的能力。 使用intent Filter,应用程序组件告诉android,它们能为其它程序的组件的动作请求提供服务,包括同一个程序的组件、本地的或第三方的应用程序。 为了注册一个应...

android

by cu_Cbear - 移动操作系统 - 2011-08-08 13:28:55 阅读(1400) 回复(0)