MainActivity如下:
package cc.c;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.List;
import android.app.Activity;
import android.app.ActivityMan...
分类:
移动开发 时间:
2014-06-02 23:53:57
阅读次数:
503
时尚而简单的鼠标经过图标动画效果时间: 2013-5-31 作者: Javin TAGS: css,
hover, 创意,
图标设计今天就为大家分享一组时尚而简单的鼠标经过图标动画效果。主要的原理是当经过图标或触发其伪元素时,利用css的transitions和animations属性,来实现的一些...
分类:
其他好文 时间:
2014-06-02 21:53:56
阅读次数:
301
占没有查到替换的方法,先记着!The method
startManagingCursor(Cursor) from the type Activity is deprecatedThe constructor
SimpleCursorAdapter(Context, int, Cursor, St...
分类:
移动开发 时间:
2014-06-02 16:05:59
阅读次数:
309
前言 [Android系列—] 2. Android 项目目录结构与用户界面的创建 在上一篇中,在一个活动中(activity)中显示了一个输入框和一个按钮。这一篇讲接着上一篇继续介绍如何在点击 Send 按钮时,通过添加一些代码到MainActivity中开始一个新的Activity.添加Send 按钮的响应添加按钮的点击事件响应,打开 fra...
分类:
移动开发 时间:
2014-06-02 11:03:45
阅读次数:
233
布局代码: 错误信息:E/AndroidRuntime(2728):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.*****.Main}: java.lang.RuntimeExcepti...
分类:
其他好文 时间:
2014-06-02 05:46:20
阅读次数:
186
格式:
<activity-alias android:enabled=["true" | "false"]
android:exported=["true" | "false"]
android:icon="drawable resource"
android:label="string resou...
分类:
移动开发 时间:
2014-06-02 03:02:06
阅读次数:
253
There are a few scenarios in which your activity is destroyed due to normal app behavior, such as when the user presses theBack button or your activity signals its own destruction
by calling finish(...
分类:
其他好文 时间:
2014-06-01 18:18:52
阅读次数:
550
格式:
<activity android:allowTaskReparenting=["true" | "false"]
android:alwaysRetainTaskState=["true" | "false"]
android:clearTaskOnLaunch=["true" | "false"]
android:confi...
分类:
移动开发 时间:
2014-06-01 15:41:02
阅读次数:
321
一、利用SharedPreferences来实现数据的保存和读取:
1、Mainactivity:
package com.example.sharedpreferencesdemo;
import com.example.sharedpreferencesdemo.util.SharedPreferencesUtil;
import android.app.Activity;
imp...
分类:
移动开发 时间:
2014-06-01 09:51:36
阅读次数:
331
布局文件:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="...
分类:
移动开发 时间:
2014-06-01 04:04:04
阅读次数:
490