repo仅仅是google用Python脚本写的调用git的一个脚本,主要是用来下载、管理Android项目的软件仓库。1. 下载 repo 的地址: http://android.git.kernel.org/repo ,能够用 wget http://android.git.kernel.org...
分类:
其他好文 时间:
2014-07-27 09:41:42
阅读次数:
470
当用户用移动设备扫描一个二维码是,将扫描后的链接链接到一个页面,该页面只包含判断移动终端设备的js,判断好后自动跳转到对应的链接 或下载对应的内容。html代码如下: 1 本文转载至:http://www.cnblogs.com/pengxl/p/3476588.html
分类:
移动开发 时间:
2014-07-27 09:39:12
阅读次数:
333
1.创建一个数据库帮助类。
package com.wzw.sqllitedemo.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import andro...
分类:
移动开发 时间:
2014-07-26 17:21:26
阅读次数:
271
1.数据库帮助类PersonSQLiteOpenHelper
package com.wzw.sqllitedemo.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFact...
分类:
移动开发 时间:
2014-07-26 17:21:23
阅读次数:
352
新建远程branch有两种方式:
方式一:命令行 git push origin ,branch-name就是你要新建的远程branch的名称。你可以用git bash或者Android Studio中的Terminal敲命令行。
方式二:直接通过Android Studio来创建远程branch,很简单,一步就可以了。我直接上图:
下面图中你看到远程的branch就两个:master和n...
分类:
移动开发 时间:
2014-07-26 17:18:52
阅读次数:
345
转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/38140505自从Gallery被谷歌废弃以后,Google推荐使用ViewPager和HorizontalScrollView来实现Gallery的效果。的确HorizontalScrollView可以实现Gallery的效果,但是HorizontalScrollView存在一个...
分类:
移动开发 时间:
2014-07-26 17:17:22
阅读次数:
554
因客户需求SpinnerPreference,网上各种搜索不到,无奈只好吃哦你...
分类:
移动开发 时间:
2014-07-26 17:16:02
阅读次数:
328
Please help me contribute to this list, for non-experience iOS developers or someone who need a come-in-handy library list to refer or to use in their projects. Fork, edit and send a PR are all things...
分类:
移动开发 时间:
2014-07-26 17:15:02
阅读次数:
931
1、动机与定义 工厂模式中,一个工厂仅仅能提供一个或一类产品,当产品种类较多,形成产品系列(比方我们要创建跨平台的button,菜单,文本框等等一系列GUI控件: 单纯使用工厂模式会产生大量工厂,并且后期维护也不方便,我们能够从产品中找到规律,假设产品等级相对固定,以后仅仅会新增产品族,那么...
分类:
其他好文 时间:
2014-07-26 17:06:52
阅读次数:
280