登录
首页 » Android » 手电筒源码

手电筒源码

于 2022-10-27 发布 文件大小:1.42 MB
0 103
下载积分: 2 下载次数: 1

代码说明:

手电筒源码,调用相机闪光灯,实现两次返回键退出程序功能,源码里有相应注释,欢迎大家下载

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

发表评论

0 个回复

  • gps 定位
     这个经过测试,解压放到android开发环境下就可用                                                   
    2023-07-26 18:15:03下载
    积分:1
  • SimpleDateFormatTest
    Simple Date Format Test Source Code for Andriod.
    2013-10-24 10:53:27下载
    积分:1
  • AutoDictionary
    Stores new words temporarily until they are promoted to the user dictionary for longevity for Andriod.
    2013-10-23 23:04:04下载
    积分:1
  • android仿微信朋友圈
    android仿微信朋友圈,内容使用模拟数据。有评论,点赞,图片内容等功能。实现了微信朋友圈的基本UI,细节还需要自己打磨。
    2022-03-26 01:57:02下载
    积分:1
  • 自创的GridView
    长按可以弹出菜单,滑动选择,离开消失,可以给初学者参考。
    2022-10-14 16:05:02下载
    积分:1
  • IconFade仿微信主界面滑动和文字渐变-Android源码
    Android IconFade源码,仿微信主界面滑动效果,另外还实现了微信主界面底部的菜单和文字渐变效果,演示了制作微信界面需要创建的布局集合,包括了图标集合、文字集合、微信菜单索引、联系人菜单索引、发现菜单索引、我菜单索引和当前菜单索引,还定义了一些参数项,比如:   srcIndex 失去焦点的索引   destIndex 选中的索引   ratio 透明的比例   在手机上模拟运行后,手指在屏幕上左右滑动,可按照微信底部菜单的顺序切换界面,类似于TAB切换内容的效果。运行效果可参见截图所示。
    2022-03-02 08:21:32下载
    积分:1
  • Android MyThread线程用法实例 切换图片
    Android 使用MyThread创建线程,这是用法实例源码,本例中使用线程来控制切换图片   public void onCreate(Bundle savedInstanceState) {//重写的onCreate方法    super.onCreate(savedInstanceState);    setContentView(R.layout.main);//设置当前的用户界面    myImageView = (ImageView) findViewById(R.id.myImageView);//得到ImageView的引用    MyThread myThread = new MyThread(this);//初始化MyThread线程    myThread.start();//启动线程   }   public void run() {//重写的run方法    while(true){//循环    activity.myHandler.sendEmptyMessage((what++)%4);//发送消息    try{    Thread.sleep(2000);//睡眠    }    catch(Exception e){//捕获异常    e.printStackTrace();//打印异常信息    }    }   }
    2022-03-24 06:51:47下载
    积分:1
  • baidumap导航例子
    通过baidumap导航的各种详细实例。
    2014-03-28下载
    积分: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
  • Android 生活壁纸
    这是来自于 GITHUB 的 Android 生活壁纸代码。 根据您当前的位置情况下,背景选择从 Flickr。数以百万计的世界位置和几十亿张照片,你会发现? 此版本是目前为 Nexus One 进行优化。我们会很快的目标更多的电话。
    2022-08-11 10:49:51下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载