android-alertdialog
NullPointerException in custom DialogBox on android
In my app i have custom dialog which is displayed by a button click in first activity. In the custom dialog box i have numberwheels to select numbers.The UI is displayed correctly but when i implement[详细]
2023-03-21 14:50 分类:问答how to add items name in alert dialog from strings.xml in android
in my app when i click a button i am opening an Alert Dialog builder. My code is as follows AlertDialog.Builder builder = new AlertDialog.Buil开发者_高级运维der(BannerImage.this);[详细]
2023-03-20 13:43 分类:问答Save values selected in an AlertDialog
How do I save the selected value? private final CharSequence[] mColors = {\"1\", \"2\", \"3\", \"4\", \"5\" , \"6\"};[详细]
2023-03-20 12:55 分类:问答Android Notification - Popup dialog box
i am trying to create a dialog box to appear in the middle of the screen when my main program is not in focus and running in background. The purpose of the dialog box is to force the user to take an i[详细]
2023-03-19 19:47 分类:问答Android - Remote Service - Unable to show Dialog box
i am developing reminder application for taking tablet. I just store list of tablets to be taken on everyday in database with date and time. Everyday, my application should check, is there any tablet[详细]
2023-03-19 17:17 分类:问答How to add listener on alert dialog box with customised radio button in android
I am trying to add customised radio button in alert dialog box. Now I want to add listener on that. I have tried to add listener using Radio group but it shows null pointer exception.[详细]
2023-03-17 18:35 分类:问答Problems with alertdialog show in fragment android
I have followed android example but I have an incomprehensive error : void showDialog() { DialogFragment newFragment = MyAlertDialogFragment.newInstance();[详细]
2023-03-17 12:01 分类:问答How can I make an AlertDialog with multiple items whose names are defined at runtime?
This explains how to do it when you know the names for the items at compile time, but what if I want them defined at runt开发者_开发技巧ime... i.e. Today, Tomorrow, (Day and Date after Tomorrow), etc.[详细]
2023-03-17 10:19 分类:问答Android App using AlertDialog to prompt user to enter a page number and app then jumps to that page
so I\'m creating this android app that reads files. One feature that I want is to allow the user to enter a page number and then have the app open up that specific page number. Because I\'m new to And[详细]
2023-03-17 05:27 分类:问答alert dialog not showing
I am showing my alert dialog in a separate thread and its not working for me. initially when I click[详细]
2023-03-16 22:38 分类:问答