Android :: Sound Engine Performance
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
Sep 27, 2010
I think we are all victims of SE because
1) poor battery performance
2) outdated system
3) low sound quality to the point i cant use it in a crowded environment
4) all this crap for a premium price
What if this was a car or any other equipment, Shouldn't the iron heads at sony recall this product. i feel cheated by buying this phone. at the end of the day this is a premium piece of equipment brought at a premium price and not a prototype.
View 5 Replies
View Related
May 23, 2010
I'm looking into writing an Android game, tough I don't curerntly own an Android device. For those of you who own a device, how does the performance on the emulator relate to real device performance? I'm especially interested in graphics related tasks.This obviously depends on both the machine running the emulator, and the specific device in question, but I'm talking rough numbers here.This question is a duplicate, but since that post is heavily outdated, I figured it's irrelevant by now.
View 3 Replies
View Related
Feb 20, 2010
Motorola CLIQ Over-the-Air Update
[Retail Partner Sales - T-Mobile Employees and Authorized Dealers]
February 19 Update
The over-the-air update for the Motorola CLIQ has been delayed to the week of February 22. An updated article will be available once a date has been determined.
On February 18, Motorola will begin sending over-the-air (OTA) software updates to Motorola CLIQ customers. The software update will improve device performance and resolve several known issues.
Improved Performance:
Improved battery life
Improved software performance and stability
Improved widget response
Decreased Force Close error messages
New Manage SIM Card application
Support of .WMA and .WAV media files
Removal of the imeem mobile application
Known Issues Resolved:
Accessories & Bluetooth
Error: 'Unable to pair' or 'Unable to connect to device'
Call functions
Can activate other functions while listening to visual voicemail
Call not ended by pressing the End key
Speakerphone turns on unexpectedly when answer incoming call
Plays ringtone or vibrates while on an active call
Unable to answer incoming call using �Slide to answer� feature
Accidentally opens Dialer or makes outbound while holding device
Device hardware (battery, keys, power, screen)
Battery indicator may not display accurate battery power
Call not eded by pressing the End key
Touch screen issues
Cannot answer incoming call using the Slide to answer feature
Incorrect keys registered using on-screen keyboard
Touch display appears to have �dead spots� that are unresponsive
Accidentally selects item when trying to flick through screens or menus
Messaging
Wrong message deleted
Phone may reset when turning Wi-Fi off in area with no Wi-Fi coverage
Customers can manually download the OTA on demand by going to Settings > About Phone > System Updates. Customers do not need to wait for a notification message to download.
Action Steps
Be aware of the fixes and enhancements included in the Motorola CLIQ update.
If customers are experiencing any Known Issue that will be resolved by the software update:
Do not file a handset exchange
Advise customers that the issue will be resolved by a software update on February 18.
Important Rebate Changes
[Retail Partner Sales - T-Mobile Employees and Authorized Dealers]
Customers eligible for rebates as part of new activations or upgrades must be advised they will receive their rebates in the form of a prepaid Visa card.
When customers take advantage of our new Early Upgrade or Early Upgrade Plus options, they are not eligible for upgrade rebate cards. These new upgrade options allow customers to take advantage of upgrades sooner and provide an instant discount, instead of having to wait for rebate cards.
To be eligible for an upgrade rebate card, customers must meet upgrade eligibility requirements.
Current, 1-year contracts: 11 or more active months since last discounted handset purchase.
Current, 2-year contracts: 22 or more active months since last discounted handset purchase.
Rebates on eligible purchases require contract extensions and a $9.99 or higher Data/Messaging feature.
Valid only on FlexPay plans with 1 or 2-year contracts.
Not valid for Even More Plus plans.
Active Months: The number of months in which the account has been in good standing and during which service has not been suspended.
Action Steps
Inform customers that Early Upgrade and Early Upgrade Plus are not eligible for upgrade rebate cards.
Advise customers eligible for rebates that they will receive their rebates in the form of a prepaid Visa card.
"With the purchase of your new handset, you can submit a rebate form to receive your rebate. The rebate will be in the form of a prepaid Visa card that can be used anywhere Visa is accepted. See the rebate form for additional details."
Trackball Replacement Program
[Retail Partner Sales - T-Mobile Employees and Authorized Dealers]
On February 24, T-Mobile will launch a Trackball Replacement program for BlackBerry Pearl 8100/8120 and BlackBerry Curve 8320 customers that are having trackball issues. This program will be available in T-Mobile retail stores only at this time.
Action Step
Refer customers to a T-Mobile retail store after February 24 for further assistance if they come in to your location looking to complete a trackball replacement.
First Connect for Dealers
[Retail Partner Sales]
First Connect for Dealers is an exciting class designed to help on-board and prepare Retail Partners to successfully sell T-Mobile products and services and provide differentiated customer experiences. This four hour class is conducted via the T-Mobile Live Virtual Classroom and covers the following:
Welcome to T-Mobile
Who is T-Mobile?
PCC
Differentiated Handsets
Differentiated Rate Plans
Service Excellence / Selling Skills
Tools and Resources
Customer On-Boarding
The attached flyer contains dates and times for these calls as well as registration details. ADRs should educate their locations about these calls and encourage them to attend.
To successfully be able to attend the training sessions, Retail Partners should have the following:
Computers with high speed Internet connections
The ability to play and hear video segments on the computer using speakers or headset
The use of a fully charged mobile phone to hear the audio portion of the conference call
Printer access to print Participant Workbook.
Action Steps
Share the attached flyer with your locations and encourage them to attend one of the scheduled calls.
View 1 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
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
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
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
Apr 15, 2010
In college, my senior project was to create a simple 2D game engine complete with a scripting language which compiled to bytecode, which was interpreted. For fun, I'd like to port the engine to android. I'm new to android development, so I'm not sure which way to go as far as deploying the engine on the phone. The easiest way I suppose would be to require the engine/interpreter to be bundled with every game that uses it. This solves any versioning issues. There are two problems with this. One: this makes each game app larger and two: I originally released the engine under the LGPL license (unfortunately), but this deployment strategy makes it difficult to conform to the rules of that license, particularly with respect to allowing users to replace the lib easily with another version. So, my other option is to somehow have the engine stand alone as an Activity or service that somehow responds to intents raised by game apps, and somehow give the engine app permissions to read the scripts and other assets to "run" the game. The user could then be able to replace the engine app with a different version (possibly one they made themselves). Is this even possible? What would you recommend? How could I handle it in a secure way?
View 1 Replies
View Related
Jan 26, 2009
Looking for a way to integrate full-text search and fast, lightweight data management with your Android applications? The new Perst 4.0 open source, object-oriented embedded database system brings native full-text search capability to Android and builds on this feature to provide a sample search engine application for contact data residing on mobile phones.
To provide search, the database stores an inverse index of keywords, with parsing and stemming of indexed text performed either by user- defined code or by Perst's default simple parser and stemmer. The feature supports logical operators and calculates relevance of search results to a query. The new sample application, ContactsIndex, stores and indexes contact information, and could be extended to provide search capabilities for PDF, word processing, HTML and other stored files. The example applications are included with complete source code in the Perst 4.0 for Java distribution..............
View 3 Replies
View Related