Loading presentation...
Prezi is an interactive zooming presentation

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Android 101 (Class 4)

UOZ
by

Rasti Mohammed Amin

on 14 November 2016

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Android 101 (Class 4)

Android: Class #4
1. Review what you learn!
2. Convert your calculator app adding check box or radio box then add Exit button and Alert the result.

Homework 4
Rasti J Mohammed Amin
Nov 14, 2016
Today:
1.
Overview what we learn last lecture.
2. CheckBox
3.
RadioButton
.
5.
Alert
Last Lecture!!
Layouts
.LENGTH_SHORT
Alert
4.
RatingBar
RatingBar
.show()
LinearLayout
.Toast.makeText()
.LENGTH_LONG
.RelativeLayout
CheckBox
RadioButton
AlertDialog.Builder a_builder = new AlertDialog.Builder(MainActivity.this);
a_builder.setMessage("Are you sure !!!")
.setPositiveButton("Yes",new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
finish();
}
})
.setNegativeButton("No",new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.cancel();
}
}) ;
AlertDialog alert = a_builder.create();
alert.setTitle("Alert !!!");
alert.show();
Full transcript