登录
首页 » Android » Android 音乐播放器,也不失商业项目

Android 音乐播放器,也不失商业项目

于 2022-01-26 发布 文件大小:618.12 kB
0 173
下载积分: 2 下载次数: 1

代码说明:

Android 音乐播放器,不输于商业项目

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

发表评论

0 个回复

  • 找朋友
    使用  gps 源码发现朋友的位置。 你可以协调约会,聚会等。你可以通过手机在地图上看到朋友的位置,如果他们允许的话。
    2023-04-12 05:50:04下载
    积分:1
  • Android 水波风格圆形进度条
    Android制作水波动画效果的圆形进度条,下面是相关的定义代码:   private Paint mPaint; //绘制波形   private Paint mCirclePaint; //绘制圆形   private Path mPath; //记录波形的路径   private int width; //自定义view的宽度   private int height; //自定义view的高度   private int mCirclePaintRadius; //绘制圆形的半径   private int mStepSize; //绘制波形的完整周期的宽度   private int mMoveStartX; //绘制波形的初始位置,相当于震动的频率   private int mSinMax; //绘制波形的振幅   private int count = 3; //需要绘制完整波形的个数,个数越多,波形的周期越小   private Canvas mCircleCanvas;   private Bitmap mDest;   private int mCurrentProgress; //当前的进度   private boolean shouldChange; //用于控制正弦线的上升和下降   private Paint mTextPaint;   super.onDraw(canvas);   //线绘制一个实心圆   mCircleCanvas.drawCircle(width / 2, height / 2, mCirclePaintRadius, mCirclePaint);   //每次绘制记得调用reset()方法,否则当前绘制会和上次的绘制重叠   mPath.reset();   //下面的moveTo,lineTo,lineTo,lineTo主要是让当前正弦线的首位相接
    2022-02-14 04:04:38下载
    积分:1
  • Android视频压缩
    Android视频压缩技Android视频压缩技Android视频压缩技Android视频压缩技
    2023-08-13 18:00:03下载
    积分:1
  • BoolStack
    Simple stack for boolean values for Andriod.
    2013-11-18 21:39:06下载
    积分:1
  • Beginning_Android_2
    说明:  最新Android入门书籍 Beginning Android 2(The latest ebook of Android Development, Beginning Android 2 Android.)
    2010-05-01 13:28:18下载
    积分:1
  • jnidemo
    convert bmp img to png by using jni in android
    2015-03-19 13:40:57下载
    积分:1
  • android 异步 执行 任务 例子 附讲解
    Rules::The AsyncTask instance must be created in UI thread. .execute must be invoked on the UI thread.Never call  objMyTask.onPreExecute(), objMyTask.doInBackground(), objMyTask.onProgressUpdate(),  objMyTask.onPostExecute manually.The AsyncTask can be executed only once (an exception will be thrown if a second execution is attempted.)AsyncTask have Four Main Method... onPreExecute()  doInBackground() onProgressUpdate() onPostExecute()  onPreExecute-This method is called first when you start AsyncTask using objAsync.execute().And mostly this method is use for initializing dialog(ProgressDialog,CustomDialog) and showing. doInBackground-The main purpose of AsyncTask is accomplished by this method.Any non-UI thread process is running in this method.Such as Rss Feed Reader,Image and video Uploading and Downloading.You cant handle your View in this method.Because this method is non-UI thread.While any background process is running if you want to handle UI therea are  onProgressUpdate method. after completion of process this method send result to OnPostExecute. onProgressUpdate-While backgrounding task is running ,you can handle your UI using this method .Such as status of downloading or uploading task.and this method is called from  doInBackground.Using publishProgress() you can call onProgressUpdate method to update UI while process is running. onPostExecute -This method is called after the background computation finishes.The result of background process in passed in this method as parameters.And now you can dismiss progress dialog ,to indicate that background task is completed. You can cancel AsyncTask using objAsyncTask.cancel().then you just check in doInBackground, if (isCancelled()) { break; } else {        //continue... } See this Image For more Clear.
    2013-07-05下载
    积分:1
  • 安卓 AES字符串加密
    安卓手机端关于字符串的aes加密,工作模式为BCB,分组密码有五种工作体制:1.电码本模式(Electronic Codebook Book (ECB));2.密码分组链接模式(Cipher Block Chaining (CBC));3.计算器模式(Counter (CTR));4.密码反馈模式(Cipher FeedBack (CFB));5.输出反馈模式(Output FeedBack (OFB))。预制了随机数种子,本代码简单易懂,是学习分组密码算法的好例子,在手机端可实现简单文本加密
    2023-07-06 12:30:03下载
    积分:1
  • Android 应用程序自动升级 更新至新版本 例子 有截图 附完整源码
    由于Android项目开源所致,市面上出现了N多安卓软件市场。为了让我们开发的软件有更多的用户使用,我们需要向N多市场发布,软件升级后,我们也必须到安卓市场上进行更新,给我们增加了工作量。因此我们有必要给我们的Android应用增加自动更新的功能。既然实现自动更新,我们首先必须让我们的应用知道是否存在新版本的软件,因此我们可以在自己的网站上放置配置文件,存放软件的版本信息: 2 baidu_xinwen_1.1.0 http://gdown.baidu.com/data/wisegame/f98d235e39e29031/baiduxinwen.apk在这里我使用的是XML文件,方便读取。由于XML文件内容比较少,因此可通过DOM方式进行文件的解析public class ParseXmlService{ public HashMap parseXml(InputStream inStream) throws Exception { HashMap hashMap = new HashMap(); // 实例化一个文档构建器工厂 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); // 通过文档构建器工厂获取一个文档构建器 DocumentBuilder builder = factory.newDocumentBuilder(); // 通过文档通过文档构建器构建一个文档实例 Document document = builder.parse(inStream); //获取XML文件根节点 Element root = document.getDocumentElement(); //获得所有子节点 NodeList childNodes = root.getChildNodes(); for (int j = 0; j < childNodes.getLength(); j ) { //遍历子节点 Node childNode = (Node) childNodes.item(j); if (childNode.getNodeType() == Node.ELEMENT_NODE) { Element childElement = (Element) childNode; //版本号 if ("version".equals(childElement.getNodeName())) { hashMap.put("version",childElement.getFirstChild().getNodeValue()); } //软件名称 else if (("name".equals(childElement.getNodeName()))) { hashMap.put("name",childElement.getFirstChild().getNodeValue()); } //下载地址 else if (("url".equals(childElement.getNodeName()))) { hashMap.put("url",childElement.getFirstChild().getNodeValue()); } } } return hashMap; }}通过parseXml()方法,我们可以获取服务器上应用的版本、文件名以及下载地址。紧接着我们就需要获取到我们手机上应用的版本信息:/** * 获取软件版本号 * * @param context * @return */private int getVersionCode(Context context){ int versionCode = 0; try { // 获取软件版本号, versionCode = context.getPackageManager().getPackageInfo("com.szy.update", 0).versionCode; } catch (NameNotFoundException e) { e.printStackTrace(); } return versionCode;}           通过该方法我们获取到的versionCode对应AndroidManifest.xml下android:versionCode。android:versionCode和android:versionName两个属性分别表示版本号,版本名称。versionCode是整数型,而versionName是字符串。由于versionName是给用户看的,不太容易比较大小,升级检查时,就可以检查versionCode。把获取到的手机上应用版本与服务器端的版本进行比较,应用就可以判断处是否需要更新软件。处理流程                                  
    2013-07-06下载
    积分:1
  • C语言编写扫雷游戏
    C语言编写扫雷游戏
    2020-12-04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载