-
LockScreen
Android图形解锁程序,只有一个类,简单明了,功能齐全(Unlock Android graphics program, only one class, simple and clear, complete functions)
- 2013-10-14 10:36:00下载
- 积分:1
-
android 播放网络MP3 音乐播放
简单的基本功能,实测可行。 核心代码:package com.sharpandroid.music.activity;import java.io.IOException;import android.app.Activity;import android.os.Bundle;import android.util.Log;import android.view.View;import android.widget.Button;import android.widget.ImageButton;import android.widget.SeekBar;import android.widget.TextView;import com.sharpandroid.music.R;import com.sharpandroid.music.StreamingMediaPlayer;public class MediaPlayer extends Activity { private Button streamButton; private ImageButton playButton; private boolean isPlaying; private TextView playTime; private StreamingMediaPlayer audioStreamer; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); initControls(); } private void initControls() { playTime=(TextView) findViewById(R.id.playTime); streamButton = (Button) findViewById(R.id.button_stream); streamButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { startStreamingAudio(); }}); playButton = (ImageButton) findViewById(R.id.button_play); playButton.setEnabled(false); playButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { if (audioStreamer.getMediaPlayer().isPlaying()) { audioStreamer.getMediaPlayer().pause(); playButton.setImageResource(R.drawable.button_play); } else { audioStreamer.getMediaPlayer().start(); audioStreamer.startPlayProgressUpdater(); playButton.setImageResource(R.drawable.button_pause); } isPlaying = !isPlaying; }}); } private void startStreamingAudio() { try { final SeekBar progressBar = (SeekBar) findViewById(R.id.progress_bar); if ( audioStreamer != null) { audioStreamer.interrupt(); } audioStreamer = new StreamingMediaPlayer(this, playButton, streamButton, progressBar,playTime); audioStreamer.startStreaming("http://192.168.64.1/xa.mp3",5208, 216); streamButton.setEnabled(false); } catch (IOException e) { Log.e(getClass().getName(), "读取音乐出错!", e); } }}
- 2014-05-26下载
- 积分:1
-
bbs,能句一肖示不甘落后洒示不 沁不
bbs,能句一肖示不甘落后洒示不 沁不 -bulletin board, Xiao can sentence a show till the break onto Qin not discourage
- 2022-02-28 17:18:36下载
- 积分:1
-
java日历源码界面美观,对理解java思想体系,构建有一定帮助
java日历源码界面美观,对理解java思想体系,构建有一定帮助-java calendar FOSS beautiful interface, java ideology of understanding, we help build a
- 2023-06-08 11:50:03下载
- 积分:1
-
ssh比邻社交网络
ssh架构
类似于人人的社交网站
经测试无问题,只需将sql文件导入到数据库中就可以了。数据库是mysql
学校课设
- 2022-02-06 07:38:43下载
- 积分:1
-
基于UDP实现有客户端和服务器端的网络聊天室
基于UDP实现有客户端和服务器端的网络聊天室-UDP-based implementation with client and server-side Web chat rooms
- 2022-04-07 17:50:10下载
- 积分:1
-
tubiaoplug
说明: A set of graphics and chart controls based on Java and Android. At present, this set of charts mainly includes the following components: gird chart line charts, including single line charts and stick charts, including basic bar charts and special bar charts to support the display of K-line or candle stick-chart branches. Pie chart or pizza chart includes basic pie chart and segmented pie chart radar chart or spider web chart including area radar chart
- 2020-06-22 19:40:02下载
- 积分:1
-
Java realize RSA DES SHA encryption algorithm in order to complete a component,...
Java实现RSA DES SHA算法以完成一个加密组件,
Java工程,Eclipse开发,只要直接导入已经存在的工程到工作环境即可。-Java realize RSA DES SHA encryption algorithm in order to complete a component, Java project, Eclipse development, as long as the direct import of already existing projects to the work environment can be.
- 2023-07-25 09:50:03下载
- 积分:1
-
银行管理系统
功能点:开户、存款、取款、转账、查询、修改密码、销户。开户时需要储户输入个人信息,包括姓名,开户金额,完成后储户信息被保存到一个储户基本信息文件中,并反馈给储户开户后的账号,密码,开户金额,开户日期。存款时储户提供事先获得的账号及存储的金额(现金),将金额加到账户原有金额中,然后返回本次操作的信息包括存储的金额,账号中现有金额,操作时间,操作类型,操作金额,本次操作的具体时间。取款时储户提供事先获得的账号及要提取的金额(现金),将账号中原有的金额减去要提取的金额,将现金交给储户,然后返回本次操作的信息包括提取的金额,账号中现有的金额,操作时间。查询时储户提供账号,密码。返回查询信息包括账号,操作类型,操作金额,操作具体时间。修改密码时储户提供账号及密码,根据提示输入新密码两次(两次输入必须相同),完成后密码修改成功。转帐时储户提供事先获得转出账号,转出账号密码,转入账号,转帐金额,将转出账号中的金额减去转帐金额,转入账号中的金额加上转帐金额,然后返回本次操作的信息包括转帐的金额,转出账号现有的金额,本次操作的时间。销户时储户提供账号及密码,将账号中的金额全部取出,然后将本账号的信息从文件中删除,返回销户成功。
- 2022-03-16 04:07:32下载
- 积分:1
-
FaceDetection
这是一个用java语言编写的弹幕小程序,做出弹幕效果(This is a barrage applet written in Java language to make barrage effect.)
- 2018-07-09 11:38:06下载
- 积分:1