先加二个读和写权限: <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.WRITE_CONTACTS" /> package com.eboy.test; import java.util...
分类:
移动开发 时间:
2014-09-27 12:57:39
阅读次数:
184
提要 今天要学习的是一些Shader 的例子,从简单到难。Let's go.一大波例子来袭还是用上一篇用到的工程。点我下载红色的螃蟹Test1.shaderShader "Custom/Test1" {
SubShader {
Tags { "RenderType" = "Opaque" }
CGPROGRAM
#pragma surface surf...
分类:
其他好文 时间:
2014-09-27 00:43:09
阅读次数:
268
Android有一个精心设计的安全模型。每一个应用都有其自己Linux用户和群组,在单独的进程和VM上运行,不能影响到其他应用 android同时也限定了系统资源的使用,像网络设备,SD卡,录音设备等。如果你的应用希望去使...
分类:
移动开发 时间:
2014-09-26 21:25:38
阅读次数:
395
【荐】纯CSS实现漂亮圆角阴影边框_潜水射流曝气机 Custom box with no width restrictions. Height restriction is based on the amount of content.textLorem ipsum dolor sit...
分类:
Web程序 时间:
2014-09-26 14:18:58
阅读次数:
257
1、编写界面<WebViewandroid:id="@+id/webview"android:layout_width="match_parent"android:layout_height="match_parent"/>2、申请权限<uses-permissionandroid:name="android.permission.INTERNET"/>3、MainActivity.javapackagecom.malakana.webview;importand..
分类:
移动开发 时间:
2014-09-26 01:45:48
阅读次数:
431
解决方案:在AppDelegate.h中的didFinishLaunchingWithOptions里面添加:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for custom...
分类:
移动开发 时间:
2014-09-25 23:14:08
阅读次数:
197
本文讲述在IntelliJ IDEA中使用FileSystem.copyFromLocalFile操作Hadoop时因URI格式有误导致Permission denied的解决过程。环境:Mac OS X 10.9.5, IntelliJ IDEA 13.1.4, Hadoop 1.2.1Hadoo...
分类:
其他好文 时间:
2014-09-25 23:01:38
阅读次数:
144
1、前言
最近为了兼容iOS8升级到Xcode6.0编译之前的工程,结果App无法在真机上运行。报错如下:The file “xxxx.app” couldn’t be opened because you don’t have permission to view it
2、解决方法
查看工程中警告,发现需要更新旧工程的设置:
点击Upate to reconmm...
分类:
其他好文 时间:
2014-09-25 10:44:48
阅读次数:
179
1. 双击mysql-5.5.28-win32.exe(或者mysql-5.5.28-winx64)点击下一步,接受许可。2. 点击custom 3. 将安装路径修改为d盘 4. 点击下一步,安装5. 安装过程中弹出如下窗口,一直点击下一步即可 6. 完成安装时注意勾选运行mysql实例配置工具.....
分类:
数据库 时间:
2014-09-25 09:51:38
阅读次数:
313
Call custom c++ from Luacocos2d-x lua binds c++ class, class functions ,enum and some global functions to lua through auto-binding by bindings-generat...
分类:
其他好文 时间:
2014-09-24 22:14:47
阅读次数:
236