Ok , how? -----Messaggio originale----- Da: [email protected] [mailto:[email protected]] Per conto di Kristopher Micinski Inviato: venerdì 20 gennaio 2012 16:51 A: [email protected] Oggetto: Re: [android-developers] How to iterate Class
Still doesn't make any sense... You know the elements you want out of the class, so just get them, don't write it in some strange hacky way just to use a for, if you want the values, this has nothing to do with an adapter. (Theoretically you could use reflection here, but using an array and for is a really bad design vs just taking the values.) kris On Fri, Jan 20, 2012 at 1:12 AM, Giuseppe Porcelli <[email protected]> wrote: > Want to do a for to create a string array to use with an arrayadaptarer. > > Giuseppe Porcelli > > Il giorno 20/gen/2012, alle ore 01:41, Kristopher Micinski <[email protected]> ha scritto: > >> What? Why would you do it inside of a for each? >> >> Mark already answered this, but this question sounds very confused... >> >> Don't use a for, just read the values.. >> >> kris >> >> On Thu, Jan 19, 2012 at 6:38 AM, Giuseppe <[email protected]> wrote: >>> I need to get the MediaRecorder.AudioSource constants list, es. >>> >>> CAMCORDER >>> DEFAULT >>> MIC >>> VOICE_CALL >>> VOICE_COMMUNICATION >>> VOICE_DOWNLINK >>> VOICE_RECOGNITION >>> DEFAULT >>> VOICE_UPLINK >>> >>> and their INT value. >>> >>> How to do it inside a for each? >>> >>> Thank you. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to >>> [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> 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 >> [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 > [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

