登录
首页 » Java » Android-Total(5)

Android-Total(5)

于 2013-07-12 发布 文件大小:994KB
0 149
下载积分: 1 下载次数: 7

代码说明:

  关于android开发技巧总汇系系列5,内容总结的不错,值得参考(Department on android development skills confluence Series 5, the content summary of good, valuable reference)

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

发表评论

0 个回复

  • java 为图片添加水印 示例
    为图片添加水印 【核心代码】 /*** 添加水印* @param imagePath      图片绝对路径* @param watermarkPath  水印图片绝对路径* @param position  水印图片位置* @return 生成水印图片的绝对路径*/public static String addWatermark(String imagePath, String watermarkPath, String position) {logger.info("为图片({})在位置{}添加水印({})", imagePath, position, watermarkPath);if (StringUtils.isNotBlank(imagePath) && StringUtils.isNotBlank(watermarkPath)) {File image = new File(imagePath);File watermark = new File(watermarkPath);Position pos = getPostion(position);if (image.isFile() && image.exists() && watermark.isFile()) {try {BufferedImage bi = ImageIO.read(image);Builder builder = Thumbnails.of(imagePath);BufferedImage watermarkImg = ImageIO.read(watermark);File newWatermark = null;// 原图的宽或高是水印图片宽或高的2倍及以上,则直接打上水印原图;否则缩略水印图片,以原图宽或高的二分之一if (bi.getWidth() / watermarkImg.getWidth()
    2017-10-13下载
    积分:1
  • ELamp
    Android灯应用源码,包括霓虹灯效果。(Android lamp application source code, including the neon light effect.)
    2012-11-16 11:50:00下载
    积分:1
  • Android 图片 异步加载
    源码实现附近android客户端图片的一步加载功能。 源码实现附近android客户端图片的一步加载功能。
    2022-02-02 15:50:53下载
    积分:1
  • Android-souce-code
    《Android开发艺术探索》书中源码,安卓进阶必备资料(source code for book Android Developers artistic exploration)
    2016-08-04 20:38:13下载
    积分:1
  • testvideoplayer
    Android初学者开发网上视频文件(3gp)用例(Android Beginners development of online video files (3gp) use case)
    2011-05-30 22:01:20下载
    积分:1
  • ilg_beta4
    v2.0 beta4 ·修正若干错误; ·修改部分界面; ·改进修改留言功能; ·防止写入HTML代码; ·改进修改留言功能;(v2.0 beta4 · Fixed a number of errors Modify the part of the interface · Improved modify message function Prevents write the HTML code · Improved modify message function )
    2016-03-02 22:19:59下载
    积分:1
  • 远程视频监控
    【核心代码】 public interface CameraSource {  static final String LOG_TAG = "camera";  /**  * Open the camera source for subsequent use via calls to capture().  *   * @return true if the camera source was successfully opened.  */  boolean open();  /**  * Close the camera source. Calling close on a closed CameraSource is  * permitted but has no effect. The camera source may be reopened after  * being closed.  */  void close();  /**  * The width of the captured image.  *   * @return the width of the capture in pixels  */  int getWidth();  /**  * The height of the captured image.  *   * @return the height of the capture in pixels  */  int getHeight();  /**  * Attempts to render the current camera view onto the supplied canvas.  * The capture will be rendered into the rectangle (0,0,width,height).  * Outstanding transformations on the canvas may alter this.  *   * @param canvas the canvas to which the captured pixel data will be written  * @return true iff a frame was successfully written to the canvas  */  boolean capture(Canvas canvas);  boolean saveImage(String savePath, String fileName); }
    2013-12-04下载
    积分:1
  • ISO7816d4Padding
    A padder that adds the padding according to the scheme referenced in ISO 7814-4 - scheme 2 from ISO 9797-1. The first byte is 0x80, rest is 0x00.
    2013-12-03 09:38:06下载
    积分:1
  • Intrusion Detection
    网络入侵检测
    2023-08-21 19:50:05下载
    积分:1
  • android 猜扑克 洗牌小游戏 实例 附完整源码下载
    android 猜扑克牌游戏 猜中有鼓励 供大家学习哦
    2013-03-16下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载