登录
首页 » java » 计算胖瘦标准

计算胖瘦标准

于 2022-04-10 发布 文件大小:1.27 MB
0 74
下载积分: 2 下载次数: 1

代码说明:

package com.example.A_5_5; import java.text.DecimalFormat; import java.text.NumberFormat; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.TextView; public class ResultActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.result); //设置该Activity使用的布局 TextView sex=(TextView)findViewById(R.id.sex); //获取显示性别的文本框 TextView stature=(TextView)findViewById(R.id.stature); //获取显示身高的文本框 TextView weight=(TextView)findViewById(R.id.weight); //获取显示标准体重的文本框 Intent intent=getIntent(); //获取Intent对象 Bundle bundle=intent.getExtras(); //获取传递的数据包 Info info=(Info)bundle.getSerializable("info"); //获取一个可序列化的info对象 sex.setText("您是一位"+info.getSex()+"士"); //获取性别并显示到相应文本框中

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

发表评论

0 个回复

  • english is pool
    java对CA方面的编程,有实例, java对CA方面的编程,有实例-english is pool
    2023-02-13 17:05:04下载
    积分:1
  • JavaApplication1
    This program operate mathematic functions on numbers
    2014-01-08 03:05:52下载
    积分:1
  • Https
    关于http协议的      helloServlet      web.HelloServlet          servletdate      web.Servletdate          helloServlet      /hello          servletdate      /date
    2023-05-19 08:45:03下载
    积分:1
  • Android.Application.Testing.Guide
    android测试,英文版的,写的很基础(for android test)
    2013-09-22 12:28:52下载
    积分:1
  • ssm
    使用ssm实现超市订单系统增删查 三大框架是Java中的重点每个人的基础不同应在不同的层次学习  是自己的能力来更上一层楼 Java语言是世界上最大的编程语言同时他也是最早的编程语言 现在许多的 软件编程需要的语言都是Java 
    2023-03-08 01:45:04下载
    积分:1
  • android使用JSON进行网络数据交换(服务端、客户端)的实现
    android使用JSON进行网络数据交换(服务端、客户端)的实现
    2015-04-17下载
    积分:1
  • 手机纸牌游戏,用j2me制作,一款手机上的纸牌游戏,很有意思,非常有学习价值...
    手机纸牌游戏,用j2me制作,一款手机上的纸牌游戏,很有意思,非常有学习价值-Mobile card game, with j2me production, a cell phone and the card game, very interesting, very much learning the value of
    2023-06-16 14:10:04下载
    积分:1
  • math-spectral-norm
    The Great Computer Language Shootout for Java Script.
    2014-02-10 14:20:22下载
    积分:1
  • Orong_tbzs
    详细介绍 - [ 聚融网贷款投标助手源码 ] 聚融网贷款投标助手源码是一个安卓版本的聚融网贷款投标助手项目源码,一般公司或者开发者都不会把这类内部使用的项目源码泄漏出来,这个项目是依托于他的官网的orong.cn,但是现在官网挂掉了,估计整个公司跑路了才会分享出来,因为项目缺少部分图片资源所以原项目会报错,我使用资源目录下的其他图片文件对缺少的图片资源进行了替代,可能图片显示会有错误但是整个项目可以正常的运行起来(Detailed financial network loan tender assistant source] Poly financial loans Network Bidding Assistant source is an Android version of the fusion of the net loan bidding assistant project source code, companies or developers won t leak out the internal use of the project source code. The project is relying on his official website orong.cn, but now official website hang, it is estimated that the company running the will share out, because the items missing parts of the picture resources so the original project will misstatement, I use resource directory under the other picture file to replace the missing image resources may picture shows there will be mistakes but the entire project can be normal operation)
    2016-05-30 13:36:23下载
    积分:1
  • Mutiroot
    算法设计的一个作业,输入一个正整数,把它的2~36进制形式打印出来(Algorithm design of a job, enter a positive integer, it s 2 to 36 hexadecimal form printed )
    2010-12-28 10:33:46下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载