登录
首页 » Java » wifilevel

wifilevel

于 2017-08-21 发布 文件大小:240KB
0 168
下载积分: 1 下载次数: 5

代码说明:

  获取WiFi信号强度,并保存在android固定文件夹中(Get the WiFi signal strength and save it in the Android fixed folder)

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

发表评论

0 个回复

  • 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
  • xiaojipaodong
    一个android下面的动画程序,描述的是一个小公鸡自己在屏幕上来回跑的(Android animation following a procedure described is a small cock their running back and forth on the screen)
    2011-06-08 10:50:33下载
    积分:1
  • esms JAVA 实现短信送程序,调用 网关
    esms JAVA 实现短信发送程序,调用 网关,首先你要知道你要发送的哪个电信运营商的信息 也就是说你要连的是什么的网关 发的是什么协议的数据包 中国移动使用CMPP协议有2.0 3.0两种 联通就是SGIP了 网通SNGP 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-04-14 11:50:17下载
    积分:1
  • 基于java的校园成绩获取,课表获取,模拟登陆
    自己学校的学生信息课表,成绩,模拟登陆,查询,很好的爬虫!,,大家可以查看源码更改部分自己学校的信息,轻松抓取页面,正则剖析有用数据,可用于数据挖掘,或者课程设计
    2022-09-20 14:35:03下载
    积分:1
  • wcf聊天功能源码下载
    wcf聊天功能源码下载
    2015-08-26下载
    积分:1
  • e4a单片机监测程序
    e4a单片机监测程序
    2019-11-13下载
    积分:1
  • 图书馆管理
    这个软件用来搜索书籍,将它们分配给学生,保存书籍的信息,以及 图书馆的成员。
    2022-01-21 01:36:44下载
    积分:1
  • 安卓蓝牙通信参考源码
    资源描述基于安卓的蓝牙通信开发参考例程源码
    2022-09-07 03:00:03下载
    积分:1
  • 几何程序
    任何人读取旧和中古英语文学文本将熟悉的中期棕色卷的气,与 Alfred 的宝石凸印在封面上的符号。阿尔弗雷德国王或阿尔弗里克,以及那些由主教沃尔夫斯和很多匿名的散文和韵文从征服前期间,部份的作品大多将被发现在 Society 的三个系列 ;所有幸存的中世纪戏剧,大部分的中古英语言情小说,很多宗教和世俗的散文和韵文包括约翰 · 高尔,Thomas 霍克利夫和大部分的 Caxton 的打印所有的英语作品出版物中找到自己的位置。没有满足现场版的中世纪英语语篇研究几乎不可能。
    2022-01-27 08:38:27下载
    积分:1
  • snqualifiedvowel
    说明:  该程序中包括为一个CDMA和OFDM的信道分配仿真程序,(This program includes a channel assignment emulator for CDMA and OFDM.)
    2019-03-28 13:55:03下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载