原list: ( ( 1 2 ) ( 3 4 ) )
转置: ( ( 3 4 ) ( 1 2 ) )
深度转置: ( ( 4 3 ) ( 2 1 ) )
( define tree ( list 1 ( list 2 ( list 3 4 ) 5 ) ( list 6 7 ) ) )
( define nil '() )
( define ( my-reverse items...
分类:
其他好文 时间:
2014-07-14 13:04:42
阅读次数:
170
最近在做项目出现了下面的问题W/ActivityManager(300): Permission Denial: starting Intent { cmp=com.android.settings/.MovieViewProxySet } from ProcessRecord{4057a828 1...
分类:
移动开发 时间:
2014-07-13 23:47:50
阅读次数:
299
http://blog.csdn.net/xyz_lmn/article/details/16856843采用Intent隐式调用Activity的方法,主要使用Intent.ACTION_SEND和Intent.createChooser();调用Android系统的分享接口。系统会过滤手机上的具...
分类:
移动开发 时间:
2014-07-13 20:55:24
阅读次数:
280
就Android平台而言,URI主要分三个部分:scheme, authority and path。其中authority又分为host和port。格式如下:scheme://host:port/path举个实际的例子:content://com.example.project:200/folde...
分类:
移动开发 时间:
2014-07-13 13:19:12
阅读次数:
368
实现界面跳转的代码如下:第一种:Intent mIntent = new Intent();mIntent.setClassName(mcureeActivity.this, nextActivity.class);startActivity(mIntent)第二种:Intent mIntent =...
分类:
移动开发 时间:
2014-07-13 10:43:51
阅读次数:
200
一、不需要返回值的跳转Intent intent=new Intent();intent.setClass(目前的acitivy.this, 目标activity.class);startActivity(intent);二、需要返回值的跳转Intent intent=new Intent();in...
分类:
移动开发 时间:
2014-07-13 10:09:06
阅读次数:
188
在一个Android应用中,主要是由一些组件组成,(Activity,Service,ContentProvider,etc.)在这些组件之间的通讯中,由Intent协助完成。正如网上一些人解析所说,Intent负责对应用中一次操作的动作、动作涉及数据、附加数据进行描述,Android则根据此Int...
分类:
移动开发 时间:
2014-07-13 10:00:38
阅读次数:
160
现在开发中的功能需要直接跳转到拨号、联系人、短信界面等等,查找了很多资料,自己整理了一下。 首先,我们先看拨号界面,代码如下:[java]view plaincopyIntentintent=newIntent();intent.setAction("android.intent.action...
分类:
其他好文 时间:
2014-07-13 09:54:16
阅读次数:
274
ComponentName component = new ComponentName("com.android.settings","com.android.settings.wifi.WifiSettings"); Intent intent = new Intent(); intent.set...
分类:
移动开发 时间:
2014-07-12 14:41:10
阅读次数:
279
JNIEXPORTjintJNICALLJava_com_encrypt_EncryptActivity_cputExtra(JNIEnv*env,jobject,jobjectmContext,jstringactionName,jobjectArraykey,jobjectArrayvalue){//找到Intent类jclassintentClass=env->FindClass("android/content/Intent");if(intentClass==0){return0;}jo..
分类:
其他好文 时间:
2014-07-10 19:15:10
阅读次数:
601