That code is very old and based on a pre-release SDK. Try looking at
the code here:
http://developer.android.com/guide/topics/media/index.html
On May 14, 7:18 pm, weird0 amiredi...@gmail.com wrote:
Hi guys,
I have implemented the VideoPlayer example from the following link:
There is no way to start two audio tracks simultaneously in the
current API. What you are asking for is an advanced audio API like
ASIO that has support for synchronizing multiple audio tracks. We'll
probably add something like that in the future, but there are higher
priorities at the moment.
Try calling stop() before you call reloadStaticData().
On Apr 29, 5:35 am, peter.kullm...@googlemail.com
peter.kullm...@googlemail.com wrote:
Hi,
I am using AudioTrack to play a sound sample in static mode.
I can manage to have it played once, but fail on replaying the
AudioTrack.
The docs
, Dave Sparks davidspa...@android.com wrote:
There is no way to start two audio tracks simultaneously in the
current API. What you are asking for is an advanced audio API like
ASIO that has support for synchronizing multiple audio tracks. We'll
probably add something like that in the future
No, it is not possible.
On Apr 15, 10:35 pm, Joao Bosco joao.bosco.sei...@gmail.com wrote:
Does g1 support play music into gsm channels?
When i answer the call, I want to play my local music to the caller through
gsm channel.
the caller will hear 2 sounds.. my voice and the local music.
There is no way to record in WAVE format with current version of
Android. With the Cupcake SDK, you can record and write your own WAVE
file.
On Apr 14, 2:13 am, dragonksn dragon...@gmail.com wrote:
Dear all,
I used to record an audio file in 3gp format and AMR audio encoder by
using this
We have no plans to support this function in the framework. It's a
significant security risk (allowing an application to snoop the frame
buffer), and on some hardware, the app processor may not even have
access to the final framebuffer.
On Mar 24, 8:11 am, Cartouche hafid.s...@gmail.com wrote:
the framebuffer,
or it's really impossible to do what I want ?
Cartouche.
On 25 mar, 07:22, Dave Sparks davidspa...@android.com wrote:
We have no plans to support this function in the framework. It's a
significant security risk (allowing an application to snoop the frame
buffer), and on some
3, 11:38 pm, Dave Sparks davidspa...@android.com wrote:
There are 3 things that affect volume:
1. The stream volume controlled by the user. Your application should
never touch this volume unless it is a control panel (an example of
this is a location-based service that silences your phone
It is currently not possible to access GSM audio from the application
processor from the Android stack.
It is possible to control DTMF signaling, start new calls, and control
almost all other aspects of telephony.
On Mar 4, 5:19 am, Jozef Habdank jahabd...@gmail.com wrote:
Hello Android
There are 3 things that affect volume:
1. The stream volume controlled by the user. Your application should
never touch this volume unless it is a control panel (an example of
this is a location-based service that silences your phone when you are
in a theater).
Assuming your application is some
No, Android does not have support for RA formats.
On Mar 2, 10:04 am, AA ayma...@gmail.com wrote:
Is there a way to play real audio files on my G1?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners
We are not supporting native applications at this time.
On Feb 26, 12:52 am, Tamás Iván ivant...@gmail.com wrote:
Is there a way to send raw PCM data directly to the Android player
engine in C++?
If yes, which class supports this use case?
I am porting a huge C++ application with its own
Unless I'm mistaken, Music Player currently doesn't support URL's in
playlists. I think playlists are stored in the DB, not as flat files.
We're looking at improving support for streamed content in a future
release, including playlists with mixed remote and local streams.
There are some
There is limited support for streaming MP3 over HTTP in 1.0 release.
You simply pass in the URL you want play. This requires an HTTP 1.1
server (not Shoutcast). There is no support for extracting metadata
from the stream.
Cupcake adds the capability to stream raw PCM audio from your Java
Officially, we do not support native libraries in SDK 1.0. We plan to
provide support for native libraries in the near future.
On Feb 15, 11:19 pm, Ashutosh Agrawal ashuto...@lge.com wrote:
Hi,
Though I have gone through the available documentation and the source code,
I am somewhat
No, that is not possible with the G1 at this time. The application
processor does not have access to uplink or downlink audio.
On Feb 15, 12:59 am, frizzo rg...@vbrad.com wrote:
If I am on a line with another person and I switch to another app and
play a sound using the code below:
Try the repo-discuss list. This list is for beginning application
developers.
On Feb 14, 4:54 pm, jbr jbrsubscr...@gmail.com wrote:
When I try to set up my android dev. environment it fails with the
following output. Can someone perhaps give me some pointers as to what
is happening here?
I
The start() only blocks for a fraction of a second. We use this code
all the time all over the code and it would break a lot of things if
it did block until playback completes.
I'm pretty confident that you have a bug in your code somewhere.
On Feb 13, 1:16 pm, frizzo rg...@vbrad.com wrote:
I
I wonder if the problem is the 48KHz sample rate. I'm pretty sure we
test it for MP3 playback, but I'm not sure that we have any test
material for MP4 files.
I'll ask someone to look into that.
On Feb 13, 7:50 am, Strawp ikwall...@gmail.com wrote:
Wondering if any details from mplayer would
The res directory inside your source tree does not equate to a
directory on the device. It's just a convention for telling the aapt
compiler what resources need to be included in the APK. Anything you
put in the res directory ends up zipped up inside the APK file along
with the Java code.
If you
PM, Dave Sparks davidspa...@android.comwrote:
It's on the roadmap for Cupcake.
On Feb 10, 4:06 pm, clark clarkd...@gmail.com wrote:
All you really need is a method to access the raw data of the sound.
With that you can do whatever kind of DSP stuff you want. The real
question
There is no support for MPEG4-ASP required for XviD.
I'm not sure why you're not hearing sound from the MP4 clip. Is this
emulator or a G1 device?
http://developer.android.com/guide/appendix/media-formats.html
Some encoding tips:
H.264 (AVC) is preferred for G1 due to h/w acceleration. Max
with the app that produced it. I doubt this would affect
sound data (and besides it works on other systems).
I will try a lower bitrate video. Not sure what else to try.
On Feb 11, 11:35 am, Dave Sparks davidspa...@android.com wrote:
There is no support for MPEG4-ASP required for XviD
You can't upload your audio file into res/raw.
You can place an audio file in the res/raw folder when you compile
your code and aapt will compile it into the APK along with the code
and other resources. You can then play it by using the MediaPlayer
with code roughly like this:
MediaPlayer mp =
information. Should i be using the
ImageManager to save the images? I still can't for the life of me see
where the rest of the EXIF information comes from either!
Any ideas?
Cheers,
George
On Feb 10, 7:46 am, Dave Sparks davidspa...@android.com wrote:
That looks reasonable to me. What
to the card over the air.
On Feb 9, 11:55 pm, Dave Sparks davidspa...@android.com wrote:
There are 2 ways that the average user is going to add files to the SD
card:
1. Remove the SD card from the device, and plug it into a PC or other
device to transfer files.
2. UMS mount the SD card
On Feb 10, 5:49 pm, Dave Sparks davidspa...@android.com wrote:
As far as I can tell, the only information we pass down through
theCamera.java layer to thecameradriver is geo-location. All the other
EXIF data comes from the driver itself.
ImageManager can be used to write additional EXIF data
some DSP algorithms on
it, i.e. a guitar tuner!
Thanks,
~clark
On Jan 8, 10:23 pm, Mr.Black vancoolbl...@gmail.com wrote:
Oh cmon man ... make it happen please coz, i will use it too
Thanks.
On Fri, Jan 9, 2009 at 10:39 AM, Dave Sparks davidspa...@android.comwrote
This is not supported in SDK 1.0. You must have a surface to display
the video. If the surface is destroyed, you must pause the video.
On Feb 8, 3:23 am, PianoPan piano...@gmail.com wrote:
Hi,
I refer to the code of apidemo to write a program to play video. I
use the MediaPlayer to play the
What are you trying to accomplish by scanning a path or the entire
phone periodically? We try to discourage this because it affects
battery life.
The correct way to handle a new media file is to send an intent to the
MediaScanner to scan the file immediately after it is created.
On Feb 8, 10:41
, 1233744883);
mCamera.setParameters(parameters);
mCamera.takePicture(null, null, mPictureCallback);
return true;
}
return false;
}
On Feb 6, 6:16 pm, Dave Sparks davidspa...@android.com
the database to get updated.
Looking into intents, I came across MEDIA_MOUNTED. I seek your opinion
on
using this intent to trigger MediaScanner to scan the sdcard when the
user
wants to. Bad idea? Let me know!
Thanks,
Rohan
On Feb 9, 9:53 pm, Dave Sparks davidspa...@android.com wrote
The SD card will be mounted read-only if any file system corruption is
detected. Current remedy is to mount the SD card in your computer and
use the file system checker to correct the problems.
I believe Cupcake will fix corruption when the SD card is mounted,
with a notification to the user
regarding an EXIF helper class, any
pointers?
Thanks,
George
On Feb 6, 3:28 am, Dave Sparks davidspa...@android.com wrote:
If you wrote your own app, you need to use the location services to
get position and use the EXIF helper class to set the coordinates.
We may have found
See MovieView.java in the open source tree. It should include code for
the MediaController class.
On Feb 6, 3:37 am, Er. syed imran ali imran...@gmail.com wrote:
hello Dear friends!
i am trying to implement seekbar or progress bar, but i am getting
problem to synchronize with file.
so, if
You can't modify the built-in version, but you can download the source
code and modify to suit your needs and load it onto your device as a
different application. Go to android.git.kernel.org and look for
packages/apps/Music in the repo manifest.
On Feb 6, 3:32 pm, dent_a karl.bana...@gmail.com
If you wrote your own app, you need to use the location services to
get position and use the EXIF helper class to set the coordinates.
We may have found a bug in the G1 camera driver that affects altitude
and certain geo-locations near the prime meridian.
On Feb 5, 10:00 am, George
Make sure your constructor is declared public. This is a common
mistake when adding custom views to a layout file.
On Feb 4, 5:13 pm, Vternal Android mdunsm...@gmail.com wrote:
Thanks this is very helpful. Further down I found:
E/AndroidRuntime( 2846): Caused by:
I display a jpeg? How does theCamerado it?
Any help will be much appreciated.
m.
On Jan 25, 9:33 am, Dave Sparks davidspa...@android.com wrote:
The preview surface on the G1 can be any size within a factor of 2x
(if I remember correctly) of the dimensions of thecamerapreview
the Camera do it?
Any help will be much appreciated.
m.
On Jan 25, 9:33 am, Dave Sparks davidspa...@android.com wrote:
The preview surface on the G1 can be any size within a factor of 2x
(if I remember correctly) of the dimensions of thecamerapreview. By
default thecamerapreview frame
the Camera do it?
Any help will be much appreciated.
m.
On Jan 25, 9:33 am, Dave Sparks davidspa...@android.com wrote:
The preview surface on the G1 can be any size within a factor of 2x
(if I remember correctly) of the dimensions of thecamerapreview. By
default thecamerapreview frame
There was a problem that was fixed at 11:30AM PST Saturday. Let us
know if you are still experiencing problems.
On Jan 31, 6:41 am, Adrien Guichard guichard.adr...@gmail.com wrote:
since yesterday, gmap refuse to function on my ADP1. Everything else
seems to work ok. I do kill Maps process
This question is better suited to android-platform. This list is
intended for application developers just getting started with Android.
On Jan 28, 9:51 am, krish24 krish2...@gmail.com wrote:
Hi Everyone,
Can anybody tell me the system startup sequence of Android?
When the services are
The preview surface on the G1 can be any size within a factor of 2x
(if I remember correctly) of the dimensions of the camera preview. By
default the camera preview frame is 480x320, so you should be able to
get away with 240x160.
In my test application, I created a subclass of SurfaceView
.
Also can you provide me any example for EXIF Tags. I dint find anything
about it on web.
Thank you very much
Regards
Shobhit
On Fri, Jan 23, 2009 at 11:36 PM, Dave Sparks davidspa...@android.comwrote:
I'm probably not going to be much help with the database, though I
think
Shobhit
On Fri, Jan 23, 2009 at 7:47 PM, Dave Sparks davidspa...@android.comwrote:
What exactly do you need help on? MapView mashups?
On Jan 23, 2:41 pm, shobhit.kasli...@gmail.com
shobhit.kasli...@gmail.com wrote:
Hi I wanna GeoTag photos and videos on Google Maps in Android. can
anyone
I'm not sure what you mean by android simulator. We have no plans to
support using the host webcam as a camera input in the emulator.
Might make a good open source project for someone. Just bear in mind
that it really should work on all 3 host platforms (Linux, Mac, and
Windows).
On Jan 21,
purpose.
So, I guess my question is, what is a message looper and what
relationship does it have with the handler argument?
many thanks,
On Jan 17, 8:09 pm, Dave Sparks davidspa...@android.com wrote:
This will put your app's message looper to sleep for 10 seconds, which
is probably
to think for keeping his apk size to minimum.
On Sat, Jan 17, 2009 at 12:57 PM, Dave Sparks davidspa...@android.comwrote:
adb push /path/on/workstation/video.mp4 /sdcard
In the code, use the SD card path for the setDataSource() call:
mMediaPlayer.setDataSource(/sdcard/video.mp4);
On Jan
This will put your app's message looper to sleep for 10 seconds, which
is probably not what you want. As an alternative, you can send
yourself a delayed message, or you can have your animation thread read
the system time when it starts up and exit after the 10 seconds has
expired.
On Jan 17,
Can you be a bit more explicit when you say nothing happens?
Usually - no matter what kind of bug you might have - something
happens, it's just not what you expected to happen. For example, do
you have log output?
My guess is that you cannot use an MP4 as a raw resource because it
gets
it to the SD card and playing it from
there.*
Can you please show a way to push a mp4 or mp3 file in a sd card?
On Sat, Jan 17, 2009 at 6:46 AM, Dave Sparks davidspa...@android.comwrote:
Can you be a bit more explicit when you say nothing happens?
Usually - no matter what kind of bug
There is some support for forward-locked content. We aren't planning
support for additional DRM in the media framework, however Packet
Video has DRM components for license.
On Jan 15, 2:34 am, fab fabianj...@googlemail.com wrote:
Hi there,
I'm trying to figure out if there is any DRM support
FYI, the current SDK does not have support for video recording. That
is a feature in a future release called Cupcake that is currently
under development in open source.
On Jan 13, 11:24 pm, victor victor8...@gmail.com wrote:
Refer to the class: MediaRecorder.
For more information, search in
You are still going to need Java to get application life cycle events,
access to Window Manager, intents, etc. Your Java app may just be a
wrapper for native code, but Android is fundamentally a Java platform.
On Jan 13, 7:55 am, srini amul srinia...@yahoo.com wrote:
Hi ,
My application is in
If I recall correctly, the mutex protects the camera hardware context.
A malevolent application could start a picture snap and disconnect the
camera on another thread. Without the mutex to protect the camera
context, it could cause the media server to crash.
On Jan 9, 6:01 pm, Hank And
No, there are no Java API's exposed for this currently.
On Jan 8, 8:06 am, obi mark.cavolow...@gmail.com wrote:
What options are there currently for analyzing sound files on Android,
specifically ones from the onboard microphone? Ideally, I'd like to
be able to look at the amplitude of the
The range is 0 to 1. You can use any increment you want to create a
logarithmic volume scale, just make full volume 1.0. Multiply be a
scalar less than 1.0 to get the next lower volume. Multiply that
volume by the same scalar to get the next one. Repeat until you have
enough values.
The number
Any error messages in the log? Are you getting an exception?
On Jan 6, 4:42 am, Honest honestsucc...@gmail.com wrote:
I am playing sound by putting one folder which contains sound file.
The coding is as below to play file.
mMediaPlayer = MediaPlayer.create(this, R.raw.test_cbr);
Any error messages in the log? Are you getting an exception?
On Jan 6, 4:42 am, Honest honestsucc...@gmail.com wrote:
I am playing sound by putting one folder which contains sound file.
The coding is as below to play file.
mMediaPlayer = MediaPlayer.create(this, R.raw.test_cbr);
This is probably more appropriate in the android-porting list. This
list is for application developers who are just getting started on
Android development.
On Dec 30, 10:52 am, Chris H. feeltha...@gmail.com wrote:
Hello all,
I am using the Logic PD OMAP3430 development platform, with the
It seems like you're trying to play the file from your workstation. I
assume you are testing in the emulator. If so, you need to be aware
that the emulator has its own file system and it cannot directly
access your workstation files. Instead, it mounts a file that contains
an image of a FAT file
You'll find the source here:
http://android.git.kernel.org/
For example, here's a pointer to the source tree for Contacts:
http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=summary
On Dec 16, 8:48 pm, Shawn_Chiu qiuping...@gmail.com wrote:
Hi, all
I want to take a look
64 matches
Mail list logo