登录
首页 » Android » 请求网络资源

请求网络资源

于 2022-01-26 发布 文件大小:20.27 MB
0 160
下载积分: 2 下载次数: 1

代码说明:

利用url请求网络上特定的资源,包含全部代码,布局文件等

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

发表评论

0 个回复

  • Android rtmp推流库
    2016年是移动直播爆发年,不到半年的时间内无数移动直播App掀起了全民直播的热潮。然而个人觉得直播的门槛相对较高,从推流端到服务端器到播放端,无不需要专业的技术来支撑,仅仅推流端就有不少需要学习的知识.目前大部分直播采用的都是RTMP协议,我这里发了一个别人写的推流库,帮助大家更好的理解直播推流的过程,主要包括:音视频采集, 音视频编码, 数据打包, RTMP协议等相关的知识等.项目结构分的很清楚,各个模块也用协议进行了分离,方便大家学习不同的模块。
    2022-02-09 22:46:31下载
    积分:1
  • 图像识别
    public static Bitmap doPretreatment(Bitmap img) { setImgInfo(img); Bitmap grayImg = getGrayImg(); int[] p = new int[2]; int maxGrayValue = 0, minGrayValue = 255; // 计算最大及最小灰度值 getMinMaxGrayValue(p); minGrayValue = p[0]; maxGrayValue = p[1]; // 计算迭代法阈值 int T1 = getIterationHresholdValue(minGrayValue, maxGrayValue); // // 计算大津法阈值 // int T2 = getOtsuHresholdValue(minGrayValue, maxGrayValue); // // 计算最大熵法阈值 // int T3 = getMaxEntropytHresholdValue(minGrayValue, maxGrayValue); // int[] T = { T1, T2, T3 }; // // Bitmap result = selectBinarization(T); Bitmap result = binarization(T1); return result; }
    2022-01-25 19:56:39下载
    积分:1
  • 触摸屏坐标定位程序
    android 触摸屏坐标定位程序,可以精确定位坐标,使用java开发,希望对大家有用
    2023-01-12 19:00:04下载
    积分:1
  • Java DVD管理器 基础示例代码下载
    Java DVD管理器 基础示例代码下载
    2017-04-03下载
    积分:1
  • cycledemotwo
    制作一个在Android手机中用的圆形滑动菜单,像老式电话机一样的操作排列方式,有旋转效果。这仅是一个Android菜单,并不包括其它复杂的功能,有兴趣的下载源码包研究一下。(Making a circular slide Android phones using the menu, the same operation as the old-fashioned telephone arrangement, a rotating effect. This is just an Android menu does not include other complex functions, are interested in downloading source package look.)
    2014-04-17 13:44:02下载
    积分:1
  • android-developer-fundamentals
    说明:  android developer fundamentals course practicals
    2019-04-12 02:43:39下载
    积分:1
  • cocos2d-x android helloworld
    简单的cocos2d-x android helloworld 项目,用于学习cocos2d-x android 开发。如果环境配置好,可做适当的修改来编写新的android cocos2d-x程序。其中主要修改android.mk文件来修改需要编译的cpp文件。本demo使用VS编写,通过cygwin编译,最后在eclipse中成功发布到android手机上。
    2022-02-28 16:17:46下载
    积分:1
  • Media_Setting
    基于全志A10 android4.0平台,开发的GPIO控制程序,通过UI界面选择不同状态下GPIO口输出不同的电平状态,来实现由高低电平来控制外部设备;本例程主要实现5个IO口控制Audio和vedio的不同格式输出(Based on Allwinner A10 android4.0 platform, the development of the GPIO control procedures, through the UI interface to select a different state, a different GPIO port output level state, to achieve the high and low to control external devices This course mainly to achieve five IO port control Audio and vedio output different formats)
    2013-10-08 21:33:56下载
    积分:1
  • android 标签云 例子源码下载
    android 标签 tag 实例源码
    2014-11-30下载
    积分: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资源总数
  • 106914会员总数
  • 0今日下载