forlong401的专栏--有问题上:http://www.androidren.com

Android and iOS Now! 多交流技术,多分享,技术只有分享,才会经久不衰。 欢迎关注新浪微博:@forlong401 。http://weibo.com/forlong401...

ddms之单步调试

<br />第一步,启动emulator<br />Run the emulator as background process at first.<br /> $./emulator &<br />第二步,把eclipse切换到DDMS状...

2010-08-27 20:50:00

阅读数:1910

评论数:0

android获取屏幕高度和宽度 的方法

继承Activity <br />this.getWindowManager().getDefaultDisplay().getWidth();

2010-08-27 20:47:00

阅读数:897

评论数:0

如何解决eclipse中“不能跳转” 和 “找不到定义”的问题

<br />这是因为.classpath等配置不对。<br />解决步骤如下:<br />A.进入工程中的eclipse目录<br /> [xx@xx eclipse]$ pwd /home/xx/project/android22/devel...

2010-08-27 20:47:00

阅读数:11680

评论数:1

问题解决:The project cannot be built until build path errors are resolved

<br />1,看看你的lib里面有没有不用的jar包,看你的.classpath文件中有没有错误的路径. <br />2,这是最重要的一点,有 problems视图中查看有没有关于本项目的错误信息,一般都会有这样的话:      The project cannot be...

2010-08-27 20:46:00

阅读数:817

评论数:0

Android Animation Framework

<br />This tutorial is an introduction to the built in animation frameworks that are part of the Android UI library. Without writing any anim...

2010-08-27 20:43:00

阅读数:1904

评论数:0

Android marketplace - public key

<br />Question:<br />Hi,<br />I'm just about to submit an application to the Android Marketplace.<br /> There is this mess...

2010-08-27 20:41:00

阅读数:825

评论数:0

How to alignment the center position of the button in Android?

How to alignment the center position of the button in Android? In the XML layout, can able to set the center postion by using the "android:...

2010-08-27 20:40:00

阅读数:919

评论数:0

Application as part of Android Built

<br /> <br />Hi, <br />I had built a application using the Android SDK. Now I would like to package this application as part of t...

2010-08-27 20:24:00

阅读数:482

评论数:0

Android开发指南-二维图形

Android开发指南-二维图形二维图形2D<br /> GraphicsAndroid 提供一个定制的2D图形库,用来绘制图形图像和制作动画。你将从Android.graphics.drawable和 android.view.animation包中找到这些通用类。<...

2010-08-27 20:23:00

阅读数:772

评论数:0

Debug Android Source Builds

<br />you need to run the emulator you just built. if you've followed the build instructions, it should be on your path, so just run it.<b...

2010-08-27 20:22:00

阅读数:507

评论数:0

Android - what’s the difference between the various methods to get a Context?

<br />Q:                 <br />In various bits of Android code I've seen: publicclassMyActivityextendsActivity{<br />     publicv...

2010-08-27 20:21:00

阅读数:692

评论数:0

How to use the date format that has been setup as default in Settings?

<br />Question:<br /> <br />As you probably know, you can setup date format in the Settings of an Android device. <br />In ...

2010-08-27 20:20:00

阅读数:550

评论数:0

Is it possible to set font for entire Application?

<br />From:http://stackoverflow.com/questions/2711858/is-it-possible-to-set-font-for-entire-application<br /> <br />Question:      ...

2010-08-27 20:19:00

阅读数:586

评论数:0

Make your Android Listview Fast and Efficient

<br />Android programming --- Make your Android Listview Fast and EfficientGoogle Staff有一篇Turbo-charge your UI关于加速和提高Android UI效率 的文章。&l...

2010-08-27 20:18:00

阅读数:663

评论数:0

android manifest.xml中元素含义

<br />android:allowTaskReparenting<br />是否允许activity更换从属的任务,比如从短信息任务 切换到浏览器任务。 <br /> ------------------------------------------...

2010-08-27 20:17:00

阅读数:576

评论数:0

让Android程序单例运行

<br />1, Set application launch mode (More details about launchMode, please refer to http://code.google.com/intl/en-CN/android/reference/androi...

2010-08-27 20:12:00

阅读数:1111

评论数:0

关于Activity和Task的设计思路和方法

<br /><br />Activity和Task是Android Application Framework架构中最基础的应用,开发者必须清楚它们的用法和一些开发技巧。本文用大量的篇幅并通过引用实例的方式一步步深入全面讲解它们的基础原理(underlying ...

2010-08-27 20:09:00

阅读数:542

评论数:0

android一些很有用的代码片段

<br />1:查看是否有存储卡插入<br /> String status=Environment.getExternalStorageState();<br /> if(status.equals(Enviroment.MEDIA_MOUNTED))...

2010-08-27 20:08:00

阅读数:466

评论数:0

修改ListView 分割线Seperator line

Java代码<LinearLayout      xmlns:android="http://schemas.android.com/apk/res/android"       android:layout_width="wrap_content...

2010-08-27 20:06:00

阅读数:720

评论数:1

Android Layout 之 RelativeLayout

<br />使用 AbsoluteLayout 可以直接指定其子 View 的绝对位置, 这种布局方式虽然简单,但是不够灵活。比如在一个程序中,按钮2 位于 按钮1 的下方且和 按钮1 左对齐,我们可以使用指定两个按钮的绝对位置的方式布局,但是当布局完成后,由于某些原因,这两个...

2010-08-27 20:01:00

阅读数:548

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭