![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android 应用程序开发
文章平均质量分 63
tianruxishui
这个作者很懒,什么都没留下…
展开
-
Android应用开发——系统自带样式Android:theme
•android:theme="@android:style/Theme.Dialog" 将一个Activity显示为能话框模式•android:theme="@android:style/Theme.NoTitleBar" 不显示应用程序标题栏•android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 不显示应用程序标题栏,并全转载 2011-11-12 22:41:45 · 537 阅读 · 0 评论 -
深入理解android service的基本知识
参考自:http://blog.csdn.net/guolin_blog/article/details/11952435一,Service的基本用法:1,创建一个Service:转载 2017-03-10 15:01:34 · 456 阅读 · 0 评论 -
深入理解 IntentService 与实践
1,理解为何Android中引入IntentService,解决的是什么场景下的需求?2,IntentService的使用步骤是?一,理解IntentService:1,定义:IntentService is a base class forServices that handle asynchronous requests (expressed as Intent原创 2017-03-08 17:02:24 · 424 阅读 · 0 评论 -
Activity 任务栈分析与及Activity的启动方式
一,Activity的4种启动模式 : 1, standard2,singleTop3,singleTask3,singleInstance二,standart启动模式standard也是Activity默认的启动模式;在这种模式下,每次启动Activity都会创建新的实例;并覆盖在原来Activity的上面,即把原来的Activity入栈;三,si转载 2017-03-08 15:57:29 · 458 阅读 · 0 评论 -
Android应用Activity、Dialog、PopWindow、Toast窗口添加机制及源码分析
【工匠若水 http://blog.csdn.net/yanbober 转载烦请注明出处,尊重劳动成果】1 背景之所以写这一篇博客的原因是因为之前有写过一篇《Android应用setContentView与LayoutInflater加载解析机制源码分析》,然后有人在文章下面评论和微博私信中问我关于Android应用Activity、Dialog、PopWindow加载显示机制是咋转载 2017-02-24 18:44:41 · 3399 阅读 · 0 评论 -
Android应用开发1: Context 使用
Reference:1, http://guides.codepath.com/android/Using-Context 2,http://blog.csdn.net/qinjuning/article/details/73106203,http://www.cnblogs.com/wenjiang/archive/2012/10/15/2724923.htmlP转载 2016-11-07 17:57:08 · 414 阅读 · 0 评论 -
Activity/View/Window/Layout 之间的关系分析
Reference:http://blog.csdn.net/yanbober/article/details/45970721http://blog.csdn.net/yanbober/article/details/46361191主要是阅读了上述两篇文章,想整理下关于Activity如何创建Window,View和Window又有什么关系,是如何增加Layout的。一转载 2017-02-28 21:01:23 · 1586 阅读 · 0 评论 -
Android 应用开发: APP Resource && ImageView
PartI: APP Resource:1, APP 资源的类型:NameFolderDescriptionProperty AnimationsanimatorXML files that define property animations.Tween AnimationsanimXML files tha转载 2016-11-15 11:32:54 · 379 阅读 · 0 评论 -
Android应用开发:View
Part I :Views Margin and Padding Margin 指的是整个View空间对于周围的留白;这个是单独一个View相对于整个layout空间而已Padding 指的是View里面Content相对于整个View内部的空间;是对于一个View而已 示意图如下:注意:在LineraLayout,RelatvieLayout,TableLayout中,这转载 2016-11-15 09:44:01 · 338 阅读 · 0 评论 -
Android应用开发:Fragment
Fragment(片段)Reference:http://guides.codepath.com/android/Creating-and-Using-Fragmentshttp://blog.csdn.net/lmj623565791/article/details/37970961 https://developer.android.com/guide/components/fr转载 2016-11-10 18:09:01 · 665 阅读 · 0 评论 -
Android应用开发:Activity 生命周期
Reference: 1,http://guides.codepath.com/android/Activity-Lifecycle2, https://github.com/xxv/android-lifecyclePartI : Activity 生命周期:Lifecycle MethodDescriptionCommon Uses转载 2016-11-08 18:22:23 · 544 阅读 · 0 评论 -
Android framework系统默认设置修改
转载请注明出处:http://blog.csdn.net/tiantian715/Launcher 总结: 1、launcher的布局太居中,要想两边拉伸 apps_customize_pageLayoutPaddingLeft">40dp apps_customize_pageLayoutPaddingRight">40dpapps tab栏的转载 2014-04-09 16:21:15 · 27949 阅读 · 1 评论 -
Laucher中包名类名的确定 Androidmanifest.xml
直接查看 AndroidManifest.xml中的字段标示:1, 包名:原创 2014-04-09 13:57:38 · 3244 阅读 · 0 评论 -
搭建Android应用开发环境(Windows)
1, Download the Android SDK http://developer.android.com/sdk/index.html 在 Windows平台2, Installing the Android SDK: http://developer.android.com/sdk/installi原创 2012-04-03 01:53:18 · 801 阅读 · 0 评论 -
Android自动检测版本及自动升级
转载自: http://blog.csdn.net/furongkang/article/details/6886526 步骤:1.检测当前版本的信息AndroidManifest.xml-->manifest-->android:versionName。2.从服务器获取版本号(版本号存在于xml文件中)并与当前检测到的版本进行匹配,如果不匹配,提示用户进行升级,如果匹配则进入程序主界转载 2012-01-15 14:13:49 · 578 阅读 · 0 评论 -
Service进阶与AIDL实现进程间通信
参考:http://blog.csdn.net/guolin_blog/article/details/9797169 一,AIDL 定义AIDL(Android Interface Definition Language) 是Android接口定义语言,用于让某个Service与多个应用程序组件之间进行跨进程通信,从而实现多个应用程序共享一个Service的功能。二,A转载 2017-03-10 21:18:09 · 395 阅读 · 0 评论