> I wrote here an class where you can add and play sounds hat the same
> timehttp://code.google.com/p/candroidengine/source/browse/trunk/src/at/ba...
>
> On 19 Mai, 14:50, REvolver wrote:
>
>
>
> > HI,
>
> > I'm playing some MediaPlayer instances at the sam
I've tried but I've the same issue... ok , now there are severale
sounds playing at the same time as i cannot implement the isPlaying
check...
How can I check if a SoundPool is already playing? Pheraps I need to
use the same SoundPool for each sound set that chould play one sound
at a time?
What do
HI,
I'm playing some MediaPlayer instances at the same time (4 or 5) but
sometimes when I try to start a new media player it doesn't work and
an error is shown on the log:
E/AudioFlinger( 1073): no more track names availlable
E/AudioTrack( 1073): AudioFlinger could not create track, status: -12
E
Yes, I've already read the article...
This is th code for the onPause and onResume methods.
public void onResume(){
super.onResume();
if(!mWakeLock.isHeld()){
pm =
(PowerManager)getSystemService(Context.POWER_SERVICE);
if a
> lack of releasing bitmaps is the problem or not.
>
> On Mar 16, 4:23 am, REvolver wrote:
>
> > No idea?
>
> > On Mar 4, 8:59 am, REvolver wrote:
>
> > > > - Are these fields static or are they instance-fields?
>
> > > Y
No idea?
On Mar 4, 8:59 am, REvolver wrote:
> > - Are these fields static or are they instance-fields?
>
> Yes, they're static.
>
> > - When do you call loadAlphaBlinkingBitmaps or loadProxyBitmaps
>
> All the load Bitmaps methods are called
-fields?
> - When do you call loadAlphaBlinkingBitmaps or loadProxyBitmaps
> (during onCreate, during onPause, ...)
> - When do you clear out the mBitmap and mProxy caches? (in onPause,
> onDestroy, ...?)
>
> On Mar 3, 6:05 am, REvolver wrote:
>
> > Ok,
>
> >
t of bitmap memory, and if I do it
2 times after pause->resume->pause->resume my memory consumption grows
(driving me to a crash)?
On Feb 25, 6:03 pm, Streets Of Boston wrote:
> It could be anything. You have to post some code-samples that you
> think code be suspicious.
> Check
None?
--
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, v
I've also tracked the memory (the external heap) with DDMS and it's
stable if I don't pause my application (about 7 mb for the gallery
view and about 10 mb for the gamescreen view), but after pausing and
resuming the application my gamescreen memory is 13 mb... Any ideas?
--
You received this mes
Hi,
My application uses a single activity to switch between different
views. I premise I'm loading a good amount of bitmaps in one of this
view (say the gamescreen view) constructor but I recycle everything on
the onDetachedFromWindow method. All the Bitmaps are static and most
of them loaded with
11 matches
Mail list logo