Android WebKit的消息处理...
分类:
移动平台 时间:
2014-02-11 09:15:57
收藏:
0 评论:
0 赞:
0 阅读:
334
一、什么是9.png:
可能做过任务栏美化的同学都会知道,我靠,framework-res.apk\res\drawable-hdpi
目录下有非常非常多的XXXXXX.9.png图片。千万不要以为这个9只是png格式图片的命名区分,其实他是一种特殊的格式,在png图片的基础上动了些手脚,而且这种手...
分类:
移动平台 时间:
2014-02-11 09:03:27
收藏:
0 评论:
0 赞:
0 阅读:
465
Android 适配分为两种: 第一种:视图间距的适配
比如:上边距多少,下边界多少,两个View间距多少 第二种:图片的适配 ,下面这个图片是一个480*800-m的设备(m表示:Resources for
medium-density (mdpi) screens (~160dpi). (Thi...
分类:
移动平台 时间:
2014-02-11 08:41:47
收藏:
0 评论:
0 赞:
0 阅读:
527
接上一节。上一节费了很大的力气终于搭完了QQ的第二个界面(联系人列表),今天讲一下如何实现QQ聊天界面。这里首先有个好消息:QQ项目的Demo我已经上传到网上啦,欢迎大家下载~网址:http://ishare.iask.sina.com.cn/f/67099260.html
本来以为这一个Activ...
分类:
移动平台 时间:
2014-02-11 08:36:47
收藏:
0 评论:
0 赞:
0 阅读:
507
yii创建的项目出现 Fatal error: Cannot redeclare class CApplication 的解决方法...
分类:
移动平台 时间:
2014-02-11 03:21:46
收藏:
0 评论:
0 赞:
0 阅读:
591
http://android.yaohuiji.com/about
分类:
移动平台 时间:
2014-02-11 03:05:06
收藏:
0 评论:
0 赞:
0 阅读:
311
------->Directory StructureManifest.xml +
activity/layout + R------->Dalvik Debug Monitor ServiceDDMS Logcat/Emulator
control--- Log是最重要的------->Expor...
分类:
移动平台 时间:
2014-02-11 02:57:36
收藏:
0 评论:
0 赞:
0 阅读:
437
双保险的方案:第一步:打开Android SDK
Manager-->Tools-->Options-->勾选上Force https://...sources to be fetched
using http://...第二步:修改hosts文件在C:\Windows\System32\drive...
分类:
移动平台 时间:
2014-02-11 02:37:36
收藏:
0 评论:
0 赞:
0 阅读:
641
常用控件3、checkbox 1 package com.example.checkbox; 2 3
import android.os.Bundle; 4 import android.app.Activity; 5 import
android.view.Menu; 6 import andro...
分类:
移动平台 时间:
2014-02-11 01:46:46
收藏:
0 评论:
0 赞:
0 阅读:
642
Struts2的Action中取得Session、Request、Application对象的方法最常用的方法是:
private Map session;
private Map request;
private Map application;
session = ActionContext.getContext().getSession();
request = (Map) ActionC...
分类:
移动平台 时间:
2014-02-11 01:30:06
收藏:
0 评论:
0 赞:
0 阅读:
420
一直在想起一个什么题目好一些,题目只是最初的现实,经过不断调试最后很是其它问题,想要起一个其它名字比如《打印机驱动中热插拔事件中添加DEVTYPE》。但是最后想了想还是回到最初才是好的。
具体现象:源码位置NativeDaemonConnector.java(查看VOLD的TAG)
02-10 01:21:02.340: E/VoldConnector(11051): got -1 r...
分类:
移动平台 时间:
2014-02-11 02:14:16
收藏:
0 评论:
0 赞:
0 阅读:
354
从Activity A中使用startActivityForResult启动Activity B(Manifest中Activity的声明包含android:launchMode="singleTask"),但是调用startActivityForResult后马上调用A里面的protected
void onActivityResult(int requestCode, int result...
分类:
移动平台 时间:
2014-02-11 00:55:56
收藏:
0 评论:
0 赞:
0 阅读:
465
常用控件1、button 按钮 android:layout_width="wrap_content"
--自适应 android:layout_height="fill_parent" --充满父控件 @+表示声明 如
android:id="@+id/btn_ok" @表示引用 如 androi...
分类:
移动平台 时间:
2014-02-11 02:31:46
收藏:
0 评论:
0 赞:
0 阅读:
478
layout-------->HTMLactivity-------->JavaScriptR资源管理者----------->layout,
string, styles, colors, images......
分类:
移动平台 时间:
2014-02-11 02:23:26
收藏:
0 评论:
0 赞:
0 阅读:
296
很早之前就发现,我写的图形引擎在MFC框架程序中的刷帧率始终在60FPS左右.好在自己的程序对刷帧率的要求不是很高,所以一直没有太过纠结此事.直到今天看了别人的程序才发现应该在函数CWinApp::OnIdle()中进行刷帧操作.而之前我是先注册个时钟响应事件SetTimer(1001,
1, NU...
分类:
移动平台 时间:
2014-02-11 00:51:46
收藏:
0 评论:
0 赞:
0 阅读:
388
清单文件中:View Code
js文件:[{"verName":"xinjiangQJ","verCode":2}]View Code 主窗口MainActivity中的代码:package
fx.qj.cn;import android.os.Bundle;import android.view...
分类:
移动平台 时间:
2014-02-11 00:00:56
收藏:
0 评论:
0 赞:
0 阅读:
505
http://www.2cto.com/kf/201207/143406.htmlhttp://www.2cto.com/kf/201108/100231.htmlApplication.mk目的是描述在你的应用程序中所需要的模块(即静态库或动态库)。1.APP_PROJECT_PATH2.APP_...
分类:
移动平台 时间:
2014-02-10 23:48:26
收藏:
0 评论:
0 赞:
0 阅读:
584
//adapter内部类 private class SearchAdapter extends
CursorAdapter { @Override public View newView(Context context, Cursor cursor,
ViewGroup parent) { ret...
分类:
移动平台 时间:
2014-02-10 23:49:16
收藏:
0 评论:
0 赞:
0 阅读:
791
1.设置dialog弹出anthor public static SearchDialog
getSearchDialog(Context context,OnDismissListener listener, View anchor){
SearchDialog dialog = new Sear...
分类:
移动平台 时间:
2014-02-10 23:45:06
收藏:
0 评论:
0 赞:
0 阅读:
543
1.快捷键ctrl+shift+f 整理代码 但是必须关掉搜狗输入法alt+/ 快捷提示ctrl+/
注释代码F2 重命名2.操作SQL_Lite 数据库导出:window-show view -other-android-File
Explorer刷新当前界面:adapter.notifyData...
分类:
移动平台 时间:
2014-02-10 23:42:36
收藏:
0 评论:
0 赞:
0 阅读:
590