Android : How To Play A Sound File Under Droid Browser?
May 18, 2010Is there any way to play a sound file under Android browser?
View 1 RepliesIs there any way to play a sound file under Android browser?
View 1 RepliesI 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 RelatedCan we play sound file in phone line (in background)?
View 4 Replies View RelatedI 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.
In my application, RTSP streams play only sound without video, but if i specify the video path as a local file, it plays the video and audio.
How would i get the RTSP streams to show video?
CODE:.................
When I receive sms sound files my htc eros will not play.
View 3 Replies View RelatedUsing the default alarm clock, this morning i noticed my alarm was only vibrating and is no longer playing any sound. Has anyone else had this problem? I have the volume on all other applications turned up, not sure why this is suddenly doing this.
View 10 Replies View RelatedI am writing a small piece of code ...
View 1 Replies View Relatedi have a url for the video file.the format of that file is itunes M4V. i want to play it in android mobile. is it possible? if not so let me know?
View 2 Replies View RelatedI need to be able to play an encrypted file in Android. The file is AAC. The only way I can see to do this is either: decrypt the file to internal private storage and point the player at that file to play, or decrypt & decode the file to pcm and feed it to an AudioTrack. 1 isn't great because it takes a long time to do that. 2 isn't great either because I don't know how I can take advantage of the HW decoder to do this.
View 1 Replies View RelatedEvery time I try and stream a video from browser it wont play it. Says its not supported even though it is a type that is.
View 7 Replies View RelatedI have been lurking on these forums (daily) since I got my Eris in January. So I finally decided to sign up, so I can post as well.
As my header said, how do I play Mafia Wars with the stock browser?
I can get to the Facebook page just fine, but can't seem to get to the application.
Once by playing around I got Mafia Wars to load, but then it said at the very top "Sign up for Facebook to use Mafia Wars", so I did that and it took me back to the FB homepage.
I am trying to play file which is stored in SDCARD in emulator. I have Linux O/S. So i need to provide command in run configuration. I am providing following parameter.
-sdcard /usr/android/sdcard/mysdcard.iso -audio oss [i]
The following is my code to play file.
try { mMediaPlayer.setDataSource("/sdcard/test_cbr.mp3"); mMediaPlayer.prepare(); // Giving error. mMediaPlayer.start(); }
I'm a novice user writing my first android application. I have the need to upload a file to a webserver from the device. I googled enough before joining this forum and not at one place did I find a suitable solution. I would like to know how to launch the file browser when user clicks on the "Browse" button to upload a file.
View 3 Replies View RelatedI am new to Android.
I need the sample code of an mp3 player in android to play more than one file.
i.e Song should be played one after the other from a particular folder in our system
Can any one post some sample code.
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 RelatedEvery 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 RelatedSo 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.
Does anyone know of any instructions or tutorials for how to play an mp3 on my computer on my droid, without having to transfer the file?
View 1 Replies View RelatedJust wanted to post on here that I was able to play a .wmv file on my Droid Eris today.
I am running the 2.1 leak from a few weeks ago.
Anyone else able to do this? Just curious and looking to spread good cheer.
Trying to ADB push and this is the error I get:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:Documents and SettingsLori>cd/
C:Documents and SettingsLori>cd C:Documents and SettingsLoriDesktopAndroid
SDKandroid-sdk-windowstools
C:Documents and SettingsLoriDesktopAndroidSDKandroid-sdk-windowstools>moun
t -oremount,rw -t yaffs2 /dev/block/mtdblock4 /system
'mount' is not recognized as an internal or external command,
operable program or batch file.
C:Documents and SettingsLoriDesktopAndroidSDKandroid-sdk-windowstools>rm/
system/app/Browser.odex
'rm' is not recognized as an internal or external command,
operable program or batch file.
C:Documents and SettingsLoriDesktopAndroidSDKandroid-sdk-windowstools>adb
push libmtwebcore.so /system/lib
failed to copy 'libmtwebcore.so' to '/system/lib/libmtwebcore.so': Read-only file system
C:Documents and SettingsLoriDesktopAndroidSDKandroid-sdk-windowstools>adb
push Browser.apk /system/app/Browser.apk
failed to copy 'Browser.apk' to '/system/app/Browser.apk': Read-only file system
C:Documents and SettingsLoriDesktopAndroidSDKandroid-sdk-windowstools>
Im making an app, and i want it to make a sound when a activity is opened , the sound file is in R.raw.sound_file , if someone could do some example code to make my app play a sound that would be great.
View 1 Replies View RelatedSince i don't want to have double entries, but would like a fast spreading, here's my post:
http://groups.google.com/group/android-beginners/browse_thread/thread...
I'm trying to use a ListPreference to decide which sound to play on a button click.
I have this at the top:
public String greensound;
Here's my OnClick code:................
I also tried removing the default value here it didnt seem to change anything but, should it be removed?
Here's my Settings.java:
package com.my.app;
CODE:...........
And here's my array's if that will help at all:
CODE:............
Here's a logcat that kinda looked possibly related:
CODE:..........
For those that might ask here's my DDMS > File Explorer > Data > Data > packageName > SharedPreferences This is what was in there:
com.my.app_preferences.xml:
CODE:...................
This all really confuses me more because...It looks like greensound does == gsone so.... I don't understand whats wrong its not even playing the default sound. and yes i've tested all this code without the listpreference code and they work great. I'm not sure what's wrong?
I have an Android app which needs to play a sound resource on a timed interval, say every 120 seconds. I know how to access the sound resources and play them, however it's time timer part I'm not sure of. What's the best approach?
View 1 Replies View RelatedI am playing one audio file when call arrives so the caller can receive it at other side but the issue is yet the opposite caller is not able to listen it what could be wrong in it. Can some one tell me what can be the issue in it ?
View 2 Replies View RelatedMarketplace thinks I have this application installed, but won't let me uninstall it. Rumor is that re-installing the APK file will fix it, but there is none to be had on the web. Anyone have the APK file for dolphin? It needs to be 1.2.99 (or later) because the package name was changed in that version.
View 2 Replies View RelatedIn my class I have an OnTouchEvent and when a certain area is clicked, it will play a sound (Not sure if this is the best way to go about this?). However I have been running into bugs using the MediaPlayer. Sound will double play and then eventually sound will stop completely. I am wondering how to efficiently play 5 sounds. The user will be clicking the screen in different areas and different sounds will be playing. I have the attached code below but it only has the first area. Say I add in another area how would I go about changing the media player to play a different sound.
@Override public boolean onTouchEvent(MotionEvent e) {
x = e.getX(); y = e.getY();
if (x >= 232 && x<=287 && y>=117 && y<=157) {
//PLAY SOUND } return true;
Could it be possible now, which we can develop an Android application having the following requirement for its working steps Automatic receive the call, then Play some sound out to the caller, wait for DTMF response, then Record the caller sound (in the case that they permit, by pressing 1 as DTMF response)Callee can play back the recoreded sound later.
View 1 Replies View RelatedI have this task: Need to play short (0.3-0.4 sec) sounds all the time. When sound is played, it should start again, etc. User can press button to reset sound - it should stop and lunch.
I did many tests. I tried to create 1 MediaPlayer, then do this: MediaPlayer.OnCompletionListener complListener = new MediaPlayer.OnCompletionListener; code...
It works great on emulator and on device if I have eclipse+debugger on. When I disconnect debugger, I have very strange errors - sound can stop at all (till program restart), sound can start "repeating" (play 0.1-0.2 sec, then restart). Can someone please provide me some info about problem?