1、通过storyboard创建: (1)先加载storyboard文件: UIStoryboard
* storyboard = [UIStoryboard storyboardWithName:@“Test” bundle:nil]; (2)
初始化storyboard中的控制器...
分类:
移动开发 时间:
2014-05-27 02:27:33
阅读次数:
250
在后台线程中执行各种操作(网络连接、大数据存储)的时候,我们希望让客户能看到后台有操作在进行,那么既能有效的提示用户,又不占用当前操作空间,最好的方法就是在标题栏有个进度条。[代码]
[Java]代码protected void onCreate(Bundle savedInstanceState)...
分类:
移动开发 时间:
2014-05-24 00:54:52
阅读次数:
302
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
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传递对象小结
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 with public...
分类:
移动开发 时间:
2014-05-18 04:57:16
阅读次数:
341
如下58同城快捷方式的效果:
下面是添加桌面快捷方式:
/**
* 启动某个activity是需要在manifest里面定义
*/
private void addShortCut()
{
// 安装的Intent
Intent shortc...
分类:
移动开发 时间:
2014-05-18 04:52:12
阅读次数:
289
异常类型为: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
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
1、Vundle插件:https://github.com/gmarik/Vundle.vim用于管理Vim插件,安装此插件需要系统中已安装git,参考链接:Git
for Windows安装和基本设置 在Vim/vimfiles路径下新建文件夹bundle,然后在此文件夹下克隆github上的v....