码迷,mamicode.com
首页 >  
搜索关键字:bundle intent    ( 7220个结果
ios中创建控制器的几种方式
1、通过storyboard创建: (1)先加载storyboard文件: UIStoryboard * storyboard = [UIStoryboard storyboardWithName:@“Test” bundle:nil]; (2) 初始化storyboard中的控制器...
分类:移动开发   时间:2014-05-27 02:27:33    阅读次数:250
android标题栏(titlebar)显示进度条
在后台线程中执行各种操作(网络连接、大数据存储)的时候,我们希望让客户能看到后台有操作在进行,那么既能有效的提示用户,又不占用当前操作空间,最好的方法就是在标题栏有个进度条。[代码] [Java]代码protected void onCreate(Bundle savedInstanceState)...
分类:移动开发   时间:2014-05-24 00:54:52    阅读次数:302
解决Android中fragment_main.xml文件中的组件获取的问题
package com.dhy.phonedial; import android.app.Activity; import android.app.Fragment; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.LayoutInflate...
分类:移动开发   时间:2014-05-18 15:58:42    阅读次数:342
Android利用Volley异步加载数据完整详细示例(一)
MainActivity如下: package cc.cn; import java.util.HashMap; import org.json.JSONObject; import android.app.Activity; import android.content.Context; import android.os.Bundle; import com.android.volley....
分类:移动开发   时间:2014-05-18 15:18:31    阅读次数:297
Android Intent传递对象小结
Android Intent传递对象小结 Intent 传递复杂类型,例如:数组,ArrayList类型,传递类对象...
分类:移动开发   时间:2014-05-18 06:54:14    阅读次数:338
提交时提示错误This Bundle is invalid.New apps and app updates submitted to the App Store must be built wit
this bundle is invalid . new apps and app updates submitted to the app store must be built with public...
分类:移动开发   时间:2014-05-18 04:57:16    阅读次数:341
android快捷方式shortcut 管理
如下58同城快捷方式的效果: 下面是添加桌面快捷方式: /** * 启动某个activity是需要在manifest里面定义 */ private void addShortCut() { // 安装的Intent Intent shortc...
分类:移动开发   时间:2014-05-18 04:52:12    阅读次数:289
在fragment中显示对话框出现异常
异常类型为:android.view.WindowManager$BadTokenException: Unable to add window 我在fragment中public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {中试图调用对话框静态工...
分类:其他好文   时间:2014-05-18 04:27:35    阅读次数:240
Android利用Volley异步加载数据完整详细示例(二)
MainActivity如下: package cc.y; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.os.Bundle; import and...
分类:移动开发   时间:2014-05-18 03:54:44    阅读次数:365
Gvim各种插件配置(windows环境下)
1、Vundle插件:https://github.com/gmarik/Vundle.vim用于管理Vim插件,安装此插件需要系统中已安装git,参考链接:Git for Windows安装和基本设置 在Vim/vimfiles路径下新建文件夹bundle,然后在此文件夹下克隆github上的v....
分类:Windows程序   时间:2014-05-17 18:29:29    阅读次数:693
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!