码迷,mamicode.com
首页 >  
搜索关键字:shared preferences    ( 5663个结果
Python 调用 C 语言 so
$ gcc -shared -Wl,-soname,testlib -o testlib.so -fPIC testlib.c如果在Mac OS X ,则$ gcc -shared -Wl,-install_name,testlib.so -o testlib.so -fPIC testlib.ci...
分类:编程语言   时间:2014-12-29 18:14:54    阅读次数:157
eclipse作为Android IDE的一些常用配置
1.设置大字大小 eclipse打开Window -> Preferences -> General -> Appearance -> Colors and Fonts -> Basic ->Text Font 2.eclipse打开一个文件,左边的树怎么自动对应文件 有一个左右两个小箭头的按钮,在左边的树装菜单的右上,点上了就可以了;如果不需要,不要点就可以了。...
分类:移动开发   时间:2014-12-29 13:51:19    阅读次数:215
CentOS6.5环境中配置Python + Web.py + Apache部署环境
1.安装apache:yuminstall-yhttpdhttpd-devel修改/etc/httpd/conf/httpd.conf中的servername等配置,使http://*:*/能正常访问2.安装python:wgethttps://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgztar-xzvfPython-2.7.8.tgzcdPython-2.7.8./configure--enable-shared=e..
分类:编程语言   时间:2014-12-29 06:40:05    阅读次数:180
poj 3274 哈希
http://poj.org/problem?id=3274 Description Farmer John's N cows (1 ≤ N ≤ 100,000) share many similarities. In fact, FJ has been able to narrow down the list of features shared by his cows to a l...
分类:其他好文   时间:2014-12-28 22:18:33    阅读次数:154
shared pool implement
由于shared pool中最重要的是library cache,所以本文主要讲解Library cache的结构,library cache latch,library cache lock,library cache pin。   What is shared pool?   Shared pool是SGA中的一部分,由于它是SGA的一部分,这意味着它可以被所有的进程所访问,Share...
分类:其他好文   时间:2014-12-28 20:54:23    阅读次数:188
Android 开发笔记 “SharePreference 数据存取”
除了SQLite数据库外,SharedPreferences也是一种轻型的数据存储方式,它的本质是基于XML文件存储key-value键值对数据,通常用来存储一些简单的配置信息。其存储位置在/data/data//shared_prefs目录下。SharedPreferences对象本身只能获取数据...
分类:移动开发   时间:2014-12-28 19:25:55    阅读次数:165
GoogleCpp风格指南 4)Google奇技
4 来自Google的奇技 Google-Specific Magic Google用了很多自己的实现技巧/工具使 C++代码更加健壮, 我们使用C++的方式可能和你在其他地方见到的有所不同; [Removed] 4.1 智能指针 Tip 如果确实需要使用智能指针的话, scoped_ptr完全可以胜任; 你应该只在非常特定的情况下使用 std::tr1::shared...
分类:其他好文   时间:2014-12-28 00:33:50    阅读次数:218
架构练习:c语言实现贪吃蛇(二):使用libncurses.a库实现地图和蘑菇不换页刷新
现在已经实现地图和蘑菇的,或者说游戏界面的不换页刷新, 这里需要使用libncurses.a库来实现,代码如下。 下一步:实现蛇的移动。 源代码: root@ubuntu:/mnt/shared/appbox/snake# cat snake.c #include #include #include #include #include #include #include...
分类:编程语言   时间:2014-12-27 10:12:24    阅读次数:195
ncurses库实现电子时钟
1.创建graphics.c 2. 编辑graphics.c,编译: gcc -o graphic graphic.c -L/usr/lib/i386-linux-gnu/ -lncurses 3.graphics.c的源码如下: root@ubuntu:/mnt/shared/appbox/graphic# cat graphic.c #include #include #inc...
分类:其他好文   时间:2014-12-27 06:45:18    阅读次数:223
sublime text 2使用方法
最近开始使用sublime text 2这款软件,写python程序确实方便多了。记录一下使用时遇到的问题吧。1、更改字号在菜单Preferences下找到 Settings – User点击,会打开performance.sublime-settings这个文件。修改font_size 即可。后来...
分类:其他好文   时间:2014-12-26 20:07:47    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!