layout_weight 全解析
摘要:【layout_weight 全解析】 参考:http://www.cnblogs.com/net168/p/4227144.html
阅读全文
去掉Android新建项目的顶部标题
摘要:【 去掉Android新建项目的顶部标题】 使用NoActionBar的Theme即可。 参考:http://blog.csdn.net/u012246458/article/details/52997727
阅读全文
Failure [INSTALL_CANCELED_BY_USER]
摘要:安装app到真机,遇到 Failure [INSTALL_CANCELED_BY_USER] 错误。 解决方法:将手机的USB安装权限打开即可。设置->更多设置->开发者选项->USB安装。
阅读全文
Multiple APK Support
摘要:【Multiple APK Support】 Multiple APK support is a feature on Google Play that allows you to publish different APKs for your application that are each t
阅读全文
Gradle with Android
摘要:【Gradle with Android】 The Android Studio build system is based on Gradle, and the Android plugin for Gradle adds several features that are specific to
阅读全文
ActionBar
摘要:【ActionBar】 The ActionBar APIs were first added in Android 3.0 (API level 11) but they are also available in the Support Library for compatibility wit
阅读全文
What is API Level?
摘要:【What is API Level?】 参考:http://android.xsoftlab.net/guide/topics/manifest/uses-sdk-element.html#ApiLevels
阅读全文
convertView
摘要:【convertView】 BaseAdapter适配器里有个getView()需要重写public View getView(int position,View converView,ViewGroup parent){ //省略。。}请问这个方法的三个参数是什么意思? 参考:https://zh
阅读全文
Layouts
摘要:【Layouts】 Each layout file must contain exactly one root element, which must be a View or ViewGroup object. After you've declared your layout in XML,
阅读全文
Styles and Themes
摘要:【Styles and Themes】 A 样式 is a collection of properties that specify the look and format for a View or window. A style can specify properties such as h
阅读全文
Android Studio
摘要:【Android Studio】 1、Ctrl+N:打开class Shift+Ctrl+N:打开file 2、通过Alt+F7,寻找class、method、variable引用 3、Ctrl+Q:快速查看class、method的文档 4、Ctrl+B:跳转到定义。或者 Ctrl+鼠标。 5、C
阅读全文
Android Runtime
摘要:【Android Runtime】 Every Android application runs in its own process, with its own instance of the Dalvik virtual machine. Dalvik has been written so t
阅读全文
Failed to install *.apk on device *: timeout
摘要:【Failed to install *.apk on device *: timeout】 如果Android项目太大,则Eclipse在安装调试时可能会超时。 错误出现:连接真机调试的时候如果连接太久没响应就会出现timeout 解决方法:将timeout时间调长,默认是5000ms。 ...
阅读全文
logcat
摘要:【logcat】 The Android logging system provides a mechanism for collecting and viewing system debug output. Logs from various applications and portions o
阅读全文
Android Debug Bridge
摘要:【Android Debug Bridge】 ADB lets you communicate with an emulator instance or connected Android-powered device. ADB is a client-server program that inc
阅读全文
Android之People&Roles
摘要:【People And Roles】1、Contributor(平台开发者) 一个平台开发者是为AOSP源码做贡献的人,包括谷歌员工或其它公司的员工,以及正在为android贡献的杰出开发者。他们使用同样的工具(git、repo和gerrit),遵循同样的code-review流程在代码循环上有同样的要求。2、Developer(应用开发者) 一个应用开发者是一个编写运行在android设备上应用程序的工程师。实际上,平台开发者和应用开发者在技术集合上没有差别,但AOSP使用这两个称呼来区别使用android平台的人和做贡献android平台的人。3、Verifier(检验者) 一个检验者负责
阅读全文
还能更坑爹吗?细数Android系统9大缺陷
摘要:【细数Android系统9大缺陷】1、Android系统手机泄密 信息时代很严重2、不支持关机闹铃 与用户需求严重背离3、拨号后自动挂断电话 通话BUG频繁出现4、对硬件配置要求高 制造成本增加5、系统偷跑流量 流量流失情况惊人6、系统费电严重 安卓手机续航不足7、死机现象频现 Android系统普遍存在8、系统“智商不高”计算器不会计算9、短信功能也bug 随机乱发惹人烦
阅读全文
Android之App的六种UI元素
摘要:【App的六种UI元素】 1、Notification 2、Layout 3、Widget 4、Dialog 5、Toast 6、Menu【图解】
阅读全文
Android之AndroidManifest.xml
摘要:【The AndroidManifest.xml File】 每一个应用程序必须有有一个AndroidManifest.xml文件(精确使用这个名字)在它的根目录。manifest文件展现给Android系统基本的程序信息。manifest文件做以下事情: 1、它命名了此应用程序的Java包。包名用来惟一标识应用程序。 2、描述应用程序组件--activities、services、broadcast receivers和content providers。它给出每个组件的名字和他们的能力(哪个Intent消息它们可以处理)。这些声明让Android知道哪个组件可以被启动以及在何时被启动。 3
阅读全文
Android之Processes and Threads
摘要:【Processes and Threads】 当一个应用程序组件开始,应用程序没有任何组件在运行,Android系统开启一个新Linux进程为应用程序伴随一个单独的执行线程。默认,所有同一个进程所有组件运行在同一个进程 和线程(称为主线程)。如果一个应用程序组件开启并且已经有一个那个应用中程序的进程(因为另一个这个应用程序的组件存在),那么组件使用同一个线程。可是,你可以安排不同的组件在你的应用程序里运行在不同的进程,并且你可以为任何进程创建线程。【Processes】 默认,同一应用程序的所有组件运行在同一个进程,大多数应用不应当改变这点。可是,如果你发现你需要控制哪一个组件属于哪一个进程
阅读全文