![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Trival_android
C_lts
这个作者很懒,什么都没留下…
展开
-
import project 后,出现Unable to get system library for the project
import project 后,出现Unable to get system library for the project。这是因为在import 一个项目的时候,没有指定android sdk的版本,所以导致编译器无法导入系统库。解决:在 Project 上 Rig原创 2011-10-01 19:06:05 · 757 阅读 · 0 评论 -
An internal error occurred during: "Launching New_configuration".(
A problem I came across today.I can start my Android simulator but it wasn't able to run my program.Eclipse report an following error:原创 2011-10-01 19:28:18 · 851 阅读 · 0 评论 -
SurfaceView in android
SurfaceView和View最本质的区别在于,surfaceView是在一个新起的单独线程中可以重新绘制画面而View必须在UI的主线程中更新画面。因而,在绘制与更新画面的游戏当中,经常使用SurfaceView而不是View。在游戏中,一个单独的thread不停的重绘主转载 2011-10-01 19:09:18 · 386 阅读 · 0 评论 -
错误集锦之 "Unparsed aapt error(s)! Check the console for output".
在layout中添加了一个ViewMain.xml文件,在src中添加了一个ViewMain.jpg文件,遇到报错如下:"Unparsed aapt error(s)! Check the console for output".没有提示错误的地方,也没有指名具体的错误。原创 2011-10-01 19:07:56 · 610 阅读 · 0 评论 -
在android程序中如何禁止界面横竖屏切换
在某些游戏中我们可能需要禁止横屏和竖屏切换,其实实现这个要求很简单,只要在AndroidManifest.xml 里面加入这一行 android :screenOrientation="landscape "(landscape 是横向,portrait 是纵向)。在an原创 2011-10-01 19:04:30 · 839 阅读 · 0 评论 -
android中文SDK--Service(一)
谢谢分享!转过去细细品读!原文地址:android中文SDK--Service(一)作者:kangdong.yang服务service服务是一个应用程序的组件,运行在后台,执行一些耗时长的操作,他没有用户界面。另外的应用程序组件可以启动服务,服务一旦启动,即使转载 2011-10-01 19:25:50 · 876 阅读 · 0 评论 -
Stop A Service
If your service handles multiple requests to onStartCommand() concurrently, then you shouldn't stop the service when you're done processin原创 2011-10-01 19:24:50 · 438 阅读 · 0 评论 -
notepad 部分知识构造图
notepad主要用于实现前台的操作,并跳转到后台进行数据存储。notepad v2的结构比较简单,只有三个activity,以上是其一,noteDbAdapter会在以后讨论到。NoteEdit.java比较简单,这里不赘述。初学android有不对的地方还请指正!原创 2011-10-01 19:13:01 · 401 阅读 · 0 评论 -
A note about some errors which cause by android.R
Eclipse's Organize Imports tool can sometimes lead to hard-to-find problems.(First of all ,of course ,you should make sure your xml files ha原创 2011-10-01 19:11:35 · 455 阅读 · 0 评论 -
button cannot resolved to a type
final Button Button1=(Button)findViewById(R.id.button1);final Button Button2=(Button)findViewById(R.id.button2);while debuging an error原创 2011-10-01 19:29:48 · 413 阅读 · 0 评论