Android :: How To Keep Receiving Wave Buffers Of Currently Playing Media

Apr 8, 2010

I can't seem to find the proper audio source for recording/analyzing/receiving the currently played music track (or just any playing media). I'm not talking about the Mic.

The spectrum live wallpaper does this on the Nexus One AFAIK.

How can I keep receiving wave buffers of the currently playing media?
(I would like to support everything from 1.5, but 2.1 specific solutions are also welcome)

Android :: How to keep receiving wave buffers of currently playing media


Sprint HTC Hero :: Adjust Media Volume Without First Playing Media?

Oct 14, 2009

I noticed that you can't adjust media volume without first playing media. Like you have to, for example, press the play button before pressing rocker volume in order to adjust media volume or else you'll just be adjusting ringer volume. This is unfortunate since games also use media volume. So if you wonna start up a quick game in a quiet setting, your in trouble if you were listening music before and never turned down/off the media volume. Unless I'm missing something and there is in fact a way to do it?

View 4 Replies View Related

Media :: Media Player Playing Alphabetically Instead Of Track

Jun 7, 2010

The tracks in an album playing alphabetically instead of by the track number?

View 3 Replies View Related

Android :: Media File Playing Details In Android Media Player?

Aug 31, 2010

Is there any way to get the details of media files that is executed in android(default) media player?

View 3 Replies View Related

Android :: Playing Media File In Android Media Player Application

Apr 14, 2010

I just started with creating my own media player application by looking at the code samples given in Android SDK. While I am trying to play a local media file (m.3gp), I am getting IOException error :: error(1,-4).

package com.mediaPlayer;
import java.io.IOException;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;...........

View 1 Replies View Related

Games :: Not Receiving Text Messages While Playing Angry Birds / Fix It?

Oct 25, 2010

Anyone else having an issue with not receiving text messages while playing Angry Birds? I had multiple people say they text messaged me today during a time while I was playing, but the texts never came through.

View 12 Replies View Related

Media :: Playing Media On Eris

Apr 10, 2010

I had an Ipod touch and just sold it because I got an Eris. I really like the phone but the media player is lame compared to ipods. I listen to downloaded radio talk shows and if I stop and listen to another song, it doesn't save my place. Not horrible in a talk show but in an audiobook, it really sucks. I don't want an iphone if it comes to verizon but I also don't want to have to keep track of two devices. Does anyone know if there is a bookmark capable app for media playing or will there be in the future? Thanks. I did search and didn't find anything on this, so if I missed it somewhere, sorry.

View 3 Replies View Related

Android :: Playing (M3U Files) With Media Player

Jan 8, 2010

I'm trying to play a playlist I get using the MediaStore provider. However, when I try playing a playlist nothing happens. Can a MediaPlayer play a playlist (m3u file) and do I need to set the first track to play? This is my test code in the onCreate() method:

Uri uri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI;
if(uri == null) { Log.e("Uri = null");
} String[] projection = new String[] { MediaStore.Audio.Playlists._ID,
MediaStore.Audio.Playlists.NAME, MediaStore.Audio.Playlists.DATA };
Cursor c = managedQuery(uri, projection, null, null, null);
if(c == null) { Toast.makeText(getApplicationContext(),
R.string.alarm_tone_picker_error, Toast.LENGTH_LONG).show();
return; } if(!c.moveToFirst()) { c.close();
Toast.makeText(getApplicationContext(), R.string.alarm_tone_picker_no_music,
Toast.LENGTH_LONG).show(); return; } c.moveToFirst(); try {
MediaPlayer player = new MediaPlayer(); player.setDataSource(c.getString(2));
player.start(); } catch(Exception e) { e.printStackTrace(); }
I have turned on every volume stream.

View 1 Replies View Related

Android :: Playing Media Through Http/rtsp

Nov 2, 2009

Did anyone try playing audio/video through http/rtsp. I am having a problem with either of the approach.... I am getting an error Command PLAYER_INIT completed with PVMFError I some cases I got Command PLAYER_INIT completed with PVMFErrorContentInvalidForProgressiveDownoload.

The code snippet I am using is given below...

CODE:.....................

The code works fine when I say mVideoView.setVideoPath("/sdcard/vv.3gp"); but not able to play if I give a rtsp/http urls

In case of http it says PVMFErrorContentInvalid for progressive download....

View 2 Replies View Related

Android :: Media Player Put Itself In The Ongoing Group When Playing

Sep 8, 2009

How does the media player put itself in the "Ongoing" group when playing?

View 3 Replies View Related

Android :: Media Player Minimizes & Still Playing Audio

Jul 5, 2010

I would like to find an media player that plays videos but when I minimize or multitask to another app I want the videos audio to keep playing like pandora does. The reason for this is bcuz I rip videos off of youtube to mainly listen to the music.

View 2 Replies View Related

Android :: Media Player Not Playing Sounds On Droid X

Jul 28, 2010

I have some pretty simple Soundboard applications on the Android Market that work flawless on an LG Ally, the Motorola Droid, and the Nexus One, but I recently received an e-mail from a user with the Motorola DroidX claiming that most of the sounds do not work. I've exchanged a few e-mails with him. He claims the Soundboard is the only application running, and he's double checked to make sure that the Media Volume wasn't set to minimum. I really don't have access to one either to play around with. The application isn't doing anything cosmic to play the sounds. Below is a code snippet. Any insights into what might be causing the hang up are greatly appreciated.

public void play(Sample sample) {
Log.v(TAG, "Playing: " + getString(sample.getButtonTextResId()) + " (" + sample.getSoundResId() + ")");
if (mPlayer != null) { mPlayer.stop(); mPlayer.release();
} MediaPlayer player = MediaPlayer.create(this, sample.getSoundResId());
mPlayer = player; if (player != null) { player.setVolume(1.0f, 1.0f);
player.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
@Override public void onCompletion(MediaPlayer mp) { mp.release();
mPlayer = null; } } ); player.start(); } }

View 1 Replies View Related

Android :: Rotation Slows When Media Player Playing

May 17, 2010

I have an application where i play music from media player continuously. I am rotating an ImageView object with RotationAnimation simultaneously while background music is playing. Before music starts playing,the rotation is fine,,but when mediaplayer starts playing music rotation disrupts,and slows down.

View 3 Replies View Related

Android :: Continue Playing After Leaving The Media Player

Apr 28, 2010

I launch the Media Player to play a mp3 file the usual way:

CODE:...........

Leaving the Media Player using the Back button stops the playback. How can I ensure that the Media Player continues playing.

View 2 Replies View Related

Android :: Getting Media Player Error While Playing File / Fix It

Mar 9, 2009

I am also getting the same error while playing the media file

E/MemoryHeapBase(31): mmap(fd=20, size=233472) failed (Invalid argument) E/VideoMIO( 31): Error creating frame buffer heap.

View 2 Replies View Related

Android :: Having 2 Media Player Objects Playing In Sync

Nov 4, 2010

In my android game I want to have a rhythm Mediaplayer object and a lead Mediaplayer object playing in sync. However at the moment the rhythm is a slight bit behind the playback of the lead Mediaplayer object. Is there a way I can make it so that both are started at the same time, for instance using Runnables etc?!It's quite crucial that they play in sync with each other as you can imagine!

View 1 Replies View Related

Android :: Playing Sounds In Game Application Using Media Player

Feb 5, 2009

I am using mp3 sound in my game (used wav format also) while playing sound I get problem as "obtainBuffer timeout (is the CPU pegged)" and then sound gets played after some time i.e it is not synchronized with the game play.

View 10 Replies View Related

Android :: Getting Current Playing Song Details From Media Player

Sep 1, 2010

Is there any way to get the details of current song played by media player?

View 3 Replies View Related

Media :: MP4 Videos Not Playing

Oct 11, 2010

I have a couple of MP4 videos that used to play on my HTC Desire before it got its Froyo uodate, that dont appear to be now. When I click on it to play, it comes up Cannot Play Video - Sorry, this video cannot be played. When I look at the details it has Type : Video/mp4 Am I doing something stupidly wrong? Also is there an easy piece of software that can copy DVDs into a format my Desire will understand. I'm after an ease of use rather than cheap bit of software.

View 4 Replies View Related

Media : MP4 Stream Not Playing / How To Fix

Apr 9, 2010

We're currently launching a site with live (TV) and non-live streaming of video material.

The RTSP live feeds play fine on Android (.sdp extension) however other videos published on the side in MP4 format - don't. Neither the browser nor the Meridian player recognise the files and play them.

Any ideas where we went wrong?

PS. I'm not the guy in charge of the video encoding etc. but I'm looking for some tips and information for our team.

View 4 Replies View Related

Android :: Bug In IntBuffer.put() When Using Direct Buffers

Jun 16, 2009

In a process of switching from indirect to direct buffers for OpenGL geometry specification I've found a problem with the following function in java.nio.IntBuffer class: IntBuffer put(int[] src, int off, int len) this function is supposed to do a bulk transfer of int data from the given array starting at the specified offset. It should be an optimized version of the following code: for (int i = 0; i < len; i++) {buffer.put(src[off + i]);}

View 2 Replies View Related

Android :: MediaRecorder Buffers 1 Second Of Video

Aug 30, 2010

I'm using MediaRecorder.setOutputFile(FileDescriptor fd) over a UNIX socket, so that local code on the device can see the encoded stream in real time (for video streaming out).

What I observed is that the encoder doesn't write encoded frames continuously, when they are produced, but by "bursts", exactly one second apart. I tried both containers (THREE_GPP and MPEG_4) and all three available codecs (MPEG_4_SP, H263, H264), the behavior is always the same. This one-second period is notably unrelated to framerate or bitrate, so it is not flushing by size; rather, it seems to be flushing by time (possibly to mask SD card write overheads ? Bummer, I 'm not using the SD here !). Is it a known limitation ? Is there a known workaround ?

View 2 Replies View Related

Android :: Protocol Buffers (protobuf)

Jul 21, 2009

When using Protocol Buffers with Android (running in the Windows VM) I'm noticing that the first time I instantiate a protocol buffer based class Android lags for some time. When I step through it looks like it's spending a lot of time dynamically loading the protocol buffer classes. Is there something I can do to speed up this process? I haven't tested yet on a physical device, so the delay might not be as bad but in the VM it takes about 30 - 45 seconds to load all the classes and get past that first message instantiation. What I did was downloaded the Protocol Buffers source code. Compiled the.java files. Stuffed them into a .jar. Added the .jar as an external library to my Eclipse project. Generated the .java classes from the .proto files. Added the generated .java files to my project. Ran my project. I'm not sure if I'm doing something wrong it terms of how to reference external libraries with an Android project, but 30-45 seconds seems like a very long time to wait on a 2.6GHz machine. Also, I recently learned that android uses Protocol Buffers internally. Will this cause any sort of conflicts with my included .jar that could be the problem? I *think* the namespace is different but I'm not entirely sure. Lastly. Why did Google use Protocol Buffers internally and not make it available to SDK developers. This makes me very sad knowing that it's all right there and I can't use it.

View 20 Replies View Related

Media :: Playing MP4s On Desire

May 21, 2010

Liking the phone but the video playback is driving me nuts. I transfer Mp4s to the SD card, a new folder called Video and the phone sees them but only plays the audio. These Mp4s all work on my iPod Touch so is there something not right about them for Android? ie do they need reconverting?

They all have .mp4 as extensions and I have tried having the new video file on it's own on the SD card as well as trying it in the DCIM folder as suggested on another forum. Cheers for any help as I'm thinking this is all too much of a faff and I will have to get the iPhone. Shame as the HTC deal with Orange is very cheap.

View 4 Replies View Related

Sony Ericsson Xperia X10 :: Receiving Error When Trying To Install Media GO / Solution For This?

Sep 18, 2010

There was an error during the installation. Module C:Program FilesSonyMedia GoMGDetector.ocx failed to register. HRESULT -2147010895.

Any advice or resolution?

View 1 Replies View Related

Android :: Want To Load A Texture Through Glteximage2d / Buffers

Dec 8, 2009

for all those gl*Pointer functions you need to create bytebuffers through ByteBuffer.allocatedirect. when you want to load a texture through glteximage2d you need to supply a bytebuffer, too. can this be a "normal" bytebuffer or do I have to create this one too via allocatedirect?

View 2 Replies View Related

Media :: HTC Hero Not Playing Audio On Videos

Apr 24, 2010

Every time I go on youtube the video plays but the audio doesn't.

View 1 Replies View Related

Media :: No Volume When Playing Videos On Windows 7

May 26, 2010

I have HTC Desire with Android 2.1 and Windows 7 Premium 32bit. I have created some 3GP videos on the HTC and can play these successfully. When I transfer the file to Windows 7 the playback via Windows Media play doesn't have any sound. Same files playback with volume via iTunes. I'd really like to use these files with Windows Media Player. Is this some sort of codec issue? Why are such task seemingly simple tasks made so difficult?

View 6 Replies View Related

Media :: Playing A Video Transferred From PC To HTC Hero

Jan 8, 2010

I need to know if there is a way for watching .WMV videos on the HTC Hero.

I already know that it will play MPEG-4 videos without a problem (you can use the RealPlayer Video Downloader to download HQ/HD videos from places like Youtube and it automatically saves them to MPEG-4 format).

However, I want to transfer some files like music videos onto my HTC Hero and having tried several times, using the RealPlayer Converter, to convert the .mpg files to .wmv, I can't watch them on the Hero.

However, I recently looked at one of the threads (I think on a different forum) and he said that he could watch videos in WMV format using 750kbps on resolution 480x320. But RealPlayer only allows for 768kbps and resolution as 480p HD as the nearest possible (which was the setting I ordinarily chose).

The other strange thing is that when I go onto the Albums part of the phone to see if I can view any videos, it shows a thumbnail image of the music video (a preview image of the video) and when I play it, I can hear the music, but the video itself fails to appear.

View 4 Replies View Related

Motorola Droid :: Playing / Streaming Media

Feb 12, 2010

I don't have time to dig in right now, and will this weekend if I need to but, is there an app out that will stream the following two URLs:

http://droidtest:droidtest@live.str3am.com:3120/secure
http://onyx.streamguys.com/pianosolo?u=droidtest&p=droidtest

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved