[android-developers] Re: ERROR/MediaPlayer(1066): setDataSource called in state 128

2009-04-09 Thread ATrubka
I agree that it's most likely me doing something wrong. It looks like when the audio file is about to end the state of MediaPlayer gets changed in the native code. And maybe reset() doesn't take effect during this process while setDataSource(), invoked right after, finds player not to be ready.

[android-developers] ERROR/MediaPlayer(1066): setDataSource called in state 128

2009-04-07 Thread ATrubka
Hi, guys. I'm using MediaPlayer and sometimes when first audio is about to end and I click to the next audio I get the exception below. Looks like the MediaPlayer is in some weird state of stopping playing and cannot accept audio at the moment. The exception goes to the native code which is

[android-developers] Re: ERROR/MediaPlayer(1066): setDataSource called in state 128

2009-04-07 Thread ATrubka
PM, ATrubka atru...@gmail.com wrote: Hi, guys. I'm using MediaPlayer and sometimes when first audio is about to end and I click to the next audio I get the exception below. Looks like the MediaPlayer is in some weird state of stopping playing and cannot accept audio at the moment

[android-developers] How to display local file in WebView

2009-02-28 Thread ATrubka
Hi, guys. I thought it might be interesting to some developers. Here's a complete working example of ContentProvider for this purpose: http://blog.tourizo.com/2009/02/how-to-display-local-file-in-android.html I also found a topic here:

[android-developers] Weird problem with connecting to a service

2009-02-27 Thread ATrubka
I'm trying to connect to a service, but for some reason connection's onServiceConnected() never gets invoked with no other errors. It's not the only service I have and they work fine. Even more. This one was working before as well, but after adding other services to application it stopped

[android-developers] sdcard file permissions for services

2009-02-26 Thread ATrubka
Hi, guys. I'm trying to download a file to sdcard. When I do it from Activity everything works fine. As soon as I run the same code from a service (which runs in :installerservice process) it complains about directories being write protected. My sdcard has the following permissions: d---rwxrwx

[android-developers] Guys from development team

2009-02-17 Thread ATrubka
I don't mean to be rude, but when you have a chance please rename this: LabelAndIconIndicatorStategy to this: LabelAndIconIndicatorStrategy :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.