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

2009-04-09 Thread ATrubka
could create > a new MediaPlayer when you want to play something new. > > On Wed, Apr 8, 2009 at 1:05 PM,ATrubka wrote: > > > Guys, please... > > Is there any Android native code developers around? > > > On Apr 8, 12:38 am,ATrubka

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

2009-04-08 Thread ATrubka
Guys, please... Is there any Android native code developers around? On Apr 8, 12:38 am, ATrubka wrote: > MediaPlayer.reset() always gets invoked. Here's the exact lines of > code: > >                 _mediaPlayer.reset(); >                 _mediaPlayer.se

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

2009-04-07 Thread ATrubka
f the MediaPlayer code is native I'm not sure what should be synchronized. On Apr 7, 9:20 pm, Marco Nelissen wrote: > Looks like you're calling MediaPlayer.setDataSource() on a MediaPlayer > that was already initialized, without first calling > MediaPlayer.reset() > > On Tue, A

[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 gree

[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: http://groups.google.com/group/android-developers/browse_thr

[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 working.

[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 s

[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