Android :: AudioHardware Pcm Playback Going To Standby / Possible Workaround?

Jun 15, 2010

Occasionally when I have a lot going on in my app, and I am playing a number of sounds using SoundPool, my app just completely freezes. Looking at the logs, I see this:

I/AudioHardwareMSM72XX( 56): AudioHardware pcm playback is going to standby.

My app must then be force closed and restarted. Does anyone know what may be causing this, or a possible workaround? I cannot reproduce this in the emulator - only on my HTC Hero, so I am wondering if this may be a device specific bug.

Android :: AudioHardware pcm playback going to standby / possible workaround?


Android :: Fil-rate Workaround With FBOs?

Sep 12, 2010

create an FBO of resolution less than the full phone screen dimensions (user-selected quality vs speed option) do most of my scene rendering into that FBO * then the 'real' (full screen) render would either use the FBO as the starting background color buffer contents, or render it (probably orthographically) as a single quad. * then probably add UI/Text decoration on top of that, where the resolutions really benefits.And, is there some egl glue (I am a glSurfaceView kinda dood) that would automagically do something like this in the first place?Or am I being naive to think the GPU could do its work faster if it was rendering to a lower resolution target? And would the phone with the worst fill rate also be the phone that doesn't support FBOs in the first place?

View 4 Replies View Related

Motorola Droid X :: Video Playback - Framerate - Jerky Playback

Aug 27, 2010

Been struggling with this since receiving my X. Seems like no matter what player I use the playback is jerky. It's very subtle, almost as if the video is dropping a frame or so every second. I've tried the stock player, Astro, Rockplayer, mPlayer, Zimly, Act, and the list goes on and the problem still persists.

I've encoded (using handbrake) with all of the settings suggested on the boards and have tweaked things on my own trying to find the proper setting, but still no luck. The strange and frustrating thing is that the exact same files play just fine on my 1st gen iPod touch (clearly an inferior piece of hardware) and on my wife's incredible. These encodes are of standard def DVDs at average settings (a full movie is about 1.3gb, all h.264 mp4 files.

I was able to improve playback by rebooting the X and then playing the video, but this doesn't seem like an acceptable solution every time I want to watch something. I tend to encode and watch a lot of stuff on my commute to/from work, and I'd really like to replace my touch with the X, but the media capabilities are falling way short. Considering switching to the Inc as I know it's able to play my media properly, but I'd prefer to keep the X for the larger screen size (though the Inc does seem to feel better when using one-handed). I'm on the fence right now, but if the X can't function as expected then it might be going back. Unfortunately I only have until the 1st to return it so I don't think I can hold out and see if 2.2 fixes this issue.

View 1 Replies View Related

Android :: Workaround For Mapview Overlays Not Pinch-zooming Correctly

Oct 26, 2010

If a user does a "pinch zoom" on the map, my overlays don't properly size until the end. This has been noted in other posts, so i assume it is a known issue.

Problem is, my client finds it totally unacceptable, as I am tasked with making the android app look as good as the iphone version.

Is there any way to correct this, even if it is a horrible hack? For instance, can I subclass the mapview and handle drawing or override some other method?

View 1 Replies View Related

Android :: ImageView Scale Type Not Working In List Activity / Workaround It?

Apr 18, 2010

I have used ImageView's before and understand the different scale types that can be set... However I am having an incredibly difficult time trying to get an ImageView to scale properly in the row of a ListActivity or an ExpandableListActivity.

I have tried setting the android:scaleType property to every single value but the image never scales down. I have set the min and max sizes as well and they don't seem to have any effect. I have done both of these things in both the XMl and in code to no avail...

Does anyone have any ideas or perhaps a workaround? code...

View 1 Replies View Related

Android : Layout Auto CompleteTextView Null Pointer Exception Workaround

Nov 8, 2009

I'm working in with the Android SDK 2.0 / Galileo / ADT 0.9.4 (latest to date). Against Android 1.5 API layer. If I go to the layout editor and add an AutoCompleteTextView the screen immediately gives me a NullPointerException. Does anyone have a documented workaround for this problem? I can't seem to find one. This is obviously a bug in the Android SDK. (It's been filed anyway.)

View 1 Replies View Related

Sprint HTC Hero :: My SMS Workaround Keeps Unfixing Sleep

Oct 27, 2009

OK, I have hard reset and done the sms workaround twice.Both times it worked for about 2 days (I was averaging about 10% wake time) and then it just stopped working (the wake time percentage just started climbing and when I soft reset it was at 100% from then on).Anyone else have this problem with the workaround and does anyone have a "workaround" for the workaround,

View 3 Replies View Related

HTC Incredible :: Scheduled To Be Bluetooth Workaround - Fix In Froyo?

Aug 10, 2010

So I am having issues pairing my Inc with my Audi. Seems a common issue with several of the German cars and my research indicates it is because HTC loaded a crappy version of bluetooth with the phone, not the true 2.1 version that is in other phones. Has anyone found a workaround/fix for this? is it scheduled to be fixed in Froyo?

View 5 Replies View Related

HTC Desire :: Volume On Speakers And Headhones Low / Workaround For This?

Apr 30, 2010

Just got my Desire and impressed thus far apart from the volume! the earbuds that come with and also a set of Sony speakers I have even at full volume are very quiet (much quieter than my Ipod Touch) is anyone having the same issue or is there a workaround for this?

View 34 Replies View Related

HTC Hero :: T Mobile (UK) Voicemail Charge Workaround?

Feb 4, 2010

Does anyone know of a workaround to avoid TMobile (UK) voicemail charges? Someone suggested I set my own number to dial and collect voicemail and it would be free....but it still charges me Just wondering if other Tmobile UK users had found a way to avoid the charges?

View 4 Replies View Related

HTC Droid Eris :: Workaround For Syncing Facebook Photos Only

Apr 19, 2010

You'll have to manually connect some of your contacts if their names don't match. This syncs their photos, but NOT the rest of their info. It does NOT bring all of your Facebook contacts into your phone and SMS apps.

View 44 Replies View Related

Samsung Captivate : Can't Install APK Files Via ASTRO / Workaround Option To Force It To?

Jul 29, 2010

I have an ATT Captivate Galaxy S...when using Astro to install my APK files...it tells me its not from the market and to protect me blah blah blah...is there a workaround option to force it to install? I heard ATT removed that option

View 4 Replies View Related

Android :: Standby Clock App?

May 11, 2010

Just got myself a new HTC Incredible.It's my first Android phone, and hell my first smartphone at all, and I'm loving it.One aspect that's kind of bugging me, on previous phones I had, it was very easy to glance at the phone to see what time it is.With the Incredible, the screen shuts off completely when it goes into standby, and I have to press the top button to see the clock.It's not the worst thing in the world, but does anyone know of an app out there that can make standby mode display a clock instead?

View 2 Replies View Related

Android :: How To Keep Running App When Phone Goes Standby?

Aug 9, 2010

i'm programming an app that reads sensors values, and I need that it continue saving data while the phone goes standby (the screen go black after 1 minute).

View 2 Replies View Related

Android :: Sensor Not Being Notified When In Standby

May 28, 2009

I am listening events from accelerometer sensor and everything is going right. The problem occurs when phone gets in standby mode and I am not being notified by sensors anymore. Does Anyone know if it's possible to get sensor notifications, by implementing a listener, even if phone is in standby?

View 2 Replies View Related

Android :: Service Is Running Even / If Phone Is On Standby?

Sep 28, 2010

I have a service that spawns a thread which runs a task every 3 seconds.My service runs fine when my phone is on, but when my phone is on standby, the service is often not responding.Any clues as to how I can ensure my service is running while on standby?

View 1 Replies View Related

Android :: Phone Deactivated Or In Standby Mode?

Jun 1, 2010

When I deactivate my Android phone, I push the power button, and the screen then shows nothing more, i.e. it looks deactivated. But when I push back the power button, say, 2 hours after, it directly notices me that I have a new message, if so. How can it know this, if it was shut down? Is the whole device in some standby mode when you turn it off like that? So, does the antenna still works in this case? Is it the right way to use an Android phone? I.e. if somebody calls me, will I be noticed of this call if I deactivate my phone as mentioned above? Or should I let it always turned on for real (i.e. with screen acting, etc.)?

View 8 Replies View Related

Android :: Periodically Wake Up From Standby Mode?

Aug 26, 2010

I have an app that needs to send a periodic heart beat to a server, but when the phone goes into standby mode the background heartbeat thread dies. Is there anyway to wake the phone from standby, send the heartbeat and then go back to sleep programmatically? I want to avoid using PARTIAL_WAKE_LOCK if possible.

View 1 Replies View Related

Android :: Disabling Standby Mode While Running

Apr 13, 2010

How to can to avoid my app goes in stand by while it's running?

View 3 Replies View Related

Android :: Way To Check Phone Is In Standby From A Service

Feb 11, 2010

Anyone know how my service can check if the phone is currently in standby mode? And if I can trigger an event within my service when the phone comes out of standby mode...

View 3 Replies View Related

Android :: NexusOne AudioRecord Randomly Goes To Standby

May 9, 2010

On the nexus one, my app goes into Audio Record Stanby randomly after 0-40 seconds. I'm using the AudioRecord class, and while the standby is reported in the terminal, the AudioRecord instance reports the same states of RECORDSTATE_RECORDING and STATE_INITIALIZED throughout the entire sequence.

The bottom line is that when this anomaly occurs, audio is not captured. and this is what im working to prevent was only able to reproduce on nexus one android2.1 not g1 android1.6

I have looked extensively through the Android C/C++ libraries such as at this file: http://android.git.kernel.org/?p=platform/hardware/msm7k.git;a=blob_p... and [url]

Most interesting to me, is this line in AudioFlinger: [url]

Specifically the bool AudioFlinger::RecordThread::threadLoop()

As you can see, minput->standby() occurs in 4 different places in the code.

View 3 Replies View Related

Android :: Phone In Standby Mode And Alarm Function

Jan 8, 2010

I've used blackberry's for a long time now and love one feature of it. The Standby mode that you can put the phone into and the only notification that will pull it out is the alarm clock. I've found a few alarms that will disable notifications, except calls. Well I don't want any notifications through the night. Only the alarm waking me up in the morning. Is anyone familiar with an existing app that puts the phone in a low energy sleep that only wakes it up for the alarm clock?

View 3 Replies View Related

Android :: Service Stops Running In Standby Mode

May 23, 2009

I'm trying to log the phone's cell movement. So I created a PhoneStateListener that is being called when the CellLocation has been changed. Then it informs a logging service to write that new cell information to a log file.

This works as long as the screen is on. But when the screen goes off, the logging stops.

I have two classes:

The PhoneStateListener gets loaded on boot time public class CellStateListener extends PhoneStateListener { public void onCellLocationChanged(CellLocation location) {...this is the logging service which is informed when the cell location changes listener.onCellChanged(mcc, mnc, lac, cid); ... }

View 3 Replies View Related

Android :: Setup A Custom Droid Standby Screen?

Mar 31, 2010

For example, I want to write an activity that launches when you return from sleep (black screen). How can I set this activity to run instead of the default one? In other words, I want to make a custom lock screen.

View 1 Replies View Related

Android :: Make Application Show In Front Of Standby Screen?

Aug 30, 2010

I am trying to make an application which will triggered by SMS, and show in front of the standby screen. My application will only use a small portion of the full screen, and the background is the android standby screen. I have searched some android examples but those application will always fill full of the screen, can anyone give me some guideline on how to make an such application?

View 3 Replies View Related

Android :: Stop Auto Screen Rotation In App When Unlocking Phone From Standby

Aug 24, 2010

I have an android application that I want to always be running in landscape mode.

I have the following code implemented to keep the app in landscape mode all the time:

inside my activity in the Application Manifest
android:screenOrientation="landscape"

This seems to launch and keep the application in landscape view for the whole duration of the application. Perfect!

However, if I have the app running on my HTC Aria (Android 2.1) and the phone locks, if I unlock the phone, I see the application for probably half a second and it's in portrait orientation and then quickly switches back to landscape mode. It is quite frustrating because all of my views are jumbled around and it looks unprofessional as you can imagine. This happens in both the emulator and on my real phone.

Does anyone know how to stop the application from temporarily rotating when the phone is unlocked?

I have tried overriding onConfigurationChanged() but with no success.

I have also tried putting setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); into the onResume() but the app still shows as the incorrect orientation for a split second when the phone is unlocked.

View 3 Replies View Related

HTC Desire :: Using Battery In Standby

May 14, 2010

When my phone goes into standby (is that the same as sleep mode, BTW?) is it still connected tothe internet ? If not is there a setting that will automatically disable it (I don't mind manually re-connecting it again)?

I don't have anything auto-synching, so I don't need to be connected while I'm not actually using it. (Just thinking of ways of saving valuable juice )

View 7 Replies View Related

HTC EVO 4G :: Dialer Using Battery On Standby

Jun 28, 2010

I usually charge my phone before I go to bed and wake up to it in the morning somewhere between 93% and 97% battery left.

This morning when I woke up I was at 75%. I checked the battery usage history and the "Dialer" used 92% of battery since unplugged.

View 2 Replies View Related

LG Ally :: 49% Cell Standby / Get Rid Of It?

Aug 18, 2010

I know about the 50% without service bug and my phone has it, but I did the airplane trick and I don't have any time without service anymore, but I still have a high amount of time from cell standby. Is there a way to get rid of it? Or is my phone still having a problem? My phone battery will only last about 12 hours, so my battery life has gone up

View 9 Replies View Related

HTC EVO 4G :: What Do Cell Standby And Phone Idle Mean?

Sep 13, 2010

There has been almost no variation from that. Every now and then Display or Wi-Fi would show up as about 2% each, then disappear after a while. That's all.Last night my battery reached 10%, I turned off the power, charged it overnight for 12 hours, unplugged it, and turned the power back on. I noticed two things:

1. My Battery Use list changed drastically. I assume this is actually a better representation of what the list should look like than what I had been seeing for two weeks, but the other thing I noticed was

2. My battery was draining a lot faster than it ever had during the previous two weeks, even during idle periods.My battery had consistently been draining at around 1% per hour idle until today. Now I'm seeing it drop 5% in LESS than an hour while idle (idle meaning the screen shuts off and I don't use it).

So my question is, what do Cell Standby and Phone Idle mean? Previously they had both been 2% and my idle battery use was excellent. But today they both shot up to the 20-30% range and I'm thinking this may account for the excessive battery drain even while the phone is sleeping.Why would these two things be so high? Nothing changed between yesterday and today except that I turned off the phone and turned it back on. I almost feel like I messed something up by simply turning it off!

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved