Calculadora Gigante Básica Application icon

Calculadora Gigante Básica 2

1 MB / 10+ Downloads / Rating 2.2 - 6 reviews


See previous versions

Calculadora Gigante Básica, developed and published by App MoobileApps, has released its latest version, 2, on 2015-07-04. This app falls under the Education category on the Google Play Store and has achieved over 1000 installs. It currently holds an overall rating of 2.2, based on 6 reviews.

Calculadora Gigante Básica APK available on this page is compatible with all Android devices that meet the required specifications (Android 4.0+). It can also be installed on PC and Mac using an Android emulator such as Bluestacks, LDPlayer, and others.

Read More

App Screenshot

App Screenshot

App Details

Package name: novatecquerino2.eduardodavila.app.novatecquerino2

Updated: 10 years ago

Developer Name: App MoobileApps

Category: Education

New features: Show more

Installation Instructions

This article outlines two straightforward methods for installing Calculadora Gigante Básica on PC Windows and Mac.

Using BlueStacks

  1. Download the APK/XAPK file from this page.
  2. Install BlueStacks by visiting http://bluestacks.com.
  3. Open the APK/XAPK file by double-clicking it. This action will launch BlueStacks and begin the application's installation. If the APK file does not automatically open with BlueStacks, right-click on it and select 'Open with...', then navigate to BlueStacks. Alternatively, you can drag-and-drop the APK file onto the BlueStacks home screen.
  4. Wait a few seconds for the installation to complete. Once done, the installed app will appear on the BlueStacks home screen. Click its icon to start using the application.

Using LDPlayer

  1. Download and install LDPlayer from https://www.ldplayer.net.
  2. Drag the APK/XAPK file directly into LDPlayer.

If you have any questions, please don't hesitate to contact us.

App Rating

2.2
Total 6 reviews

Previous Versions

Calculadora Gigante Básica 2
2015-07-04 / 1 MB / Android 4.0+

About this app

Prof. Eduardo D'Avila
Material de aula da disciplina Android Mobile e Java POO
Curso Técnico Pronatec Estácio de Sá / Campus WestShopping Campo Grande RJ



/**
* Created by Eduardo on 26/06/2015.
*/
public class Calculadora {
public double operando;
private double operandoAnterior;
private String operadorAnterior = "";


public void realizarOperacao(String operadorAtual) {
realizarOperacaoAnterior();
operandoAnterior = operando;
operadorAnterior = operadorAtual;
}

public void realizarOperacaoAnterior() {
if (!operadorAnterior.equals("")) {
if (operadorAnterior.equals("+")) {
operando = operandoAnterior + operando;
} else if (operadorAnterior.equals("-")) {
operando = operandoAnterior - operando;
} else if (operadorAnterior.equals("÷")) {
if (operando != 0)
operando = operandoAnterior / operando;
} else if (operadorAnterior.equals("*")) {
operando = operandoAnterior * operando;
}
}
}




}


----------------------------------------------------------------------------------------------------------------------------------------


import android.app.Activity;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;


public class MainActivity extends Activity {
Typeface fonteDigital;
TextView txtVisor;
// Button bt0, bt1, bt2, bt3, bt4, bt5, bt6, bt7, bt8, bt9;
// int nbt0 = 0, nbt1 = 1, nbt2 = 2, nbt3 = 3, nbt4 = 4, nbt5 = 5, nbt6 = 6, nbt7 = 7, nbt8 = 8, nbt9 = 9;
boolean digitandoNovoNumero = true;
Button botaoTocado;
Calculadora calc = new Calculadora();


@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
txtVisor = (TextView) findViewById(R.id.txtVisor);
fonteDigital = Typeface.createFromAsset(getAssets(), "digital.ttf");
txtVisor.setTypeface(fonteDigital);


}


public void digitarNumero(View view) {
botaoTocado = (Button) view;
if (digitandoNovoNumero) {
txtVisor.setText(botaoTocado.getText());
digitandoNovoNumero = false;
} else {
txtVisor.setText(txtVisor.getText() + botaoTocado.getText().toString());
}

}


public void digitarOperacao(View view) {
botaoTocado = (Button) view;
double operandoVisor = Double.parseDouble(txtVisor.getText().toString());
calc.operando = operandoVisor;
calc.realizarOperacao(botaoTocado.getText().toString());
txtVisor.setText(String.valueOf(calc.operando));

digitandoNovoNumero = true;

}


@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();

//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}

return super.onOptionsItemSelected(item);
}
}


-------------------------------------------------------------

New features

Correção de Erros.

*Ajuste do visor numérico.
*Settings removido, para estabilidade do App.
*Desativado a orientação horizontal.
*Somente orientação vertical, Smartphone e Tablet.