First of all please bear with me because I'm new in Android.
I would like to write an application that can pop up a dialog box if a condition is met
example :
public class TestMax {
public void main(String[] args) {
int i = 5;
int j = 5;
int sum = i + j;
if (sum == 10) {
// alert dialog box will appear and show the message - "Answer is 10"
}
}
Appreciate your help. Thank you.