No Sound With SeekTo() M3u8 File On Galaxy Tab 2?
Jun 7, 2012
I have the source code of an appli I had to make it works with HLS (.m3u8 files). It works well but there's still a problem.
When I click on Resume button, the bar goes to the specific time when I stopped playing but there is no sound ! ONLY with HLS, it work well with .mp4.
I guess it is due to seekTo() from MediaPlayer because when I disable that, the sound works well but of course, the stream starts at the beginning.
View 1 Replies
Jun 16, 2010
I'm implementing a custom video player because I need custom video controls. I have an app with only one activity, which on start-up shall starts playing a video right away.
Now, the problem I have (on my Nexus One):
I don't want the video to start from the beginning, but from a later position. Therefore I do a seekTo(16867). Since seekTo is asynchronous, I place the start call of the mediaplayer (player.start()) in the onSeekComplete of the onSeekCompleteListener.
**The strange behaviour I experience though is that I can see/hear the video playing from the beginning for a few millisecs before it actually plays from/jumps to the position I seeked to. But - on the other hand - the Log output I call before the player.start returns the correct position 16867, where I seeked to.**
Below is the relevant code section, the complete class is at http://pastebin.com/jqAAFsuX
CODE:...................
View 2 Replies
View Related
Apr 27, 2009
I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from the device when I call mp.start () after setting mp.seekTo(0); but the player calls onCompletion() without playing any sound, this is observed randomly on most of the sounds
My sounds are of short duration mostly less than a second.
I am using a separate MediaPlayer for each sound (as I need this) -
There are almost 28 sounds in my game so i will be creating 28 MediaPlayers.
Below is the attached code for player
Also If I try to play many sounds one after the other in a short period of time i get an error saying "no more track names available". can u tell Why this is happening...?
check the below code:
CODE:........
View 9 Replies
View Related
Aug 24, 2010
As per this post, An idea for great battery life
Could someone with good battery life on a Galaxy S post their batterstats.bin file?
I'd like to try this fix and not sure if the batterystats file would work from the other thread since its a different phone.
View 1 Replies
View Related
Mar 11, 2010
I am using the following code trying to pull an .mp3 or .ogg file from my raw directory and saving it to the sd card and activating it as a ringtone. Although, it keeps failing for some reason or another and doesnt actually copy the new file to the sdcard.
CODE:...................
View 2 Replies
View Related
Mar 19, 2009
Does someone could tell me if it is or not possible to get raw data from a sound file?
View 5 Replies
View Related
Jul 22, 2010
Can we play sound file in phone line (in background)?
View 4 Replies
View Related
Dec 11, 2009
I have a problem setting a ringtone from a resource in my app:
Uri uri = Uri.parse("android.resource://com.package.app/" + R.raw.sound1); RingtoneManager.setActualDefaultRingtoneUri(this, RingtoneManager.TYPE_RINGTONE, uri);
I've noticed also some people had the same problem but got no answers. Do any of you guys have any idea of how making this work? (without having to copy the file to the sdcard)
View 2 Replies
View Related
Nov 6, 2010
i like the sound ringtones and notification sounds on htc evo4g and would like them on my droid x does anyone have the sound file?
View 5 Replies
View Related
Jan 22, 2010
Is it possible to play a notification sound from a sound file inside the application package ?
Where should this file be stored in the apk (/res/raw or /assets) and what should be the URI to pass to the notification ?
notification.sound = Uri.parse(... ? ...);
View 2 Replies
View Related
Jan 27, 2010
Every time I get a jpeg message that has sound I have to open the picture and the sound separately and that takes away from the whole "funny" experience. Then what's the point in that.
View 2 Replies
View Related
Jul 23, 2010
I want to play sound file on phone line..Is it possible.If yes then how to do that..which class should i need to refer.
View 1 Replies
View Related
May 18, 2010
Is there any way to play a sound file under Android browser?
View 1 Replies
View Related
Jun 1, 2013
If the sound made when typing on Blackberry 10 devices can be used in the same way for Android devices?
View 4 Replies
View Related
Jul 16, 2010
Blackberry user for the last 6 years. Just left the Storm & received my DInc today! A friend of mine sent me a mms with a sound file attached that I want to use when receiving text messages. I clicked the message & saved the file but cant seem to locate it anywhere. Anyone know how I can locate this file & set it as my default text sound?
View 12 Replies
View Related
Jul 31, 2010
Why is that i can`t assign any MP3 file from SD card as ringtone or notification sound from settings tab?
View 1 Replies
View Related
Aug 19, 2009
I have created an basic sound recorder application using MediaRecorder class. It has 3 buttons i.e.
1.Record: Start recording
2.Stop: Stop recording
3.Play: Play recorded file ( 3gp format)
I can record any number of files using this. Each files gets name as audio1,audio2 ..etc.The problem is after recording the file I can play it using play button. But if I exit my application I am not able to see that file listed in music menu in emulator. But at the same time when i browse my sdcard using eclipse I can see the recorded audio file. ( I have aleady mounted sdcard image and can see other sdcard content in emulator)Now if I close the emulator and relaunch it I can see that file in emulator music menu. Now suppose that file name is audio1.3gp. If I record a sound using my app it will record it using name audio1.3gp on same location. This time if I goto music menu I can see audio1.3gp file with latest recorded audio.
View 5 Replies
View Related
Dec 2, 2008
Is there any program that can edit a sound file to make it louder when used on the g1?
View 1 Replies
View Related
Apr 26, 2010
I am having problems getting videos to play on my HTC Desire. I have converted my .avi files into Mpeg4 so as the device could read them ok. I'm using the free programme 'Handbrake' to convert the files. And it does so with no problems. The new mpeg4 files play with sound and image.
The problem occurs when I transfer the images onto the phones SD card. The video files are picked up via the camera folder (where you can play videos as there is no actual video player) as well as on the video player app I downloaded today - 'mVideoPlayer', without any problems but when I click to play the video the screen is black and only the sound works (even though on my pc the file played fine).
Do I need to download a codec or something? I would have thought that as the Desire was compatible with mpeg4 files that it would play them straight off without having to add software.
View 5 Replies
View Related
Jul 23, 2010
So does anyone know the location of the sound file for the double-beep camera focus? I found the "camera_click" and the "videorecord" sound files but don't see the one for the focus. It's not located in system/media/audio/ui like the other 2 camera sound files.
I really hate the double-beep focus sound and yes I know 3rd party camera applications will enable you to silence it but I was looking to just replace the sound file with a silent sound file instead.
View 2 Replies
View Related
Sep 8, 2012
First there is this:
Code:
File wave1 = new File(wavFile1);
if(!wave1.exists())
throw new Exception(wave1.getPath() + " - File Not Found");
[Code]...
but android dosen't support java.sound.sampled
there is also this:
Code:
private void merge2WavFiles(String wavFile1, String wavFile2, String newWavFilePath) {
long RECORDER_SAMPLERATE = 44100;
long RECORDER_BPP = 16;
[Code]...
but is also dosen't work.
In all cases the result sound file is empty without sound.
How can I merge two *.wav files?
View 1 Replies
View Related
Aug 3, 2010
Is is possible to assign a personal sound file to the gmail notification or am I stuck with the factory sound notifications?
View 11 Replies
View Related
Dec 14, 2011
I followed the effen manual to flash a new ROM for my HCT Desire HD on Monday, December 12th with absolute success. However, I have lost the start up sound file and when I boot my android, it boots in quiet mode. I searched for a solution and found many threads explaining how to disable it, but very little on how to enable it.
The problem is when I open my SDcard and look in the media/audio/notifications all I have is a facebook.mp3 file, I do not have any other files that would allow for the start up sound to open on boot.
View 9 Replies
View Related
Jul 29, 2010
Since the latest firmware removed the vibrate option on the drop down tray and I usually use 3-4 profiles on my phone now the silent/vibrate/normal option was perfect.. What app can you guys recommend for a quick profile change?
View 1 Replies
View Related
Mar 9, 2014
I am using a Samsung Galaxy S4 on android 4.3 Recently i tried to make multiple phone calls and when in the call i haven't been able to hear the person on the other end and they cant hear me (This also happens when i receive a call) however when my friend calls me over skype on my phone the speaker and mic is working perfectly fine and we can talk
the only thing i can think of is that recently i hooked up my bluetooth headset to my phone and made a phone call to a friend and since then i haven't been able to hear anyone when making a phone call
View 4 Replies
View Related
Jul 24, 2012
I got a new Gio for my son but there is something very strange about the phone.The normal ringtone can go very hard but all the other tones are so low of volume that you cant here them when the phone is on the table in front of me.
The volume is at max but still cant here it.This is with sms , mail , whatsapp and more.
View 4 Replies
View Related
Mar 25, 2010
I am trying to play the bigger size audio wav file(which is >20 mb) using the following code(AudioTrack) on my Android 1.6 HTC device which basically has less memory. But i found device crash as soon as it executes reading, writing and play. But the same code works fine and plays the lesser size audio wav files(10kb, 20 kb files etc) very well.
P.S: I should play PCM(.wav) buffer sound, the reason behind why i use AudioTrack here. Though my device has lesser memory, how would i read bigger audio files bytes by bytes and play the sound to avoid crashing due to memory constraints. Code...
Could someone guide me please to play the AudioTrack code for bigger size wav files?
View 1 Replies
View Related
Jul 18, 2010
How to diseable this very loud samsung's sound during the power on and off process?
View 1 Replies
View Related
Oct 7, 2010
Looking for some help, just got my SGS a few days ago and m having trouble setting a sound as my text message alert. I have downloaded a few soundboards and want to use one of them....i press and hold the sound i want and set as my default notification.....i then go into settings and choose the relevant sound but everytime i get a text I'm still getting the stupid t-mobile msg sound.
View 1 Replies
View Related
Dec 15, 2011
I have an Epic 4g galaxy S, the text notification just stopped. I didn't make any changes to the phone it just stopped on it's own. It still vibrates but no sound. The phone still rings, so I know it's not a problem with the sound. Also I cannot retrieve my hotmail, I get an "unable to connect to server" message. To fix the problem I have tried to reboot, removed the sd card and reinstalled it and have checked my settings yet none of these fixes have worked
View 2 Replies
View Related