码迷,mamicode.com
首页 >  
搜索关键字:bundle intent    ( 7220个结果
AndroidMainifest标签使用说明1——<action>
1.格式:父标签:描写叙述:一个必须包括一或一个以上的.假设不包括则不会有Intent被拦截。參数:android:name表示的是action的名称,一些标准的action已经在Intent类中定义了,能够查询Intent的api查看。能够通过 "android.intent.action.*"来...
分类:移动开发   时间:2014-06-06 20:13:15    阅读次数:273
ViewController的view的创建
先加载storyboard文件(Test是storyboard的文件名)UIStoryboard*storyboard = [UIStoryboardstoryboardWithName:@"Test"bundle:nil];?接着初始化storyboard中的控制器?初始化“初始控制器”(箭头所指...
分类:其他好文   时间:2014-06-06 20:07:21    阅读次数:221
Android Bundle类
今天发现自己连Bundle类都没有搞清楚,于是花时间研究了一下。依据google官方的文档(http://developer.android.com/reference/android/os/Bundle.html)Bundle类是一个key-value对,“A mapping from Strin...
分类:移动开发   时间:2014-06-06 17:46:06    阅读次数:261
Android文本输入框(EditText)切换密码的显示与隐藏
package cc.c; import android.app.Activity;import android.os.Bundle;import android.text.Selection;import android.text.Spannable;import android.text.met...
分类:移动开发   时间:2014-06-06 14:57:36    阅读次数:364
64位ubuntu下Android开发环境的配置
本文介绍如何在64位ubuntu上搭建android的开发环境。系统:ubuntu12.04LTS使用的是ADT Bundle for Linux和jdk1.7(open jdk也可)一共分为3步走:1.配置JDK安装Open jdk$sudo apt-get install openjdk-7-j...
分类:移动开发   时间:2014-06-04 16:36:06    阅读次数:195
ADB 发送中文短信
最近好多朋友说adb 不支持发送中文的短信,也不知道为啥要用adb 来发送短信,昨天想到这个问题,所以修改了一下自己的adb,支持发送中文的短信了。 adb shell am start -a android.intent.action.SENDTO -d sms:10086 --es sms_body 中文 下载地址: http://bcs.duapp.com/myandroi...
分类:数据库   时间:2014-06-03 04:04:20    阅读次数:488
startActivity(intent); 启动 类文件出现 返回两次才可以到上级界面纠结
Intent intent = new Intent(); intent.setClass(School.this, Setting.class); startActivity(intent);在纠结这个问题的时候也在考虑是不是 .setClass ...
分类:其他好文   时间:2014-06-02 17:34:52    阅读次数:163
Android Manifest.xml 之 Intent-filter
开始前先post出最简单的AndroidManifest.xml文件: Android核...
分类:移动开发   时间:2014-06-02 11:58:11    阅读次数:266
Android清理设备内存详细完整示例(一)
MainActivity如下: package come.on; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.V...
分类:移动开发   时间:2014-06-01 10:36:36    阅读次数:345
AndroidMainifest标签使用说明1——<action>
1. 格式: 父标签: 描述: 一个必须包含一或一个以上的.如果不包含则不会有Intent被拦截。 参数: android:name 表示的是action的名称,一些标准的action已经在Intent类中定义了,可以查询Intent的api查看。可以通过 "android.intent.action.*"来进行赋值。比如对于 ACTION_M...
分类:移动开发   时间:2014-06-01 06:00:50    阅读次数:339
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!