
android
yuxib11
这个作者很懒,什么都没留下…
展开
-
android碰撞检测
package com.lurencun.SurfaceUtil;import android.graphics.Rect;/** * 游戏碰撞检测类 * * @author poolo * @version 1.00 */public class CollisionUtil { /** * 矩形碰撞检测 参数为x,y,width转载 2012-02-03 10:17:02 · 1271 阅读 · 0 评论 -
Android实现语音识别功能
package com.example.android.apis.app;import com.example.android.apis.R;import android.app.Activity;import android.content.Intent;import android.content.pm.PackageManager;import android.c转载 2012-03-28 09:59:30 · 275 阅读 · 0 评论 -
WebView代理设置
WebView.enablePlatformNotifications();myWebView.setHttpAuthUsernamePassword("https", "port ", "user", "pass");原创 2012-06-14 10:44:35 · 830 阅读 · 0 评论 -
andengine.jar
package com.hu.anden; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.andde转载 2012-08-20 16:38:14 · 466 阅读 · 0 评论 -
android 使用代理
Properties prop = System.getProperties(); // 设置http访问要使用的代理服务器的地址 prop.setProperty("http.proxyHost", "ip地址"); // 设置http访问要使用的代理服务器的端口 prop.setProperty("http.proxyPo原创 2013-02-28 11:39:41 · 206 阅读 · 0 评论 -
Listview背景逐行变色
convertView.setBackgroundColor(R.color.radiobg_gray); convertView.getBackground().setAlpha(30); if (position % 2 == 1) { convertView.getBackground().set原创 2013-09-13 13:21:42 · 330 阅读 · 0 评论 -
Fragment切换
FragmentTransaction trasection=this.getSupportFragmentManager().beginTransaction(); if(!newFragment.isAdded()){ try{ FragmentManager manager = getSuppo转载 2014-03-21 10:21:33 · 385 阅读 · 0 评论