Android :: IntentNotFoundException For TextToSpeech.Engine
May 7, 2010
I am trying to implement text to speech by following this article on the Android Developers Blog. It suggests the following code for installing text to speech data if it is not supported.
CODE:...........
This throws an Exception:
ActivityNotFoundException: No activity found to handle Intent
However, I am using the code here to determine the the intent is actually supported. Here is the list representation:
[ResolveInfo{43cc5280 com.svox.pico.DownloadVoiceData p=0 o=0 m=0x108000}]
Why doesn't this work?
Update
I don't know why, but it seems to work now.
View 2 Replies
Feb 22, 2010
I'm following the official docs at http://developer.android.com/resources/articles/tts.html and trying to synthesize a String to a file:
CODE:............
Then I run adb shell on the emulator to check if there is anything saved to the file system. And there is nothing. I tried to save to non existent folders, but synthesizeToFile still reports SUCCESS and nothing new appears in the file system.
Am I missing something or synthesizeToFile is just not working?
View 4 Replies
View Related
Aug 16, 2010
I wrote successfully TTS with some references in Activity.
However, I want to call this TTS in my own class as below.
CODE:............
View 3 Replies
View Related
Apr 21, 2010
I've been working with Android's TTS functions with general success however, one piece of it refuses to work for me; I can not successfully assign an OnUtteranceCompletedListener to my TextToSpeech object.
I've tried implementing OnUtteranceCompletedListener in one of my classes and I've tried creating a new, stand-alone OnUtteranceCompletedListener instance. Both approaches are simple enough to implement and appear to yield proper listeners without exceptions...yet setOnUtteranceCompletedListener(myListener) ALWAYS returns -1 (ERROR).
The documentation for this seems straight forward. Has anyone gotten this to work? I'm targeting SDK 4. Are there known issues with this with SDK4/v1.6?
View 1 Replies
View Related
Apr 13, 2010
I added TextToSpeech to my app, following the guidelines in the following post:
http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html
and now my onDestroy is no longer called when the back button is pressed.
I filed a bug report regarding this: http://code.google.com/p/android/issues/detail?id=7674
Figured i should also ask here if someone else has seen this, and found a solution?
It seems that it is the intent that causes the problem, i.e. the following:
CODE:................
If I skip this intent, and just go ahead and create a tts-instance, it works fine.
Any clues to what is wrong with this intent?
View 2 Replies
View Related
Feb 28, 2010
I'm looking for a way of making TextToSpeech.synthesizeToFile save output to internal memoryl instead of /sdcard. I've read the docs: http://developer.android.com/intl/fr/resources/articles/tts.html, then had a quick look at the SDK source code. Found out that SDK TTS functions are using the PICO Text to Speech from libttsespeak.so, didn't go any further yet.
Anyone ever synthesized a text to a File and did it to internal memory, (like a FileOutputStream), not to /sdcard?
I want to be able to publish the saved wav through a Content Provider. And being dependent on the presence of /sdcard does not seem the ''proper'' way to me.
View 3 Replies
View Related
Oct 18, 2010
I'm interested in developing an android application that will display a globe of some sort like Google Earth. I've never used opengl or have any experience with graphic programming so I'm here to learn some basics. Now, I know there are things like the Unity or Ogre that help facilitate graphics but what exactly do I gain from using these engines as opposed to just using opengl api to render graphics? Why do you use engines like Ogre as opposed to straight up opengl?
View 2 Replies
View Related
Dec 26, 2009
I've been working for the past couple of days to allow users to login to an android app with their gmail account and pass the authentication token to my app hosted on app engine - so i can download xml from my web services hosted on app engine as if the user logged into the app directly. There is a lot of info on ways to get the google auth code and the auth cookie and then pass the cookie in the header of an http request - but no info out there on doing all of this from android and going as far as to add the cookie to the remaining http requests. So, now that's it's working, i thought i'd compile it all together and post the solution here in my blog - enjoy.
View 3 Replies
View Related
Aug 16, 2010
I'm just starting into Android game development, and I'm looking into using an open-source game engine as the foundation of some of my ideas. Does anyone have any favorites? So far, AndEngine looks the most promising...I've also looked at Rokon. Any other notable engines I should be looking at.
View 2 Replies
View Related
Aug 16, 2010
In general, I'm very impressed with Android's default text to speech engine (i.e., com.svox.pico). As expected, it mispronounces some words (as do I) and it therefore occasionally needs some pronunciation guidance. So I'm wondering about best practices for phonetically spelling out those words that the pico TTS engine mispronounces. For example, the correct pronunciation of the bird Chachalaca is CHAH-chah-LAH-kah. Here is what the TTS engine produces: mTts.speak("Chachalaca", TextToSpeech.QUEUE_ADD, null); // output: chuh-KAL-uh-KUH mTts.speak("CHAH-chah-LAH-kah", TextToSpeech.QUEUE_ADD, null); // output: CHAH-chah-EL-AY-AYCH-dash-kuh mTts.speak("CHAHchahLAHkah", TextToSpeech.QUEUE_ADD, null); // output: CHA-chah-LAH-ka mTts.speak("CHAH chah LOCKah", TextToSpeech.QUEUE_ADD, null); // output: CHAH-chah-LAH-kah Here are my questions. Is there a standard phonetic spelling recognized by the Android TTS engine? If not, are there some general rules for making custom pronunciation spellings that will make the spellings more likely to be correct in future TTS engines/versions? It appears that the Android TTS engine ignores text case. What is the best way to specify emphasis?
View 2 Replies
View Related
Jan 18, 2010
LinkUp's "Job Search Engine" application bring the web's highest quality, fastest growing job search engine to your Android. The app allows you to search job listings that are found exclusively on company websites. As a result, the jobs on LinkUp's "Job Search Engine" app and LinkUp.com are always current, often unadvertised, and never fake.
The app features:
Basic & advanced search
Saved search history
Email job alerts
RSS-bookmarking of favorite jobs
Download the application with this QRCode:
View 2 Replies
View Related
Nov 5, 2009
I'm currently working on a project that uses Google App Engine as a server. I see that prior to the Android 2.0 SDK there was no way to directly access a user's Google Account information for the purposes of authentication. Do the new Account Manager APIs now make it possible to automatically log a user into a GAE app? Is anyone else working on something like this? Are there any publicly available examples on how to accomplish this?
View 2 Replies
View Related
Apr 29, 2010
I've just released version 0.2 of Gamine, an open source 3D game engine for Android devices: This release adds lots of major features, including particle effects, OBJ file import, picking, text rendering, transparent rendering, and more. Although it's still a very early version, I believe it is now complete enough to be used for real games. So give it a try, and I'd really appreciate any feedback about it.
View 3 Replies
View Related
Oct 5, 2009
I am working on an app that uses the SoundPool class to play sounds. Basically every n milliseconds I need to play up to 16 sounds and I need this to be as steady as possible. The best solution I found so far is to use a java.util.Timer and the scheduleAtFixedRate method (setting also a THREAD_PRIORITY_URGENT_AUDIO in the TimerTask run method), the result is pretty good but it is still not perfect and sometimes the executions get slightly delayed. Is there some other way I should try to play sounds _exactly_ every n milliseconds? Different threads, some kind of optimization, stuff like this?
View 3 Replies
View Related
Aug 17, 2009
Can anyone suggest good chart engine for Android?!
I did a small research and found several engines: - Java4Less (http://java4less.com/charts/chart.php?info=android) - Chart4J (http://code.google.com/p/charts4j/) - BlueChart (http://code.google.com/p/bluechart/) is it a port of jFreeChart?! - aChartEngine (http://code.google.com/p/achartengine/) - aiCharts (http://www.artfulbits.com/Android/aiCharts.aspx)
Somebody try them?! Any pros and cons?! Which one is the best for Android?!
View 2 Replies
View Related
Aug 26, 2010
I have spent two days trying to decide on a way to upload and download data to the Google App Engine. Do I use REST or simple HTTP post/get? Do I use JSON or XML? Do I use java or Python. I am thinking probably use python and probably use REST. But which one out there? There are so many to choose from. None seem to work out-of-the-box, but need faffing around with bits of code from here and bits of code from there. And is not clear at the outset what am taking on or what the limitations are.
View 4 Replies
View Related
Apr 25, 2008
Mages is multiplayer client/server game engine for Android and other mobile devices (currently Android and J2ME devices are supported, development for Windows Mobile in the progress). It allows developers to create internet multiplayer games by implementing only core game logic and GUI by using powerful engine API.
View 11 Replies
View Related
Aug 5, 2010
How do you improve the position of an app in Android Market search results? The apps don't seem to be sorted on downloads.
The scope of this question is limited to working with the Android Marker search engine, of which there's little or no information. I changed the title to make it clearer.
View 3 Replies
View Related
Aug 17, 2010
I'm on my way with my first game, all design and that stuff are done, just coding left.I have successfully watched tutorials around the world wide web with information about Graphics and how to create a successfully thread-synchronization within it. Like now I have a SurfaceView-class and a Thread-class. The thread-class have this constructor to receive the Game Engine from my SurfaceView-class.
Simple code from Thread-class constructor: Code...
View 1 Replies
View Related
Jan 7, 2010
It seems to me that the method "speak" of class TextToSpeech only works in method onInit or on Utterance Completed. However, onInit and onUtteranceCompleted don't have any parameter for passing strings. In the following code, I tried to define a global string arraylist outside the methods and used the arraylist for string input.For some reason , it didn't work out.But the engine did speak "did you sleep well". public class TTS extends Activity implements OnInitListener,OnUtteranceCompletedListener,Runnable ArrayList<String> content=new ArrayList<String>();
int MY_DATA_CHECK_CODE=50;
private TextToSpeech mTts;
public void onCreate(Bundle savedInstanceState) {
content.add("test");
content.add("another test");
super.onCreate(savedInstanceState);
setContentView(R.layout.splash);
Intent checkIntent = new Intent();
checkIntent.setAction(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA);
startActivityForResult(checkIntent, MY_DATA_CHECK_CODE);
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == MY_DATA_CHECK_CODE) {
if (resultCode == TextToSpeech.Engine.CHECK_VOICE_DATA_PASS) {
// success, create the TTS instance
mTts = new TextToSpeech(this,this);
} else { // missing data, install it
Intent installIntent = new Intent();
installIntent.setAction(
TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
startActivity(installIntent);
} public void onInit(int status){
if(status==TextToSpeech.SUCCESS){
mTts.setLanguage(Locale.US);
mTts.setOnUtteranceCompletedListener(this);
String myText1 = "Did you sleep well?";
mTts.speak(myText1, TextToSpeech.QUEUE_FLUSH, null);
for(int i=0;i<content.size();i++){
mTts.speak(co
View 1 Replies
View Related
Jul 6, 2010
I´m new on Android 3D game development. I would like to know if there any engine/ API/ platform about 3D development that I could use. Or any tip which you could give me, like where I could start looking for.
View 6 Replies
View Related
Oct 24, 2010
I am a newbie "thinking" of writing a physics game app. I did see some engines, but most of them have no good demos or docs. So can you guys please point me to any physics engine with lot of demos/sample codes?
View 2 Replies
View Related
Mar 15, 2010
Any idea which JS Engine is used in Nexus one? JSC or V8?
View 2 Replies
View Related
Mar 30, 2010
I'm a newbie to android and I want to develop my first 2d game..:) I read about engines ..but what do you advice me to go with<--for 2d game and what is the best tools I need to create the sprites or characters in addition to the map or the background?
View 11 Replies
View Related
Sep 9, 2010
What is a rendering engine? Is there any for Android?
View 1 Replies
View Related
Oct 6, 2010
I am writing a syncadapter using google account and app engine. The account appears in account and sync, but when I try to select the account for syncing, I am getting a hard database error. I am trying to figure if this error is on mobile or the app engine. Further, what can be causing this error. Another error that I am getting is failed to find provider info.
View 1 Replies
View Related
May 20, 2013
i wanna access websites which are internet explorer specific sites, they don't open correctly in firefox, chrome, safari, opera or any other browser,and i don't want just to change User Agent to desktop, it doesn't work. even on desktop pc those sites only work correctly on internet explorer.
so is there anything to access those sites?one example of those sites is my phone network's free sms sending website, which can only be accessed correctly from internet explorer, so i can't send sms through my mobile from that site, i need to use internet explorer on my pc
View 1 Replies
View Related
Dec 14, 2009
Using Android 2.0 SDK. Is it possible to direct the TTS engine's output to a connected BT headset? I've tried with KEY_PARAM_STREAM set to all of the available stream types but the speech is still output by the speaker on the phone.
-- "An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done." --
View 2 Replies
View Related
Jan 31, 2010
Following this : http://stackoverflow.com/questions/2125354/best-approach-for-oldschool-2d-zelda-like-game
I got a simple 2D tiles generator working, im reading an int map[100][100] filled with either 1's or 0's and draw tiles according to their tile id, 0 is water, 1 grass.
Im using some basic Numpad control handler, using a camIncr (32.0f), i set the camera position according to the movement :
CODE:.......
In my draw loop, im just drawing enough tiles to fit on my screen, and track the top left tile using cameraOffsetX and cameraOffsetY (its the camera position / tile size )
Im using a GLU.gluOrtho2D for my projection.
Here is the draw loop inside my custom renderer :
CODE:.............
my tiledBackground draw function :
CODE:..............
The waterTile and grassTile .draw function draw a 32x32 textured tile, might post the code if relevant.
Everything is fine, i can move using numpad arrows, and my map 'moves' with me, since im only drawing what i can see, its fast (see http://stackoverflow.com/questions/2129125/android-opengl-es-simple-tile-generator-performance-problem where Aleks pointed me to a simple 'culling' idea)
I would like my engine to 'smooth scroll' now. I've tried tweaking the camIncr variable, the GLU.gluOrtho2D etc, nothing worked.
View 2 Replies
View Related
Mar 30, 2009
Does anyone know of, or have implemented, a physics engine which runs smoothly in Android? I have spent the last couple of days trying Phys2D and JBox2D, however both perform very poorly - I am struggling to get even a few objects to simulate smoothly as frequent garbage collection spoils it. One question I do have is will these run smoother on an actual G1 device or is the performance of the emulator accurate?
View 1 Replies
View Related