登录
首页 » Java » Home

Home

于 2013-06-19 发布 文件大小:240KB
0 158
下载积分: 1 下载次数: 12

代码说明:

  安卓实例 安卓桌面应用实例 供参考 桌面系统开发(android sample)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 商城源码
    商城源码,ssh,三大框架源码,放在tomcat下运行,在mysql数据库里配置数据库
    2022-02-15 16:19:18下载
    积分:1
  • fluent 模拟激光铺粉PBF熔覆过程 udf
    【实例简介】fluent 模拟激光铺粉PBF熔覆过程 udf  含有热源加载及铺粉函数
    2022-01-09 00:32:31下载
    积分:1
  • App自动更新
    App自动更新
    2013-10-23下载
    积分:1
  • android天气预报APP
    资源描述本实例是用android写的一个天气预报的APP,直接可以使用,大家下载下来可以参考一下。对照着做。希望对大家有所帮助。
    2022-02-25 02:17:41下载
    积分:1
  • 安卓蓝牙调试助手
    应用背景通过手机手动连接蓝牙设备的调试程序源码,是一个商业产品的附带软件,通过输入字符串给蓝牙设备,也可以收到蓝牙设备发过来的数据,非常直观好用,可以很容易了解蓝牙的通信原理关键技术蓝牙服务的创建,ACTIVTY与蓝牙服务通行,蓝牙的密码修改该,数据传输原理,蓝牙设备的搜索,控制蓝牙设备,发送指令到蓝牙JAVA,ANDROID,ECLIPES,UART,
    2022-05-23 20:21:53下载
    积分:1
  • 安卓天气插件源代码
    安卓天气插件源代码-供学习用。主要用作android手机开发天气插件,通过该源码学习如何使用调用插件!!
    2023-01-26 09:20:03下载
    积分:1
  • java文档
    酒店管理系统软件,这个软件用java语言写的,里面有源代码,数据库,工具是用eclipse开发。强制植入或者更改,可能会导致出错,应该有某个列表之类的在控制文件大小,查看工具,直接查看DDS图片和文本
    2022-01-30 13:45:29下载
    积分:1
  • AppWidgetHostView
    Provides the glue to show AppWidget views for Andriod.
    2013-10-17 22:12:04下载
    积分:1
  • 学习
    学习
    2013-09-02下载
    积分:1
  • android open gl 示例代码下载
    [实例简介]Open GL 入门级示例 [实例截图] [核心代码]package com.china.gltry;import javax.microedition.khronos.egl.EGL10;import javax.microedition.khronos.egl.EGL11;import javax.microedition.khronos.egl.EGLConfig;import javax.microedition.khronos.egl.EGLContext;import javax.microedition.khronos.egl.EGLDisplay;import javax.microedition.khronos.egl.EGLSurface;import javax.microedition.khronos.opengles.GL;import android.view.SurfaceHolder;/** * An EGL helper class. */public class EGLHelper{ public EGLHelper() { } /** * Initialize EGL for a given configuration spec. * @param configSpec */ public void start(int[] configSpec){ /* * Get an EGL instance */ mEgl = (EGL10) EGLContext.getEGL(); /* * Get to the default display. */ mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); /* * We can now initialize EGL for that display */ int[] version = new int[2]; mEgl.eglInitialize(mEglDisplay, version); EGLConfig[] configs = new EGLConfig[1]; int[] num_config = new int[1]; mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, num_config); mEglConfig = configs[0]; /* * Create an OpenGL ES context. This must be done only once, an * OpenGL context is a somewhat heavy object. */ mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null); mEglSurface = null; } /* * Create and return an OpenGL surface */ public GL createSurface(SurfaceHolder holder) { /* * The window size has changed, so we need to create a new * surface. */ if (mEglSurface != null) { /* * Unbind and destroy the old EGL surface, if * there is one. */ mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); } /* * Create an EGL surface we can render into. */ mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, holder, null); /* * Before we can issue GL commands, we need to make sure * the context is current and bound to a surface. */ mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); GL gl = mEglContext.getGL(); return gl; } /** * Display the current render surface. * @return false if the context has been lost. */ public boolean swap() { mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); /* * Always check for EGL_CONTEXT_LOST, which means the context * and all associated data were lost (For instance because * the device went to sleep). We need to sleep until we * get a new surface. */ return mEgl.eglGetError() != EGL11.EGL_CONTEXT_LOST; } public void finish() { if (mEglSurface != null) { mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); mEglSurface = null; } if (mEglContext != null) { mEgl.eglDestroyContext(mEglDisplay, mEglContext); mEglContext = null; } if (mEglDisplay != null) { mEgl.eglTerminate(mEglDisplay); mEglDisplay = null; } } EGL10 mEgl; EGLDisplay mEglDisplay; EGLSurface mEglSurface; EGLConfig mEglConfig; EGLContext mEglContext;}
    2015-04-06下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载