Intent inten = new Intent(
Intent.ACTION_PICK,MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(inte...
分类:
移动开发 时间:
2014-05-26 22:50:19
阅读次数:
369
1、Intent intent = new
Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*");
intent.putExtra("crop", true); in...
分类:
其他好文 时间:
2014-05-26 12:00:15
阅读次数:
230
之 前在初始化一个类的时候:TestViewController
*viewcontroller=[[TestViewController alloc]initWithNibName:@"TestViewController"
bundle:[NSBundle mainBundle]];不是很明白:...
分类:
其他好文 时间:
2014-05-26 07:12:17
阅读次数:
179
发送短信的方法有两种方法可以实现发送短信,其一是使用intent-startActivity,URI数据格式为"smsto:num",调用的action为Intent.ACTION_SENDTO:Uri
uri = Uri.parse("smsto:5554");Intent it = new In...
分类:
移动开发 时间:
2014-05-26 00:37:31
阅读次数:
406
一、通过相机选图片:布局文件:代码:package
uk.ac.essex.camerademo1;import java.io.File;import android.app.Activity;import
android.content.Intent;import android.graphic...
分类:
移动开发 时间:
2014-05-26 00:30:43
阅读次数:
389
第一阶段:AssetBundle出一套解决方案
1、解决现在同一个资源打2个bundle的冗余问题
2、测试验证节省资源的比率是多少
问题拆分
一、bundle重复
问 题 :相同资源拆分问题?
解决方案:1、制作场景时将相同部分分开
制作方法:将每个场景相同部分放到同一个目录,不同部分保留在场景中
...
分类:
其他好文 时间:
2014-05-24 17:49:45
阅读次数:
214
显示图片和文字MainActivity.javapackagecom.example.android_textview_showqqface;
importjava.lang.reflect.Field;
importandroid.os.Bundle;
importandroid.app.Activity;
importandroid.graphics.Color;
importandroid.graphics.drawable.Drawable;
importandroid.text.H..
分类:
移动开发 时间:
2014-05-24 16:41:39
阅读次数:
486
quoted from
http://en.wikipedia.org/wiki/File:LAMP_software_bundle.svg
分类:
其他好文 时间:
2014-05-24 12:44:54
阅读次数:
278
Fragment
生命周期主要体现在以下表中13个方法里,以下是按照Fragment从开始到销毁的先后执行顺序排序。
序号
方法名称
描述
1
public void onInflate(Activity activity, AttributeSet attrs,Bundle
savedInstanceState)...
分类:
其他好文 时间:
2014-05-23 00:18:29
阅读次数:
485
Intent 是一个消息对象,你可以用它向另一个 app 组件发生动作请求。尽管 Intent 在促进组件间沟通的方式有多种,主要有个以下三种基本方式:...
分类:
其他好文 时间:
2014-05-22 23:01:27
阅读次数:
286