最近在做项目出现了下面的问题W/ActivityManager(300): Permission Denial: starting Intent { cmp=com.android.settings/.MovieViewProxySet } from ProcessRecord{4057a828 1...
分类:
移动开发 时间:
2014-07-13 23:47:50
阅读次数:
299
1、ubuntu下的Bundle安装方式1.1. 去官网下载安装包:http://www.sonatype.org/nexus/我这里下载的是:nexus-2.8.1-01-bundle.zip,这个版本需要在jdk7下才能启动1.2. 解压压缩包:sudo unzip nexus-2.8.1-01...
分类:
其他好文 时间:
2014-07-13 22:07:38
阅读次数:
317
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.D:\GameDevelopment\adt-bundle-windows-x86...
分类:
其他好文 时间:
2014-07-13 21:36:10
阅读次数:
428
现在开发中的功能需要直接跳转到拨号、联系人、短信界面等等,查找了很多资料,自己整理了一下。 首先,我们先看拨号界面,代码如下:[java]view plaincopyIntentintent=newIntent();intent.setAction("android.intent.action...
分类:
其他好文 时间:
2014-07-13 09:54:16
阅读次数:
274
iOS的App除了在应用程序内部做偏好设置页面,还可以在setting里配置出偏好设置页面。如下图
专家容志芳在这篇文章有详细的入门介绍,基本的原理是为工程添加settings.bundle后,会在里面看到root.plist,通过修改它里面的配置,来自定义自己的setting页面,其中的控件有以下7种。
通过type来决定是哪种控件,除了子面板外,基本通过value和titl...
分类:
移动开发 时间:
2014-07-12 22:04:27
阅读次数:
362
1、MainActivitypackage com.example.sqlitetest;
import java.util.List;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.Vi...
分类:
移动开发 时间:
2014-07-12 18:59:01
阅读次数:
301
最近重拾Vim,编译部署来补全插件YCM,这个插件的补全效果和在写C代码的时候的自动提示错误信息等还是十分棒的,写点心得下来,也算给自己做个备忘。快速安装: 首先参考我的.vimrc配置,用Vundle安装好之后,进入YCM的文件夹.vim/bundle/YouCompleteMe会找到inst.....
分类:
其他好文 时间:
2014-07-12 15:52:45
阅读次数:
253
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
Vibrator public class MainActivity extends Activity { private Vibrator vibrator; @Override protected void onCreate(Bundle savedInstanceState)...
分类:
移动开发 时间:
2014-07-12 14:19:07
阅读次数:
236