join() 函数join() 函数把数组元素组合为一个字符串。join() 函数是implode()函数的别名。语法join(separator,array)参数描述separator可选。规定数组元素之间放置的内容。默认是 ""(空字符串)。array必需。要结合为字符串的数组。说明虽然sepa...
分类:
其他好文 时间:
2014-08-06 22:28:22
阅读次数:
2576
public class DeviceInfo {
private static Application APP = null;
private static String sd_card = Environment.getExternalStorageDirectory()+File.separator+"wlcache";
public static Application getApp...
分类:
移动开发 时间:
2014-08-06 19:08:22
阅读次数:
305
众所周知,在Android中调用其他程序进行相关处理,几乎都是使用的Intent,所以,Email也不例外。在Android中,调用Email有三种类型的Intent: Intent.ACTION_SENDTO 无附件的发送 Intent.ACTION_SEND 带附件的发送 Intent.A...
分类:
移动开发 时间:
2014-08-06 18:29:31
阅读次数:
211
更加详细的介绍有关意图的使用,运用Category在应用中做出不同的效果...
分类:
其他好文 时间:
2014-08-06 14:56:01
阅读次数:
465
一、打开其它应用程序[以打开QQ为例]1 Intent intent = new Intent();2 ComponentName cmp = new ComponentName("com.tencent.mobileqq","com.tencent.mobileqq.activit...
分类:
其他好文 时间:
2014-08-06 10:24:01
阅读次数:
165
在实际项目应用中,最近有一个需求就是进入一个特殊的应用后,系统的某个功能不能起作用。当然,这个通信有很多办法可以做到。笔者可以想到的至少有如下几种1、利用property熟悉来实现,这样的话需要增加一个特殊的属性;2、利用数据库,在数据库中加一条记录,进入应用的时候设置一下,在系统部分可以利用content observer或者在特殊事件来的时候先判断读取一下这个值也可以;3、利用intent,发...
分类:
移动开发 时间:
2014-08-05 22:45:30
阅读次数:
286
最近在做一个小插件,没有图标没有activity,利用其他APK启动它的service。直奔主题,插件A,安装插件的应用B.B安装A后,由于A刚被安装,没有注册广播接收器,这里不考虑AIDL。需求需要在B安装完A后让A的service启动。代码和启动activity类似。Intent intent ...
分类:
移动开发 时间:
2014-08-05 18:25:39
阅读次数:
225
crash information:Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.HEADSET_PLUG from at....
分类:
移动开发 时间:
2014-08-05 13:52:59
阅读次数:
1317
Executing a Next Instruction Access Intent instruction by a computer. The processor obtains an access intent instruction indicating an access intent. ...
分类:
数据库 时间:
2014-08-05 00:25:58
阅读次数:
424
前言 在讲解Intent之前,先来回顾下之前在哪些方面接触过这东西: (1)启动Activity:startActivity(Intent intent); startActivityForResult(Intent intent); (2)发送广播: Context.sen...
分类:
其他好文 时间:
2014-08-05 00:05:08
阅读次数:
231