Comments (5)
If I'm using it in Activity all is working nice and time is showing up.
from audioview.
As I see the getDuration method is returning -1. It is the same behaviour for the
http://programmerguru.com/android-tutorial/wp-content/uploads/2013/04/hosannatelugu.mp3 which is included in sample app. Hm.
from audioview.
If I'm using it in Activity all is working nice and time is showing up.
But where it does not work?
Default media player in Android does not provide duration for track from sample app for some reason. I thought it's because of remote location (from Internet).
from audioview.
It is not work in Fragment. I can show you screenshot from Activity, and it is showing time correctly. It is strange.
from audioview.
But maybe it is not related. I am using audio caching... maybe it is somehow not working for fragments piece and working on activity side. Will check.
from audioview.
Related Issues (19)
- java.lang.IllegalThreadStateException HOT 1
- How to put Progressbar HOT 6
- its a great library... How to show notification without audioview2 ? HOT 1
- setDataSource(List<Uri>) kotlin not working
- Playing next / previous track HOT 1
- Music stops on sreen rotation.
- Can it stream audio from url? HOT 1
- Issue in UI on playing audio from url
- Audio not playing automatically with start() method HOT 1
- java.lang.NoClassDefFoundError: Could not initialize class android.media.MediaPlayer
- Crash app when click on close icon in notification
- render issue for layout in my androix
- Android 12 pending intent issue
- java.lang.IllegalStateException.android.media.MediaPlayer.getCurrentPosition HOT 4
- Please add license information for your library HOT 1
- AudioPreparedListener HOT 1
- Does it support for UI customization. HOT 1
- Crash in ViewPager HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audioview.