登录
首页 » Android » Android 声波传输

Android 声波传输

于 2023-06-18 发布 文件大小:683.63 kB
0 116
下载积分: 2 下载次数: 1

代码说明:

将数据转换为声波,在手机间短距离传输。发送端通过扬声器发送声波,接收端通过mic接收声波在转换为数据。

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

发表评论

0 个回复

  • 相册Gallery 3d效果循环滚动
    在BaseAdapter中主要做了图片的倒影效果以及创建了对原始图片和倒影的显示区域。GalleryFlow中主要做了对图片的旋转和缩放操作,根据图片的屏幕中的位置对其进行旋转缩放操作。
    2013-04-22下载
    积分:1
  • android无线点餐源码
    这是一个android无线点餐的客户端,提供给大家互相研究交流,源代码分为客户端和服务端两部分,使用tomcat部署服务端,数据库是使用的mysql,客户端代码基本有注释
    2023-07-12 00:55:04下载
    积分:1
  • 一种类似于Excel表格(网上找的,感觉还不错)
    一种类似于Excel表格(网上找的,感觉还不错)
    2014-04-04下载
    积分:1
  • wifi语音对讲
    实现局域网内语音对讲发送文字
    2013-06-29下载
    积分: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
  • Android 加载HTML网页的内容并显示
    Android 加载HTML网页的内容并显示,装载HTML内容,本例子加载了一个图书销售网站的内容,加载了多张图片,加载的内容在android代码里生成,webView.loadDataWithBaseURL("图书名", html, "text/html", "utf-8", null);   webView.getSettings().setJavaScriptEnabled(true);   webView.setWebChromeClient(new WebChromeClient());
    2022-05-26 18:02:40下载
    积分:1
  • 数据库
    demo,里面有一个utils,其他东西就没有多少了,utils进行了增删改查等操作,可以看看,没有了,对了是基于orm数据库的
    2022-01-23 10:38:32下载
    积分:1
  • Android 租车系统APP源码
    Android 租车系统APP源码,功能分为了四大类:租车计时、租车费用充值、用户注册、租车信息查询等,功能基本上都写出来了,波形租车公司可二次开发完善为一个真正可用的手机安卓端租车信息管理系统APP,测试运行界面如截图效果示。
    2022-10-15 17:55:03下载
    积分:1
  • Android Sensor检测程序
    可以检测系统内所有的sensor(例:重力,光感等),并读出数值
    2022-04-18 21:31:20下载
    积分:1
  • android viewpager 动态加载数据
    android 动态加载数据
    2015-03-16下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载