[android-developers] Google Voice Recognition Servers
I am using voice recognition in my app via Recognizer Intent. I was wondering, what URL does this intent ping when looking for matches? Is it voice.google.com or something like that? I read a couple articles that say it uses an HTTP POST method to find matches. Any help? -- 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] Re: Source not found/ArrayAdapter
Thank you Dallas for your response! And thanks to all others who helped. I'm sorry if I seemed incompetent to some of you, I've had this error for a long time and Google directed me here to find an answer. I'm glad I could get help from some experienced folks. Thanks! On Feb 7, 4:46 pm, TreKing wrote: > On Tue, Feb 7, 2012 at 4:38 PM, Ozone Apps wrote: > > > The line that causing the problem is: > > > spinner.setAdapter(spinnerArrayAdapter); > > If that's the line that causes the problem, and the problem is "null > pointer", then basic Java knowledge tells you your "spinner" variable is > null. If you read Dallas' response, he already gave you the answer. > > --- > -- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- 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] Re: Source not found/ArrayAdapter
The line that causing the problem is: spinner.setAdapter(spinnerArrayAdapter); The rest of the code is pasted above. I've used other programs that use spinners, this one doesn't want to work. On Feb 6, 6:41 am, drac94 wrote: > "Source Not Found" means you haven't linked the Android source code > into Eclipse, and you are trying to step into that code. The debugger > can't step into it if the source isn't available to it. > > So, that is not the real problem for your spiner. Check the log cat > and try to locate the first error line, then paste it here for see > what is the problem, and if you can paste some of your code will be > easier to help you. > > On Feb 4, 2:57 pm,OzoneApps wrote: > > > > > > > > > Hello Everyone! I am trying to use a spinner, and the program is > > throwing a Source Not Found error when I set an array adapter to that > > spinner. The array I am referencing contains valid elements and no > > null elements...it was working but all of a sudden it kept giving me > > the error. Any ideas? -- 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] Re: Source not found/ArrayAdapter
Sorry for being so vague the first time. I was in a rush! Heres the code thats causing the error: CODE String[] spinnerArray = getResources().getStringArray(R.array.a_chords); Spinner spinner = new Spinner(this); ArrayAdapter spinnerArrayAdapter = new ArrayAdapter( this, android.R.layout.simple_spinner_item, spinnerArray); spinnerArrayAdapter.setDropDownViewResource( android.R.layout.simple_spinner_dropdown_item ); spinner = (Spinner) findViewById( R.id.choose_key); spinner.setAdapter(spinnerArrayAdapter); setContentView(R.layout.main); CODE The array I'm getting from the resources is here: A Bm C#m D E F#m E7th Heres the logcat: java.lang.NullPointerException any ideas? On Feb 6, 12:04 pm, TreKing wrote: > On Sat, Feb 4, 2012 at 2:57 PM, Ozone Apps wrote: > > > Any ideas? > > Debug your app. > Explain "throwing a Serouce Not Found error". > Post a logcat. > Show some code. > > --- > -- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- 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] Source not found/ArrayAdapter
Hello Everyone! I am trying to use a spinner, and the program is throwing a Source Not Found error when I set an array adapter to that spinner. The array I am referencing contains valid elements and no null elements...it was working but all of a sudden it kept giving me the error. Any ideas? -- 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