android
爱喝雀巢的小熊
这个作者很懒,什么都没留下…
展开
-
Stopping and Restarting an Activity
Properly stopping and restarting your activity is an important process in the activity lifecycle that ensures your users perceive that your app is always alive and doesn't lose their progress. There a转载 2015-02-09 09:29:37 · 318 阅读 · 0 评论 -
Starting an Activity
Unlike other programming paradigms in which apps are launched with a main() method, the Android system initiates code in an Activity instance by invoking specific callback methods that correspond to转载 2015-02-09 09:27:24 · 334 阅读 · 0 评论 -
See more of what Android Lollipop has to offer
Material DesignA bold, colorful, and responsive UI design for consistent, intuitive experiences across all your devicesResponsive, natural motion, realistic lighting and shadows, and familiar转载 2015-03-04 15:53:43 · 522 阅读 · 0 评论 -
Android UserManager: Check if user is owner (admin)
Im developing an app with the latest android version (4.2.1 API-Level 17) for tablets with multiuser capabilities.I want to restrict certain features (like the access to the app preferences) to the转载 2015-03-16 15:33:06 · 911 阅读 · 0 评论 -
Activity
Class OverviewAn activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which yo转载 2015-03-17 09:36:08 · 1754 阅读 · 0 评论 -
Starting an Activity
Unlike other programming paradigms in which apps are launched with a main() method, theAndroid system initiates code in anActivity instance by invoking specificcallback methods that correspond to sp转载 2015-03-23 14:50:34 · 350 阅读 · 0 评论 -
Android 学习网站
1、http://guides.codepath.com/android(培训android)2、http://www.tutorialspoint.com/android/(专业技术网站)3、http://www.androidhive.info/(非常好的个人微博)转载 2015-03-23 10:04:27 · 311 阅读 · 0 评论 -
Android 5.1升级概要
API Level: 22Android 5.1 (LOLLIPOP_MR1) is an update to the Lollipop release that offers new features for users and app developers. This document provides an introduction to the most notable new A转载 2015-04-07 16:02:53 · 510 阅读 · 0 评论 -
2015征文#Android资料指南
前言 谁无年少时,对于一门技术而言,大家都是在”Hello world”学起来的,让我们困惑的是,在过去的一年中,有些人的技术提升是100%,有些人是20%,有些人或许悲催的没有什么变化.是智商的原因吗?在我看来,可能是你的学习方法不对而已.前几天结婚休假,我一直在写一些自己的博客,在找资料的过程中发现,光光使用百度来说,效率太低下了,一般来说至少有一半的转载 2015-04-07 11:44:41 · 594 阅读 · 0 评论 -
Github上的andoird开源组件整理
http://blog.gaoqixhb.com/p/545321a35a6e8e6729c06bea原创 2015-05-11 16:01:57 · 417 阅读 · 0 评论 -
工具类 SDCardUtils
package com.example.helloworld;import android.os.Environment;import android.os.StatFs;import java.io.BufferedReader;import java.io.File;import java.io.IOException;import java.io.InputStream;i转载 2015-05-07 10:23:00 · 410 阅读 · 0 评论 -
魅族16发布
魅族16官网 评测:魅族16&16Plus评测 高颜值的亲民梦想机魅族发布会魅族16发布会微博发布会原创 2018-08-08 23:27:43 · 321 阅读 · 0 评论 -
Pausing and Resuming an Activity
During normal app use, the foreground activity is sometimes obstructed by other visual components that cause the activity topause. For example, when a semi-transparent activity opens (such as one in t转载 2015-02-09 09:28:45 · 307 阅读 · 0 评论 -
Managing the Activity Lifecycle
As a user navigates through, out of, and back to your app, theActivity instances in your app transition between different states in their lifecycle. For instance, when your activity starts for the f转载 2015-02-09 09:26:33 · 299 阅读 · 0 评论 -
Recreating an Activity
There are a few scenarios in which your activity is destroyed due to normal app behavior, such as when the user presses the Backbutton or your activity signals its own destruction by callingfinish().转载 2015-02-09 09:30:27 · 379 阅读 · 0 评论 -
Get filename and path from uri from mediastore
I have an onActivityResult returning from an mediastore image selection which I can get a URI for an image using the following: Uri selectedImage = data.getData(); Converting this to a string原创 2013-12-12 22:52:11 · 659 阅读 · 0 评论 -
android 源码和CM源码下载地址
Getting StartedTo get started with Android/CyanogenMod, you'll need to getfamiliar with Git and Repo.To initialize your local repository using the CyanogenMod trees, use a command like this:repo init原创 2014-07-25 16:41:34 · 585 阅读 · 0 评论 -
应用汇常见错误列表
返回上页应用汇常见错误列表应用汇的安装功能是基于安卓系统的adb开发的,adb的安装过程分为传输与安装两步。在出错后,助手会在右下角弹出详细的错误编号及建议。下面列举出几种常见的错误及解决方法.Q1:无效的安装包,安装包已损坏[INSTALL_FAILED_INVALID_APK] A1:请检查安装包是否完整。如果是xpk包,可以通过 手动安装xpk转载 2014-07-04 18:33:12 · 1504 阅读 · 0 评论 -
android源码编译前期准备
Initializing a Build EnvironmentIn this documentThis section describes how to set up your local work environment to buildthe Android source files. You will need to use Linux or Mac OS. B转载 2014-07-25 17:42:08 · 514 阅读 · 0 评论 -
androi 源码框架
http://923723914.iteye.com/blog/2093347转载 2014-08-24 23:30:58 · 324 阅读 · 0 评论 -
Filters on Google Play
When a user searches or browses for apps to download on Google Play, the results are filtered based on which applications are compatible with the device. For example, if an app requires a camera, Goog转载 2015-01-06 15:18:49 · 937 阅读 · 0 评论 -
<uses-configuration>
SYNTAX: android:reqFiveWayNav=["true" | "false"] android:reqHardKeyboard=["true" | "false"] android:reqKeyboardType=["undefined" | "nokeys" | "qwerty" | "twelvekey"] android:reqNavigation=["转载 2015-01-06 15:30:55 · 373 阅读 · 0 评论 -
Supporting Multiple Screens
Android runs on a variety of devices that offer different screen sizes and densities. For applications, the Android system provides a consistent development environment across devices and handles most转载 2015-01-06 15:23:16 · 542 阅读 · 0 评论 -
<compatible-screens>
SYNTAX:compatible-screens> screen android:screenSize=["small" | "normal" | "large" | "xlarge"] android:screenDensity=["ldpi" | "mdpi" | "hdpi" | "xhdpi"] /> ...CONTAINED IN:转载 2015-01-06 15:24:45 · 332 阅读 · 0 评论 -
Android开发 使用 adb logcat 显示 Android 日志
1. 解析 adb logcat 的帮助信息在命令行中输入 adb logcat --help 命令, 就可以显示该命令的帮助信息;[plain] view plaincopyoctopus@octopus:~$ adb logcat --help Usage: logcat [options] [filterspe转载 2015-02-04 18:11:57 · 1699 阅读 · 0 评论 -
android Build 日志打印
在如下指令后增加重定向操作“>Buildlog.txt 2>&1”time make $make_args –> time make $make_args >Buildlog.txt 2>&转载 2014-12-05 18:08:31 · 678 阅读 · 0 评论 -
Supporting Different Screens
Android categorizes device screens using two general properties: size and density. You should expect that your app will be installed on devices with screens that range in both size and density. As suc转载 2015-02-09 09:24:06 · 357 阅读 · 0 评论