转自:http://www.jb51.net/article/37227.htm本篇文章是对activity之间数据传递的方法进行了详细的分析介绍,需要的朋友参考下1 基于消息的通信机制 Intent--------boudle,extra用这种简单的形式,一般而言传递一些简单的类型是比较容易的,如...
分类:
其他好文 时间:
2014-06-21 10:32:58
阅读次数:
309
Java -> .NET安卓 -> winform/WPF类继承Activity -> 类继承 Form①安卓的如果android中你有2个Activity,可以从一个Activity跳到另一个Activity怎么搞Intent t=new Intent(MainA...
分类:
移动开发 时间:
2014-06-20 19:55:50
阅读次数:
417
第一种:直接通过包名:Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.joyodream.jiji"); startActivity(LaunchIntent); 第二种:...
分类:
移动开发 时间:
2014-06-18 17:30:41
阅读次数:
229
1.从一个activity跳转到另一个activity的时候,使用startActivity(Intent)方法2.一个Intent对象包含了一组信息 Componet Name:另一个Activity的名字 Action:指定另一个Activity要做什么 Data:从一个activity向另一个...
分类:
移动开发 时间:
2014-06-18 16:02:39
阅读次数:
244
syntax:contained in:description:Adds an action to an intent filter.An element must contain one or more elements. If it doesn't contain any, noInten...
分类:
移动开发 时间:
2014-06-18 14:48:12
阅读次数:
252
intent学习---nothingcpd 简要介绍,intent就是activity之间通信的介质,通过intent可以进行activity的唤起,数据的传输等,总之要进行多个activity交互,必须学会intent,本章只是一个很简单的intent,后面会陆续更新复杂的应用,由于我的电脑比较....
分类:
移动开发 时间:
2014-06-18 13:05:57
阅读次数:
189
android应用程序的三大组件——Activities、Services、Broadcast Receiver,通过消息触发,这个消息就是Intent,中文又翻译为"意图"(我感觉读着不顺畅,还是读英文)。我们可以通过Intent去启动三大组件,并且通过Intent携带数据到其他组件中。本文来看一下怎么使用Intent启动组件,以及Intent的过滤规则。
Intent对象
首先来看...
分类:
其他好文 时间:
2014-06-18 12:29:10
阅读次数:
271
package com.qianhua.ui;
002
003
import android.app.Activity;
004
import android.content.Intent;
005
import and...
分类:
其他好文 时间:
2014-06-17 23:02:36
阅读次数:
350
android.permission.ACCESS_CHECKIN_PROPERTIES 允许读写访问"properties"表在checkin数据库中,改值可以修改上传( Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded)
...
分类:
移动开发 时间:
2014-06-17 21:58:57
阅读次数:
437
和HandlerThread一样,IntentService也是Android替我们封装的一个Helper类,用来简化开发流程的。接下来分析源码的时候
你就明白是怎么回事了。IntentService是一个按需处理用Intent表示的异步请求的基础Service类,本质上还是Android Service。
客户端通过Context#startService(Intent);这样的代码来发起一...
分类:
其他好文 时间:
2014-06-17 18:56:21
阅读次数:
307