-
高仿网页客户端的导航条
高仿网页客户端的导航条,动画滑动效果
- 2014-01-06下载
- 积分:1
-
android 项目 记录日志例子
android 项目 记录日志例子
- 2014-09-17下载
- 积分:1
-
串口通讯实例(java swing)
【实例简介】实现了,多个监听多个串口设备连接
- 2021-09-27 00:31:17下载
- 积分:1
-
android usb 通讯实例源码下载
源码在压缩包中,解压几次就能看到,android usb 通讯例子
- 2014-08-08下载
- 积分: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
-
用jfreechart实现的动态曲线
用jfreechart实现动态曲线,有系统产生随机数,然后画出曲线,并能实时显示曲线
- 2019-07-19下载
- 积分:1
-
百度地图定位DEMO
百度官方地位DEMO
- 2015-06-13下载
- 积分:1
-
android 白天黑夜模式切换例子源码
android 白天黑夜模式切换例子源码
- 2014-09-28下载
- 积分:1
-
android 静态壁纸实例源码下载
一款还不错的静态壁纸代码 核心代码:package com.example.wallpaperchange;import android.os.Bundle;import android.app.Activity;import android.app.AlarmManager;import android.app.PendingIntent;import android.app.Service;import android.content.Intent;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;import android.widget.Toast; public class MainActivity extends Activity { AlarmManager aManager; Button start,stop; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); start = (Button)findViewById(R.id.start); stop = (Button)findViewById(R.id.stop); aManager = (AlarmManager)getSystemService(Service.ALARM_SERVICE); //指定ChangeService组件 Intent intent = new Intent(MainActivity.this,ChangeService.class); //创建PendingIntent对象 final PendingIntent pi = PendingIntent.getService( MainActivity.this, 0, intent, 0); start.setOnClickListener(new OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub aManager.setRepeating(AlarmManager.RTC_WAKEUP, 0, 5000, pi); start.setEnabled(false); stop.setEnabled(true); Toast.makeText(MainActivity.this, "壁纸定时更换启动成功", 5000).show(); } }); stop.setOnClickListener(new OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub start.setEnabled(true); stop.setEnabled(false); aManager.cancel(pi); } }); } }
- 2014-06-03下载
- 积分:1
-
(高仿)今日头条 网易 新闻客户端 源码 完善版
已经是一个完整的客户端了,在将进一步优化完善后就和可以了。大体描述: 上次,已经完成了头部新闻分类栏目的拖动效果。 这篇文章是继续去完善APP 今日头条 这个新闻阅读器的其他功能。 这次所实现的功能清单: 1.通过SlidingMenu实现左右侧拉菜单效果 2.通过重写CompoundButton实现--昼夜模式切换按钮效果。 3.通过PopupWindow控件实现了列表中更多菜单弹框操作效果。 4.通过universal-image-loader库实现了图片的加载和缓存。 5.通过列表中各个属性的判断,实现了头条新闻列表的相应布局和显示效果。
- 2014-11-19下载
- 积分:1