在获取设备android系统上所有程序信息一文中介绍了获取手机上所有app信息的方法,下面介绍过滤掉系统app的方法:
MainActivity:
package com.home.getsysapp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.u...
分类:
移动开发 时间:
2014-05-10 10:02:42
阅读次数:
352
(1)Popupwindow在显示之前一定要设置宽高,Dialog无此限制。
(2)Popupwindow默认不会响应物理键盘的back,除非显示设置了popup.setFocusable(true);而在点击back的时候,Dialog会消失。
(3)Popupwindow不会给页面其他的部分添加蒙层,而Dialog会。
(4)Popupwindow没有标题,Dialog默认有标题,可以通过dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);取消标题
...
分类:
移动开发 时间:
2014-05-10 09:50:05
阅读次数:
566
目前cocos2dx + lua的方式可以动态更新所有的脚本文件,但是却无法动态更新cpp部分的代码(这部分东西一般我们称之为底包),事实上采用同样的方案在android下也是可以实现动态更新的,只需要将java代码里加载libgame.so的代码稍微做些修改即可
static {
System.loadLibrary("game");
}
...
分类:
移动开发 时间:
2014-05-10 09:22:31
阅读次数:
531
雁字掠过愁转浓,
身不由己漂泊客,
相知相惜难相逢......
分类:
其他好文 时间:
2014-05-07 08:16:45
阅读次数:
194
function FactoryXMLHttpRequest() {
if(window.XMLHttpRequest) {
return new XMLHttpRequest();
}else if(window.ActiveXObject) {
var msxmls = new Array(
'Msxml2.XM...
分类:
其他好文 时间:
2014-05-07 07:00:03
阅读次数:
382
import org.junit.Test;
public class Multiple {
public void printMultiple99() {
int i = 1;
for (; i < 10; i++)
for (int j = 1; j <= i; j++)
System.out.print(j + "*" + i + "=" + i * j + " ...
分类:
其他好文 时间:
2014-05-07 06:46:25
阅读次数:
359
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of gr...
分类:
其他好文 时间:
2014-05-07 06:10:17
阅读次数:
370
Linux下Tomcat安装配置以及Windows不能连接服务器Tomcat解决方案
一、从官方网站上下载tomcat软件包。
官网地址: http://tomcat.apache.org/
点击左侧的 download的一个版本,我选择的是 tomcat7.0,选择一个后缀名为.tar.gz文件直接下载到本地。
二、通过工具SSH Secure 上传至linux服务器中,进行解压...
分类:
系统相关 时间:
2014-05-07 03:21:00
阅读次数:
625
using UnityEngine;
using System.Collections;
public class moive : MonoBehaviour {
public MovieTexture movTexture;
public GameObject moive_texture;
public GameObject quan_bt;
public GameObject...
分类:
其他好文 时间:
2014-05-07 03:13:16
阅读次数:
426
方法一:
在Arcmap中转换:
1、加载要转换的数据,右下角为经纬度
2、点击View——Data Frame Properties——Coordinate System
3、导入或选择正确的坐标系,确定。这时右下角也显示坐标。但数据没改变
4、右击图层——Data——Export Data
5、Use the same coordinate system a...
分类:
其他好文 时间:
2014-05-06 15:00:20
阅读次数:
403