登录
首页 » Android » 星星投票组件及前台功能展现android源代码

星星投票组件及前台功能展现android源代码

于 2022-06-13 发布 文件大小:7.35 kB
0 197
下载积分: 2 下载次数: 1

代码说明:

星星投票组件及前台功能展现android源代码,类似现在很多网站上的投票功能,淘宝购物上面有,点击星星会变色,本源码主要实现这一功能,当然若需要投票成功,还需要数据库支持。部分代码如下所示:   public void onRatingChanged(RatingBar ratingBar, float rating,    boolean fromUser)   {    smallRatingBar.setRating(rating);    indicatorRatingBar.setRating(rating);    if (ratingBar.getId() == R.id.ratingbar1)    textView.setText("ratingbar1的分数:" + rating);    else    textView.setText("ratingbar2的分数:" + rating);   }

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

发表评论

0 个回复

  • webview 安卓demo示例 可以上传文件的webview
    webview 安卓demo示例  可以上传文件的webview  eclipse的工程文件
    2022-02-02 01:19:25下载
    积分:1
  • 938229
    实现各种滤波器和改进型,fir,can,wrap,conv,cfir()
    2017-12-31 13:29:40下载
    积分:1
  • 个人理财通
    一个android应用系统,用户可以对自己的资产进行系统管理。
    2022-02-21 19:15:36下载
    积分:1
  • Android 酒店预订管理系统APP+JSP服务端
    Android 酒店预订管理系统APP+JSP服务端,这是个系统程序,android与JSP共同实现,配合了数据库,比较综合。   jiudian文件夹内是JSP服务端的管理程序,Android 客户端程序在SummerHotel文件夹内,数据库文件在sql文件夹内。   酒店的管理预订可以在android端实现,提供给用户用,JSP端主要是管理者使用。
    2022-02-02 19:03:26下载
    积分:1
  • Android 使用语音识别的例子
    Android 使用语音识别的例子,下面是核心的代码:   private void startVoiceRecognitionActivity()   {   //通过Intent传递语音识别的模式   Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);   //语言模式和自由形式的语音识别   intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);   //提示语音开始   intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech recognition demo");   //开始执行我们的Intent、语音识别   startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);   }   当语音结束时的回调函数onActivityResult
    2023-06-19 16:45:03下载
    积分:1
  • Android-application-development
    本文详细在介绍了Android开发环境搭建的基础上,详述了Android应用程序的框架,UI系统的实现,以及2D,3D接口的控制和使用,是Android应用开发入门的经典教程。(This paper introduces in detail in the Android development environment to build, based on the details of the Android application framework, UI system implementation, as well as 2D, 3D interface to control and use, is a classic Android Application Development Tutorial.)
    2013-08-03 10:25:49下载
    积分:1
  • DialerPan
    设计的Android自定义View,模仿老电话式旋转拨号盘,按住数字键后绕着圆心进行旋转,当旋转到第三象限时,中心图片会改变,在第三象限抬起手,就会将按住的数字填入编辑框,也可点击编辑框后的后退按钮进行撤销操作,编辑完后点击中心图片会验证所填入密码是否正确。我当前设计的密码是123.(Design custom Android View, imitating the old rotary dial phone, hold the number key to rotate around the center of the circle, when the rotation to the third quadrant, the center picture will change, raised his hand in the third quadrant, they will be Press and hold the digital fill edit box can also click the Back button in the edit box for withdrawal after the operation, after editing click on the picture will validate the populated center of the password is correct. My current design code is 123.)
    2013-06-09 10:34:30下载
    积分:1
  • theKingOfMedicine
    安卓射击类小游戏,希望对安卓初学者研究有帮助(Andrews Shooting game, Andrews beginners)
    2020-12-21 15:39:08下载
    积分:1
  • stsndardrange
    用于测试Modbus通讯,工业软件的必备()
    2018-01-13 16:22:10下载
    积分:1
  • SequenceInputStream
    Sequence Input Stream Source Code for Andriod.
    2014-01-01 21:17:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载