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
上移view#import "MingRootViewController.h"@interface MingRootViewController (){ UIView *_myView; UIView *_myView1; BOOL _flag;}@end@implementation Mi...
分类:
其他好文 时间:
2014-06-18 13:41:02
阅读次数:
185
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
以下code 来源于 啊哈磊大神~ =-=你可以百度 --- 啊哈磊 ---都是 关于heap的一些操作...向下调整:-> 1 void siftdown(int i) //传入一个需要向下调整的结点编号i,这里传入1,即从堆的顶点开始向下调整 2 { 3 int t,flag=0;//...
分类:
其他好文 时间:
2014-06-17 23:41:18
阅读次数:
368
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
一开始Y1,Y2两个参数看不懂,再看一遍题目后才知道,vector索引代表是行数,值代表的是列此题数据量不大,直接深度搜索即可注意这里深度搜索的访问标识不是以前的索引和元素,而是一个交换元素后的整个状态vector,这样可以避免重复元素的搜索 set > visit; bool flag...
分类:
其他好文 时间:
2014-06-17 14:05:10
阅读次数:
203