[android-developers] MediaCodec encoding raw audio data into AAC

2013-01-11 Thread roemer
I'm using the MediaCodec to encode raw audio data into AAC. It's basically working and I'm getting some output that I write to a file. But the file seems to be invalid since no player (vlc, winamp, mediaplayer) can play it. AFAIK winamp should be able to play the raw aac file. If I'm using the

[android-developers] MediaCodec API (16) usage, documentation and audio files

2013-01-10 Thread roemer
Hello, my goal is to play/record audio data and de/encode it using the MediaCodec and AAC. I worked my way through the MediaCodec(.*) documentation (which is very poor I think) and am now able to en/decode audio. Currently I'm writing the encoded data into a file. The problem is that there

[android-developers] moveTaskToBack(true)

2012-09-04 Thread roemer
Hi all! I have a singleTask activity which contains the UI for a long running background service. If the service is currently active and doing something and the user presses the back button, It is certain, that the user will return to the activity later. So I wrote: @Override public void

Re: [android-developers] moveTaskToBack(true)

2012-09-04 Thread roemer
), which gets more and more laborious I think... but you are probably right.. recreate it and store important data in preferences or so... Am Dienstag, 4. September 2012 18:13:44 UTC+2 schrieb TreKing: On Tue, Sep 4, 2012 at 7:30 AM, roemer roman.sch...@gmail.comjavascript: wrote: Any

Re: [android-developers] moveTaskToBack(true)

2012-09-04 Thread roemer
maybe i explained it bad, both of you are right of course the service knows in which state it is... the service is running and does some stuff... but due to separation of concern.. the service doesn't even know if there is a ui... or if there are more uis... or what ever the ui is... and

Re: [android-developers] moveTaskToBack(true)

2012-09-04 Thread roemer
and during the service is working.. it just fires out some updates to who ever is listening... i've done this... i've completed that and according to that, the ui can change further on, in what ever way it wants Am Dienstag, 4. September 2012 19:19:38 UTC+2 schrieb roemer: maybe i

[android-developers] building ffmpeg-0.10.2 with ndk-r7c

2012-04-23 Thread roemer
hey there! i've successfuly configured ffmpeg and am now stuck in compiling it. I always get the warning: WARNING: /android-ndk-r7c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-pkg-config not found, library detection may fail. and then the build fails