alert

Android Progress Dialog Example

In android, we can show progress bar through dialog also.

Android Dialog with Radio Buttons

Now we can see a easy example of how to use radio groups, actions, and radio buttons dialog in android mobiles.

Example for Android Dialog Radio Buttons :-

[sourcecode language="java"]
public class ExampleApp extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final CharSequence[] PhoneModels = {"iPhone", "Nokia", "Android"};
AlertDialog.Builder alt_bld = new AlertDialog.Builder(this);
alt_b

Android AlertDialog Example

By using android alert dialog example we can perform some action according to that dialog.

Android AlertDialog Example :-

To ask user permission for "Exit ?" we can use Android AlertDialog with Yes or No Button.

Syndicate content