Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old August 25th, 2010, 03:46 AM   #1 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Android 2.2 Voice Recognition Sample problem And Speech Recognition with file

Hello,
I'm using android emulator (SDK 2.2) with Eclipse and I tried to do
work the sample VoiceRecognition.java but it returns to me this
message "Recognizer not present". What's the matter? I read on
different forums "a problem with the initial system image", should I
upgrade system image or there is nothing to do with this?
I have another problem, I would like to use an wav or mp3 like input
of my speech recognizer (instead of audio record with microphone), how
to do this? is it possible or not?

Thank you.

bibinours is offline  
Reply With Quote
Sponsors
Old February 3rd, 2011, 01:25 AM   #2 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi ther,
im tryin to build an application based on voice recognition ,i downloaded the sample code from androiddevelopers.com but wasnt able to build it.
Ther was some problem with the resources R.java etc, how come u managed to compile it pls help me out here.........................
thank you
vivekcr is offline  
Reply With Quote
Old February 16th, 2011, 06:18 AM   #3 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bibinours View Post
Hello,
I'm using android emulator (SDK 2.2) with Eclipse and I tried to do
work the sample VoiceRecognition.java but it returns to me this
message "Recognizer not present". What's the matter? I read on
different forums "a problem with the initial system image", should I
upgrade system image or there is nothing to do with this?
I have another problem, I would like to use an wav or mp3 like input
of my speech recognizer (instead of audio record with microphone), how
to do this? is it possible or not?

Thank you.
The voicerecognizer needs an app to run it, in this case I used the Google Voice Search.


@vivekcr
you should adjust your main.xml in your res.layout
like this:
Code:
<?
xmlversion="1.0"encoding="utf-8"?>
<!-- * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. -->
<!-- This activity displays UI for launching voice recognition -->
<
LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="4dip"
android:text="Voice Commander"/>
<Buttonandroid:id="@+id/btn_speak"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="speak"/>
<ListViewandroid:layout_width="wrap_content"
android:layout_height="0dip"
android:layout_weight="1"android:id="@+id/list"/>
</LinearLayout>
and also in your voicerecog class,
Change
"setContentView(R.layout.voice_recognition);"
to
"setContentView(R.layout.main);"

this was the main reason why my voice recogn didnt work.
shinmeiryu is offline  
Last edited by shinmeiryu; February 16th, 2011 at 06:27 AM. Reason: no double posting
Reply With Quote
Old May 3rd, 2011, 08:00 PM   #4 (permalink)
New Member
 
Join Date: May 2011
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have the same problem,but the aplication used is an Android's sample. Itīs in:

MEGAUPLOAD - The leading online storage and file delivery service

what is the problem?. can someon help me?
sofia_fi is offline  
Reply With Quote
Reply

Bookmarks

Tags
speechrecognizer, voice recognition, wav


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I enable android personal speech recognition? Papamalo Android Applications 4 January 29th, 2012 08:19 PM
Speech recognition on android using Sphinx Brownie_cookie Application Requests 6 January 5th, 2012 08:30 AM
Poor voice command speech recognition ArubaMike Droid 2 - Support and Troubleshooting 1 December 19th, 2010 11:06 PM
Voice recognition problem! Eris Lover Incredible - Support and Troubleshooting 1 May 30th, 2010 12:58 PM
Nexus Voice Recognition - UK accent problem?! lavellep Nexus One 1 January 11th, 2010 04:49 AM



All times are GMT -5. The time now is 11:32 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo