-
Android实现自动、手动更新应用
代码简单、易懂、实用。
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.DialogInterface.OnClickListener;
import android.content.pm.PackageManager.NameNotFoundException;
import android.net.Uri;
import android.os.Environment;
import android.os.Handler;
import android.os.Message;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.Toast;
/**
*@author coolszy
*@date 2012-4-26
*@blog http://blog.92coding.com
*/
public class UpdateManager
{
/
- 2022-03-30 02:32:04下载
- 积分:1
-
模仿火的运动,用vertex shader 和 pixel shader编写
模仿火的运动,用vertex shader 和 pixel shader编写-imitation fire campaigns, the vertex shader and pixel shader prepared
- 2022-02-05 00:32:13下载
- 积分:1
-
大棚环境监测系统上位机
使用qtCreator编写的上位机软件用于接收单片机传来的数据。并且可以实时显示环境状态
- 2022-03-15 21:01:17下载
- 积分:1
-
51/STM32控制AD9850
应用背景AD9850 采用32 位的相位累加器将信号截断成14 位输入到正弦查询表,查询表的输出再被截断成10 位后输入到DAC,DAC 再输出两个互补的电流。DAC 满量程输出电流通过一个外接电阻setR调节,调节关系为setI=32(1.148V/RSET),setR的典型值是3.9K。将DAC 的输出经低通滤波后接到AD9850 内部的高速
比较器上即可直接输出一个抖动很小的方波。关键技术本代码采用的是STM32和51控制AD9850波形发生器,正弦波产生过程为:频率设置,数据处理,然后控制DDS芯片完成各种频率的正弦波产生;调幅波产生过程为:通过调制系数的设置,控制D/A转换器输出,可得到不同幅值的调制波,与载波相乘来实现调幅波的产生;PSK、ASK产生:通过MCU对模拟开关的控制来完成PSK、ASK的产生。调频信号产生过程:通过A/D转换器采集调制信号,然后根据调制信号的幅度计算出频偏,把频偏数据下载到DDS即可实现调频信号的产生。
- 2022-01-24 17:37:10下载
- 积分:1
-
one
one-time pad的算法有以下要求:1、密钥必须随机产生2、密钥不能重复使用3、密钥和密文的长度是一样的。-one-time pad algorithm has the following requirements : 1, key must produce two random, not repeated use of key three, key and the ciphertext is the same length.
- 2022-04-16 09:49:50下载
- 积分:1
-
vc++变的移动图形,可以使圆沿着正弦移动
vc++变的移动图形,可以使圆沿着正弦移动-vc change the mobile graphics can make mobile Yuan along sinusoidal
- 2022-09-17 23:20:03下载
- 积分:1
-
ZOO压缩软件C语言开发源程序 ,都是源代码,对学习C语言有一定的帮助....
ZOO压缩软件C语言开发源程序 ,都是源代码,对学习C语言有一定的帮助.-ZOO compression software developed C language source code, are the source code for learning C language certainly helps.
- 2022-12-30 21:35:03下载
- 积分:1
-
由小飞刀策划制作,文章分为小飞刀从网络收集和组织小刀会朋友编写两部分。 花去我几个不眠之夜,倾心制作,终于20日准时完成第一版。这是我第一次做CHM,边学边做,...
由小飞刀策划制作,文章分为小飞刀从网络收集和组织小刀会朋友编写两部分。 花去我几个不眠之夜,倾心制作,终于20日准时完成第一版。这是我第一次做CHM,边学边做,看到完成后的效果还不错 ^_* 感觉很好,希望你也喜欢。以后可能没什么时间了,(所以才完成得这么急)但有机会一定会对本手册做最新资料 更新工作,期待~-The planning and production by small Flying, the article is divided into small throwing knives from the network to gather and organize the preparation of a knife will be a friend in two parts. I spent a few sleepless nights, cordial making, was finally completed on time and on the 20th edition. This is my first time doing CHM, learning by doing and see the completed results were pretty good ^ _* feel good, I hope you, too. May be little time later, (it was such a rush to complete), but some will have the opportunity to do the latest update of the manual work, looking forward to ~
- 2022-07-02 07:18:11下载
- 积分:1
-
包心菜铬镍钢难道搞活表示时光哈巴狗后不管何必不不长bgnbb ...
包心菜铬镍钢难道搞活表示时光哈巴狗后不管何必不不长bgnbb -cabbage chrome-nickel steel, said Time Is enliven lap dogs, no matter why not not long bgnbb
- 2022-02-03 00:44:14下载
- 积分:1
-
linklist
线性表的特殊形式――链表 一个类封装另一个类 -linklist
- 2022-01-26 03:32:28下载
- 积分:1