導航:首頁 > 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、節日計時, 節日還有多久? 過年、勞動節、國慶、元旦統統入我法眼!

閱讀全文

與安卓計算小應用相關的資料

熱點內容
文件句柄取路徑 瀏覽:389
怎麼把ipad的文件傳到電腦 瀏覽:534
cad列印怎麼去文件名水印 瀏覽:459
怎麼更改idea用戶數據配置 瀏覽:526
圖片如何形成代碼 瀏覽:817
蘋果手機wps怎麼壓縮圖片文件 瀏覽:963
duilibjs 瀏覽:230
小學生怎麼交編程作業 瀏覽:85
foxitpdfeditor密鑰文件 瀏覽:893
施工方案批復在竣工里是什麼文件 瀏覽:412
itunes驗證密碼怎麼設置 瀏覽:819
文件復制了怎麼刪除不了怎麼辦 瀏覽:230
wordpress主題網址導航 瀏覽:715
一年級用哪些app好 瀏覽:299
拍照查詢狗狗什麼品種的app 瀏覽:496
游戲數據保留多少天 瀏覽:155
歡樂足球安卓漢化 瀏覽:12
學編程最開始學什麼語言 瀏覽:976
任務欄上面的qq對話窗口 瀏覽:757
get為什麼不能傳送太長的數據 瀏覽:871

友情鏈接