导航:首页 > APP软件 > 安卓计算小应用

安卓计算小应用

发布时间:2021-11-11 19:04:26

① 推荐个可开3次方的安卓计算器软件

任何安卓系统自带的计算器都行。
比如开1000
1000^(1/3)
在计算器的第二页有^这个符号,意思是“X次方”
(1/3)就是“1000的三分之一次方”,也就是开三次。

② 有没有安卓手机计算字数的软件

有没有安卓手机计算字数的软件?根据你的需求,推荐你使用敬业签这款便签软件,因为它可以自动统计内容的字数,并显示出来。所以你只需将内容复制到敬业签的输入框内,便可以在输入框的右下角查看到这段内容的字数。
如果你想看书中或截图中内容段落的字数,可以使用敬业签的图片文字识别功能,通过拍照的方式将书中或者截图的内容提取到敬业签的输入框内,此时你就可以查看到内容的字数。

③ 开发一个简易的计算器APP程序 Android源代码

下面是效果展示:

复制代码代码如下:


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="s/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tvResult"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:height="50dp"
android:text="@string/tvResult"
/>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/btnBackspace"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="150dp"
android:layout_marginLeft="10dp"
android:text="@string/btnbackspace"/>
<Button
android:id="@+id/btnCE"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="150dp"
android:text="@string/btnCE"/>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/btn7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:width="75dp"
android:text="@string/btn7"/>
<Button
android:id="@+id/btn8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btn8"/>
<Button
android:id="@+id/btn9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btn9"/>
<Button
android:id="@+id/btnDiv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btnDiv"/>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/btn4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:width="75dp"
android:text="@string/btn4"/>
<Button
android:id="@+id/btn5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btn5"/>
<Button
android:id="@+id/btn6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btn6"/>
<Button
android:id="@+id/btnMul"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btnMul"/>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/btn1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:width="75dp"
android:text="@string/btn1"/>
<Button
android:id="@+id/btn2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btn2"/>
<Button
android:id="@+id/btn3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btn3"/>
<Button
android:id="@+id/btnAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btnAdd"/>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/btn0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:width="75dp"
android:text="@string/btn0"/>
<Button
android:id="@+id/btnC"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btnC"/>
<Button
android:id="@+id/btnEqu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btnEqu"/>
<Button
android:id="@+id/btnSub"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="75dp"
android:text="@string/btnSub"/>
</LinearLayout>
</LinearLayout>

复制代码代码如下:


package com.example.week2;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import android.app.Activity;

public class MainActivity extends Activity implements OnClickListener{

//声明一些控件
Button btn0=null;
Button btn1=null;
Button btn2=null;
Button btn3=null;
Button btn4=null;
Button btn5=null;
Button btn6=null;
Button btn7=null;
Button btn8=null;
Button btn9=null;
Button btnBackspace=null;
Button btnCE=null;
Button btnC=null;
Button btnAdd=null;
Button btnSub=null;
Button btnMul=null;
Button btnDiv=null;
Button btnEqu=null;
TextView tvResult=null;
//声明两个参数。接收tvResult前后的值
double num1=0,num2=0;
double Result=0;//计算结果
int op=0;//判断操作数,
boolean isClickEqu=false;//判断是否按了“=”按钮

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
//从布局文件中获取控件,
btn0=(Button)findViewById(R.id.btn0);
btn1=(Button)findViewById(R.id.btn1);
btn2=(Button)findViewById(R.id.btn2);
btn3=(Button)findViewById(R.id.btn3);
btn4=(Button)findViewById(R.id.btn4);
btn5=(Button)findViewById(R.id.btn5);
btn6=(Button)findViewById(R.id.btn6);
btn7=(Button)findViewById(R.id.btn7);
btn8=(Button)findViewById(R.id.btn8);
btn9=(Button)findViewById(R.id.btn9);
btnBackspace=(Button)findViewById(R.id.btnBackspace);
btnCE=(Button)findViewById(R.id.btnCE);
btnC=(Button)findViewById(R.id.btnC);
btnEqu=(Button)findViewById(R.id.btnEqu);
btnAdd=(Button)findViewById(R.id.btnAdd);
btnSub=(Button)findViewById(R.id.btnSub);
btnMul=(Button)findViewById(R.id.btnMul);
btnDiv=(Button)findViewById(R.id.btnDiv);
tvResult=(TextView)findViewById(R.id.tvResult);

//添加监听
btnBackspace.setOnClickListener(this);
btnCE.setOnClickListener(this);

btn0.setOnClickListener(this);
btn1.setOnClickListener(this);
btn2.setOnClickListener(this);
btn3.setOnClickListener(this);
btn4.setOnClickListener(this);
btn5.setOnClickListener(this);
btn6.setOnClickListener(this);
btn7.setOnClickListener(this);
btn8.setOnClickListener(this);
btn9.setOnClickListener(this);


btnAdd.setOnClickListener(this);
btnSub.setOnClickListener(this);
btnMul.setOnClickListener(this);
btnDiv.setOnClickListener(this);
btnEqu.setOnClickListener(this);
}
@Override
public void onClick(View v) {
switch (v.getId()) {
//btnBackspace和CE--------------------
case R.id.btnBackspace:
String myStr=tvResult.getText().toString();
try {
tvResult.setText(myStr.substring(0, myStr.length()-1));
} catch (Exception e) {
tvResult.setText("");
}

break;
case R.id.btnCE:
tvResult.setText(null);
break;

//btn0--9---------------------------
case R.id.btn0:
if(isClickEqu)
{
tvResult.setText(null);
isClickEqu=false;
}
String myString=tvResult.getText().toString();
myString+="0";
tvResult.setText(myString);
break;
case R.id.btn1:
if(isClickEqu)
{
tvResult.setText(null);
isClickEqu=false;
}
String myString1=tvResult.getText().toString();
myString1+="1";
tvResult.setText(myString1);
break;
case R.id.btn2:
if(isClickEqu)
{
tvResult.setText(null);
isClickEqu=false;
}
String myString2=tvResult.getText().toString();
myString2+="2";
tvResult.setText(myString2);
break;
case R.id.btn3:
if(isClickEqu)
{
tvResult.setText(null);
isClickEqu=false;
}
String myString3=tvResult.getText().toString();
myString3+="3";
tvResult.setText(myString3);
break;
cas

④ 开发一个安卓计算器小程序需要哪些内容

简单的给你说一下:如果在代码没有任何问题时;应该是键位冲突了。我这边没有启动,只能大致的说一下流程 你可以去elipse里面的windows菜单栏下,去找一下,随便试点一下,应该能够点到 很多键位的地方,然后在那里面修改一下就好了。

⑤ 安卓手机如何才能查看已安装在手机上的应用大小

手机查看内存方法:智能管理器(内存管理器)-储存空间/内存。
早期手机如需查询内存:设置-存储-查看话机内存;长按Home键-进入任务管理器-RAM状态-查看运行内存。
提示:如果手机话机内存占用量较大,手机内存计算时间可能会较长一些。

⑥ 适合安卓手机好用的计算器软件有哪些

一般来说所谓的计算器软件,这个一般都是手机自带的,而且自带的计算器也是使用比较多的,在要下载第三方的计算器软件还是一样的功能,不建议在下载。

⑦ 安卓手机上有没有什么选择公式,输入数字就能计算出结果的软件

有,公式编辑器就可以

就是可以先输入公式,然后在输入变量就可以直接计算出结果了,应该是你想找的这种

这款软件应用宝里就有,你要是用的到的话去它里面下载就行了

用它下载软件也蛮方便的,打开应用宝之后,连接手机到电脑上就可以下载这款软件了

或者是直接用手机端的应用宝下载也行

它里面的软件算是很全的了,平时想找软件的话也可以用它来找,输入关键词搜索就行

如果有帮到你,望采纳一下吧

⑧ 求安卓可以计算日期,纪念日的软件

如果想找一款可以计算日期的提醒软件,不妨直接用敬业签来记录纪念日提醒。

  1. 云便签敬业签可在Windows电脑、安卓手机、苹果手机、web端、iPad端以及苹果Mac端多端同步记事内容;

  2. 针对记录的提醒事件,敬业签可设置单次定时提醒、周期循环提醒、重要事项间隔时间提醒和到期延时提醒;

  3. 当记录的纪念日事件到期后,多端登录的敬业签可随时提醒。

⑨ 有没有安卓的能计算时间的APP

计时人生APP应用介绍:

1、强大的时间记录功能, 比如目标、考试、游玩、假期。 通过倒计时的方式帮助您记录即将发生的事情。

2、为您保存已经发生后的事情, 为您统计逝去的日子。

3、纪念日记录, 女朋友的交往日、结婚纪念日、首次迈出社会的舞台、难以忘怀的经历? 统统保存下来!

4、节日计时, 节日还有多久? 过年、劳动节、国庆、元旦统统入我法眼!

阅读全文

与安卓计算小应用相关的资料

热点内容
30岁程序员 浏览:51
linux文件恢复软件 浏览:49
亚索登录版本 浏览:501
u盘文件索引工具 浏览:121
iphone序列号作假 浏览:272
cad图文件太大如何变小 浏览:23
excel文件公式多一保存就未响应 浏览:693
如何打印某个文件夹下的所有word 浏览:447
linuxmakefile解读 浏览:580
iphone手机http代理 浏览:733
代码实现图片幻灯播放 浏览:960
360能恢复u盘文件吗 浏览:588
iphone6多少内存好 浏览:900
cad打开压缩文件 浏览:608
多媒体文件有哪些格式 浏览:68
五根线的网络水晶头怎么接 浏览:74
手机app怎么退回之前版本 浏览:782
文件句柄取路径 浏览:389
怎么把ipad的文件传到电脑 浏览:534
cad打印怎么去文件名水印 浏览:459

友情链接