[android-developers] Re: AlertDialog setSingleChoiceItems
The solution was: removeDialog(int). Evi 2009/10/30 Éva Lovrencsics : > Hello, > > I have an AlertDialog with single choice items, but these items > sometimes change, so I have to update the radiobuttons array every time > when the dialog is showed. > I know there is a method called onPrepareDialog but the Dialog doesn't > have the setSingleChoiceItems, only the Builder. > > Here is my onCreateDialog: > > protected Dialog onCreateDialog(int id) { > Dialog dialog; > > case DIALOG_SOMETHING: > { > final CharSequence[] radiobuttons; > int checked; > > //... here I fill radiobuttons array and set > the checked item. > > // create dialog > AlertDialog.Builder builder = new > AlertDialog.Builder(this); > builder.setTitle("title") > .setSingleChoiceItems(radiobuttons, checked, new > DialogInterface.OnClickListener() { > public void onClick(DialogInterface dialog, int radioitem) > { > // ... > } > }) > .setPositiveButton("OK", new DialogInterface.OnClickListener() { > public void onClick(DialogInterface dialog, int id) > { > // ... > } > }); > > dialog = builder.create(); > > break; > } > > > default: > dialog = null; > } > > return dialog; > } > > > If I copy this code to onPrepareDialog, nothing happens. :-( The > dialog doesn't update my radiobuttons. > What can I do? > > Evi > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] what happened to my application's statistics?
I don't understand it... Yesterday I had 860 downloads and today I have 400. Why? How can the number of downloads decrease? How can I find the real numbers? Evi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: what happened to my application's statistics?
I updated my app 5 days ago. On Thu, Nov 19, 2009 at 13:26, westmeadboy wrote: > Yeah, for me, the apps I haven't updated for a while have lost loads > of stats, but the app I update all the time hasn't lost anything. > > On Nov 19, 6:57 pm, Vassilios Kirellous wrote: >> I had 1000's of users and now it is telling me that I have -1 active users. >> >> How can I have -1 active users? >> >> 2009/11/19 Marc Lester Tan >> >> >> >> > True, my app have 47k downloads and 800 ratings and now, 1776 and 28 >> > ratings!, what's happening Google? >> >> > On Thu, Nov 19, 2009 at 6:22 PM, arnouf wrote: >> >> >> Apparently all download statistics have been reinitialized ??!!! >> >> >> On 19 nov, 11:21, Éva Lovrencsics wrote: >> >> > I don't understand it... >> >> > Yesterday I had 860 downloads and today I have 400. Why? >> >> > How can the number of downloads decrease? >> >> > How can I find the real numbers? >> >> >> > Evi >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups "Android Developers" group. >> >> To post to this group, send email to android-developers@googlegroups.com >> >> To unsubscribe from this group, send email to >> >> android-developers+unsubscr...@googlegroups.com> >> cr...@googlegroups.com> >> >> For more options, visit this group at >> >>http://groups.google.com/group/android-developers?hl=en >> >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Android Developers" group. >> > To post to this group, send email to android-developers@googlegroups.com >> > To unsubscribe from this group, send email to >> > android-developers+unsubscr...@googlegroups.com> > cr...@googlegroups.com> >> > For more options, visit this group at >> >http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] AlertDialog setSingleChoiceItems
Hello, I have an AlertDialog with single choice items, but these items sometimes change, so I have to update the radiobuttons array every time when the dialog is showed. I know there is a method called onPrepareDialog but the Dialog doesn't have the setSingleChoiceItems, only the Builder. Here is my onCreateDialog: protected Dialog onCreateDialog(int id) { Dialog dialog; case DIALOG_SOMETHING: { final CharSequence[] radiobuttons; int checked; //... here I fill radiobuttons array and set the checked item. // create dialog AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle("title") .setSingleChoiceItems(radiobuttons, checked, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int radioitem) { // ... } }) .setPositiveButton("OK", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { // ... } }); dialog = builder.create(); break; } default: dialog = null; } return dialog; } If I copy this code to onPrepareDialog, nothing happens. :-( The dialog doesn't update my radiobuttons. What can I do? Evi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] market doesn't refresh downloads?
Hello, My downloads and installs stopped two days ago, and I don't see any changes on the market (developer console). They never stay the same, so I think, market doesn't refresh them. Anybody recognized this? Evi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] app showing as unpublished
Hello, I have 7 apps. All of them are set to unpublished today. I don't know what happened. Does somebody know? Evi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] debugging at user?
Hello Developers! I have an app, which force closes at one of my users. Other users haven't got any problem with it. This user has Android 1.6, so no "Report" button at force close. I have also 1.6, and my app works perfectly on my phone. Do you know what is the best way to debug it at the user? I don't have any idea, what the problem is. (It crashes at startup.) Can I see the logs, or what can I do? Evi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] unable to open database file
On ápr. 2, 11:53, Mariano Kamp wrote: > Hi, > > recently I very often get error reports from users that upgrade their OS. > This includes at least 1.5, 1.6, 2.1 and custom ROMs. > > Anybody else seeing these? Any idea what to do about it? > > Cheers, > Mariano Mark Murphy wrote: > For example, is the issue that > the database is deleted, or that the database exists but somehow the > permissions are messed up? Does somebody know the solution? I have the same problem. :-( Evi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] changes to Android Market
Hello, Sorry to disturbing you, but everybody got a message from Android Market about the changes. It says: A “feature” graphic, landscape aspect ratio, 1024 x 500 (required). What is a feature graphic? I googled it but didn't find any example. Evi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] thousands of strings
Hello, Maybe some of you has an application with quotations or jokes or something. I would like to make a similar. So how can I get the i. element of my string array (which is in arrays.xml)? I don't want to load the whole array in a String[], because it can be too big. Or it's not a good idea to put them into arrays.xml? How do you handle thousands of strings? Evi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] thousands of strings
Ok, but how can I fill the database with my thousands of strings? I said, I don't want to load the whole array in a String[], because it can be too big. Maybe I don't have so much memory. On Mon, Oct 4, 2010 at 15:49, Mark Murphy wrote: > 2010/10/4 Éva Lovrencsics : >> Or it's not a good idea to put them into arrays.xml? How do you handle >> thousands of strings? > > Use a database. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training...At Your Office: http://commonsware.com/training > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] reliable app store?
Hello all, I think it's a common problem. I'd like to sell my apps, but my country is not supported for merchants already. Do you know a reliable app store where I can sell apps? Evi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en