ChinaUnix.net
相关文章推荐:

android默认存储

Installing Busybox command line tools Installing Busybox Command Line Tools This article describes how to install the busybox command line tools in the android file-system. Please note that a pre-built version of busybox has been attached to this article if you would prefer not to build busybox yourself. To use the pre-built version please go to "installing busybox" and "make the busybox shel...

by john8714105 - 移动操作系统 - 2009-08-24 22:43:30 阅读(2433) 回复(0)

相关讨论

1. 最近简单的方法是直接替换default_wallpaper.jpg. 

那他在那里? 
用find 找到了在frameworks\base\core\res\res\drawable\下面。
动手还掉他.....
完成任务!

2. 要研究一下wallpaper service, 我还没去研究,感兴趣的朋友可以试试。给点线索!

framework/core/res/res/values/config.xml:   &...

by zdwang - 移动操作系统 - 2011-12-22 08:51:10 阅读(1120) 回复(0)

修改android默认的RadioButton样式 或许你想把RadioButton的样式修改成CheckButton的样式,或许你会用自己设计的样式。请看下文: 第一步:新建res->drawable->radiobutton.xml 写道[code]android="http://schemas.android.com/apk/res/android"> android:state_enabled="true" android:state_checked="true" android:drawable="@android:drawable/radiobutton_off_background" />

android

by 三里屯摇滚 - 移动操作系统 - 2011-12-23 22:15:32 阅读(1554) 回复(1)

android实现数据存储技术2.。。。。 例如,当你需要查询的列在程序编译的时候不能确定,这时候使用 query() 方法会方便很多。 Regular Queries query() 方法用 SELECT 语句段构建查询。SELECT 语句内容作为 query() 方法的参数,比如:要查询的表名,要获取的字段名,WHERE 条件,包含可选的位置参数,去替代 WHERE 条件中位置参数的值,GROUP BY 条件,HAVING 条件。 除了表名,其他参数可以是 null。所以,以前的代码段...

by 三里屯摇滚 - 移动操作系统 - 2012-03-03 11:43:38 阅读(915) 回复(1)

android实现数据存储技术 本文介绍android中的5种数据存储方式。 数据存储在开发中是使用最频繁的,在这里主要介绍android平台中实现数据存储的5种方式,分别是: 1 使用SharedPreferences存储数据; 2 文件存储数据; 3 SQLite数据库存储数据; 4 使用ContentProvider存储数据; 6 网络存储数据; 下面将为大家一一详细介绍。 第一种: 使用SharedPreferences存储数据 SharedPreferences是android平台上一...

by 三里屯摇滚 - 移动操作系统 - 2012-03-03 11:42:55 阅读(1008) 回复(1)

这一次,讲解android 网络存储相关的知识。 1)新建项目,项目名称为:NetworkDemo 2)新建类,类名为:NetworkActivity1,继承Activity,代码如下所示:[code]package com.mesada.demo; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.KeyEvent; import android.widget.EditText; public class NetworkActivity1 extends Activity...

by teddylw1611616 - 移动操作系统 - 2011-03-21 20:19:46 阅读(1562) 回复(0)

     今日的重点内容是ContentProvider(内容提供者)和网络存储,我将对这两大内容进行总结。关于SQLiteDataBase提供的便捷方法,它们会在ContentProvider被使用。SQLite的事务管理比较简单,昨天有简要介绍,今日就不做总结了。
 
       ContentProvider和网络存储将分为两篇日志,本篇总结ContentProvider。
 

by aliounian - 移动操作系统 - 2011-02-14 20:22:10 阅读(621) 回复(0)

在前面的2篇文章: android SQLite解析 、 android 应用程序之间数据共享 中分别详细说明了,如何使用数据库存储信息,以及如何通过ContentProvider获取其他应用程序共享的数据,现将android数据存储做下总结,在以后的开发过程中根据需求选择合适的数据存储方式。 android提供了5种方式存储数据: 使用SharedPreferences存储数据; 文件存储数据; SQLite数据库存储数据; 使用ContentProvider存储数据; 网络存储数据; 其...

by okitamicuki1412 - 移动操作系统 - 2009-11-30 23:59:51 阅读(1135) 回复(0)

android开发_如何调用系统默认浏览器访问 (转) 一、启动android默认浏览器[code] Intent intent= new Intent(); intent.setAction("android.intent.action.VIEW"); Uri content_url = Uri.parse("http://www.cnblogs.com"); intent.setData(content_url); startActivity(intent);[/code]这样子,android就可以调用起手机默认的浏览器访问。 二、指定相应的浏览器访问 1、指定and...

android

by so_brave - 移动操作系统 - 2011-11-15 16:29:16 阅读(2014) 回复(0)

本帖最后由 xiaodi2007 于 2013-08-08 10:55 编辑 前言   之前一直在讲androidUI的内容,但是还没有完结,之后会慢慢补充。今天讲讲其他的,关于数据持久化的内容。对于一个应用程序而言,不可避免的要能够对数据进行存储android程序也不例外。而在android中,提供了几种实现数据持久化的方法。后面会分别介绍。   在android中,可以使用几种方式实现数据持久化: •Shared Preferences:共享参数形式,一种以Key...

by xiaodi2007 - 移动操作系统 - 2013-08-13 21:20:47 阅读(2465) 回复(2)

1)新建android 项目,项目名称:DemoInternalStorage 2) 在继承于Activity的类中编写相应代码,代码如下所示:[code]/* * Copyright (C) Mesada Technologies Co., Ltd. 2005-2010. * All rights reserved. * * This software is the confidential and proprietary information * of Mesada Technologies Co., Ltd. ("Confidential Information"). * You shall not disclose such Confidential Information and shall * u...

by teddylw1611616 - 移动操作系统 - 2011-03-21 20:18:46 阅读(1751) 回复(0)