码迷,mamicode.com
首页 >  
搜索关键字:android    ( 100041个结果
Android:Layout_weight的深刻理解
(转载http://mobile.51cto.com/abased-375428.htm)最近写Demo,突然发现了Layout_weight这个属性,发现网上有很多关于这个属性的有意思的讨论,可是找了好多资料都没有找到一个能够说的清楚的,于是自己结合网上资料研究了一下,终于迎刃而解,写出来和大家分...
分类:移动开发   时间:2014-10-09 01:21:47    阅读次数:296
android项目解刨之时间轴
http://blog.csdn.net/caiwenfeng_for_23/article/details/38279317 ? http://www.apkbus.com/android-163766-1-1.html...
分类:移动开发   时间:2014-10-09 01:02:10    阅读次数:221
android之针对fragment多次调用onCreateView的问题
直接上解决的代码模块private View rootView;@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ...
分类:移动开发   时间:2014-10-09 00:46:57    阅读次数:2065
No JVM could be found on your system解决方法
在安装android studio时,报错: Error launching android Studio ???? No JVM installation found. Please install a 64-bit JDK. ???? if you already have a JDK installed, defined a JAVA_HOME war...
分类:其他好文   时间:2014-10-09 00:29:07    阅读次数:804
详解Android中的屏幕方向
详解Android中的屏幕方向 屏幕方向 是对Activity而言的,所以你可以在AndroidManifest.xml 文件中,通过 标记的screenOrientation 属性进行设定,例如: screenOrientations属性共有7中可选值(常量定义在 android.co...
分类:移动开发   时间:2014-10-08 23:55:37    阅读次数:183
自定义Android标题栏TitleBar布局
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.main); //软件activity的布局 getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.titlebar); //titlebar为自己标题...
分类:移动开发   时间:2014-10-08 23:53:07    阅读次数:183
android事件分发机制总结
Android事件分发机制 ? 在android?普通view(不包含ViewGroup)和activity中主要有一下两个方法处理事件: public?boolean?dispatchTouchEvent(MotionEvent?ev)?//?分发事件 public?boolean?onTouchEven...
分类:移动开发   时间:2014-10-08 23:51:27    阅读次数:265
Android网络通信两种方法
android的网络编程分为2种:基于socket的,和基于http协议的。Http通信以xml或者json为载体,相互通信数据。JSON (JavaScript Object Notation)一种简单的数据格式,比xml更轻巧。 JSON 是 JavaScript 原生格式,这意味着在 Java...
分类:移动开发   时间:2014-10-08 23:43:07    阅读次数:243
Android.mk添加第三方jar包(转载)
转自:www.cnblogs.com/hopetribe/archive/2012/04/23/2467060.htmlLOCAL_PATH:= $(call my-dir)include $(CLEAR_VARS)LOCAL_STATIC_JAVA_LIBRARIES := xsocket j.....
分类:移动开发   时间:2014-10-08 23:42:57    阅读次数:332
Android WebView untold stories
Without any doubts, Android SDK has a poor documentations. There are pitfalls and traps about APIs without any mentions in SDK documentations. 1. WebView.clearHistory() When there is only one item ...
分类:移动开发   时间:2014-10-08 23:01:37    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!