登录
首页 » Java » android 拍照上传

android 拍照上传

于 2013-07-30 发布
0 246
下载积分: 1 下载次数: 0

代码说明:

android 拍照上传

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

发表评论

0 个回复

  • Android应用源码之afinal框架实现图片的简单异步缓存加载.rar
    【实例简介】
    2021-09-07 00:31:13下载
    积分: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
  • Android应用源码之androidGPS及WIFI基站定位坐标源码.rar
    【实例简介】
    2021-09-07 00:31:13下载
    积分:1
  • android volley简单使用 示例代码
    android volley简单使用 示例代码
    2015-04-22下载
    积分:1
  • A lightweight, well designed metronome app for Android
    Metronome is a lightweight, well designed metronome app for Android focused on offering a consistent and usable design without limiting functionality.
    2018-01-01下载
    积分:1
  • 利用MATLAB进行弹道仿真源代码
    不可多得的导弹仿真源程序 非常的经典 绝对不会后悔
    2020-05-25下载
    积分:1
  • Android 基于author2.0的新浪微博 例子源码,含侧边栏菜单类库源码
    基于author2.0的新浪微博 例子源码,含侧边栏菜单类库源码
    2014-09-22下载
    积分:1
  • Android应用源码随手记安卓记账项目
    Android应用源码随手记安卓记账项目
    2015-03-09下载
    积分:1
  • android Txt文本阅读器
    实现在android手机上 阅读Txt文本
    2014-09-26下载
    积分:1
  • 安卓 zexlistview 实例源码下载
    安卓 zexlistview 实例源码下载
    2015-02-08下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载