码迷,mamicode.com
首页 >  
搜索关键字:页面跳转 intent    ( 5004个结果
页面跳转问题presentViewController
跳转页面的时候 我用的是 [self presentViewController:nLogin animated:NO completion:^{              }];,有A到B再到C,我现在再C页面返回的时候我想直接跳转到A页面 应该怎么做呢? 在C中 //关掉自己     [self dismissViewControllerAn...
分类:其他好文   时间:2014-06-20 12:25:46    阅读次数:237
Android调用gallery获取图片
从gallery中获取图片 步骤: 步骤一: // 激活系统图库应用,选择一张图片 Intent intent = new Intent(); // 活动操作:选择一个项目从数据,返回被选中 intent.setAction(Intent.ACTION_PICK); // 设置意图的类型 intent.setType("image/*"); // 设置开启意图 // 设...
分类:移动开发   时间:2014-06-20 11:22:45    阅读次数:308
使用storyboard实现页面跳转,简单的数据传递
在storyboard中,界面的跳转是通过segue来实现的,利用它,省去了方法内写入跳转的代码。一 视图跳转《StoryBoard下的视图跳转》我们知道:segue共有三种类型:push,modal,和custom。如下图://01简单说下这三个的作用:使用导航栏压进新的控制器(push),模态的...
分类:其他好文   时间:2014-06-07 22:39:14    阅读次数:388
AndroidMainifest标签使用说明1——<action>
1.格式:父标签:描写叙述:一个必须包括一或一个以上的.假设不包括则不会有Intent被拦截。參数:android:name表示的是action的名称,一些标准的action已经在Intent类中定义了,能够查询Intent的api查看。能够通过 "android.intent.action.*"来...
分类:移动开发   时间:2014-06-06 20:13:15    阅读次数:273
js页面跳转整理
js方式的页面跳转 1.window.location.href方式 2.window.navigate方式跳转 3.window.loction.replace方式实现页面跳转,注意跟第一种方式的区别 有3个jsp页面(1.aspx, 2.aspx, 3.aspx),进系统默认的是1.asp...
分类:Web程序   时间:2014-06-06 11:34:31    阅读次数:368
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
迷上了代码!