码迷,mamicode.com
首页 >  
搜索关键字:Intent    ( 3334个结果
创建一个唤醒Alarm,它在10秒钟后触发
创建只激活一次的Alarm,可使用Set方法,给它指定一个Alarm类型、触发时间和一个要激活的pending Intent。 4种Alarm类型: ● RTC_WAKEUP:指定时间唤醒设备,并激活Pending intent ● RTC:指定时间点激活Pending ,但不会唤醒设备 ● ELA...
分类:其他好文   时间:2014-07-16 23:11:51    阅读次数:216
Android 开发笔记——通过 Intent 传递类对象
intent的简单用法案例一传值:Intent intent=new Intent();intent.putExtra("extra", "这是页面一传来的值!");intent.setClass(Test_for_intentActivity.this, actpage2.class);start...
分类:移动开发   时间:2014-07-07 16:23:06    阅读次数:322
Intents and Intent Filters
An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate communication between components in several ways, there are three fundament...
分类:其他好文   时间:2014-07-01 08:54:18    阅读次数:414
Intents and Intent Filters
An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate communication between components in several ways, there are three fundament...
分类:其他好文   时间:2014-06-30 19:28:20    阅读次数:225
Android通过Intent传输包含自定义类的ArrayList
前言 之前项目中通过Intent只是传输...
分类:移动开发   时间:2014-06-30 10:09:08    阅读次数:216
Android中如何调用拨打电话?
Android系统原本就为手机设计,所以,在android系统中的任何App中,只要愿意,拨打指定电话非常方便。 核心就是使用Intent跳转,指定请求Action为Intent.ACTION_CALL 即可。 【源码下载】 http://www.code4apk.com/android-code/178 核心代码如下: 1 Intent ...
分类:移动开发   时间:2014-06-30 09:44:24    阅读次数:246
android intent 跳转
转自:http://blog.sina.com.cn/s/blog_7309444701014u2d.html一、不需要返回值的跳转Intent intent=new Intent();intent.setClass(目前的acitivy.this, 目标activity.class);startA...
分类:移动开发   时间:2014-06-27 14:38:06    阅读次数:225
【数据】Activity数据返回——startActivityForResult()用法详解
上一节我以“计算男女生标准体重”为例详细介绍了如何使用Intent、Bundle等实现不同Activity之间数据的传递问题,本节将仍以“计算男女生标准体重”为例详细介绍如何利用startActivityForResult()实现数据的返回,即从第二页面返回第一页面。 一、目标     如下图,用户在第一个页面填写完数据后点击“计算”按钮,程序跳转到第二个页面,并显示计算结果。在用户点击第...
分类:其他好文   时间:2014-06-27 09:34:08    阅读次数:210
android学习笔记一
我从昨天开始接触android开发的书籍,主要是国内写的一些案例教程,不拗口,所以不难读懂。这些书的结构一般是,android开发环境的搭建,基本组件:activity、service、broadcastreceiver、contentprovider以及intent几个核心组件的结构,andr.....
分类:移动开发   时间:2014-06-26 17:25:05    阅读次数:245
Android activity之间数据传递和共享的方式之Application
1.基于消息的通信机制 Intent ---bundle ,extra数据类型有限,比如遇到不可序列化的数据Bitmap,InputStream,或者LinkedList链表等等数据类型就不太好用。2.利用static静态数据,public static成员变量;3.基于外部存储的传输,File/P...
分类:移动开发   时间:2014-06-26 17:05:25    阅读次数:273
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!