Re: [android-developers] Android Alarm application

2011-09-13 Thread Craig Sparks
t; To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- -

[android-developers] help

2011-09-12 Thread Craig Sparks
s and stop corporate america from doing this and capitalizing off of it. Please I need your help. -- - Jackie *"Craig"* Sparks - *"Focus on Solutions not Problems"* Email0: jackie.craig.spa...@gmail.com http://chunkhost.com/r/getachunk - Support my VPS host sign up now

Re: [android-developers] Autoreload of Webview

2011-09-12 Thread Craig Sparks
, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- - Jackie *"Craig"* Sparks - *&qu

[android-developers] Re: android app

2011-09-12 Thread Craig Sparks
Also it involves barcode scanning. On Fri, Sep 9, 2011 at 5:24 PM, Jackie Craig Sparks wrote: > I'm working on a prject that involves image reconignition and need > help with getting a app completed. I was wondering if anyone would be > interested in helping out. -- - Jackie *&

[android-developers] android app

2011-09-12 Thread Jackie Craig Sparks
I'm working on a prject that involves image reconignition and need help with getting a app completed. I was wondering if anyone would be interested in helping out. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Market sales suddenly cut in half

2011-04-27 Thread sparks
that would be amazing, i recently have grown fond of appmonger and appstats pro, and feel both are kind of lacking little features i would like to see implemented -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: help point in right direction for 3 menus = final result

2011-03-29 Thread sparks
That helped a bit, to make more sense out of examples of things similar to what i want, my problem is that the X and Y data isnt to be added or anything, I just need a way to define what data would be held at item "C4" if C was chosen from spinner1 and 4 was in spinner 2 thanks again, get me to

[android-developers] Re: help point in right direction for 3 menus = final result

2011-03-29 Thread sparks
http://peltiertech.com/images/2009-09/ComboXYFillData.png again just to be clear, so i help explain myself with a visual, Like spinner1 would have the 1-9 options, spinner2 would have the A-Z options if I was to choose 4 from the spinner 1 list, and C from the spinner2 list, the label would be 3

[android-developers] Re: help point in right direction for 3 menus = final result

2011-03-29 Thread sparks
Still not quite sure what to use, as the area for the result. Could I just have it change the text of a button? and with the button click, do nothing, or just use a text view? and im still challenging how to display the result after 2 are chosen kinda of messing around from http://stackoverflow

[android-developers] Re: help point in right direction for 3 menus = final result

2011-03-29 Thread sparks
but will i be wanting to do a listener like command to know once the 2 are selected, to pull the info that makes item3? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.co

[android-developers] Re: help point in right direction for 3 menus = final result

2011-03-29 Thread sparks
Yes, and I am using that as an example for some of it, but , again as example say I had 2 of those lists, and a label, or anything to display my outcome, So if the list1 had, mens height, and list2 had mens age, i want the outcome to be displayed in the 3rd area.. not sure what I would be using

[android-developers] help point in right direction for 3 menus = final result

2011-03-29 Thread sparks
Somewhat new to this, messing with DroidDraw to make a layout, and in the end, I need to have 2 clickable items that show a menu, and once each of the 2 have something chosen, it gives a return in a box of what it would be Like i have a spread sheet and the cross pattern is the values i need di

[android-developers] Re: adding audio to a game - triggerClip for SFX

2010-07-30 Thread Dave Sparks
triggerClip() was designed to play synchronized sound effects for musical games like JetBoy. If you just want to play random sound effects, I would use SoundPool instead. On Jul 30, 5:53 am, kk wrote: > Hi all, > > I'm using JetPlayer in order to add some audio to a game I'm > developing. > Usin

[android-developers] Re: RTSP Example

2010-07-30 Thread Dave Sparks
half (width wise) > the video. Noticed this on a few others I've tried as well, so not > sure if it's a problem with the Hero or what :( > > Regards > Anthoni > > On Jul 15, 9:59 pm, Dave Sparks wrote: > > > > > Try m.youtube.com, this works on o

[android-developers] Re: progressive video play over https

2010-07-15 Thread Dave Sparks
The media player currently does not support https. On Jul 13, 7:18 pm, zhao wrote: > I am trying to stream video over https from Android browser. If the > video url is http, everything works fine. But when I switch the url to > https, no video can be played. I tried 2 methods to stream over http/

[android-developers] Re: HTTP progressive streaming

2010-07-15 Thread Dave Sparks
Progressive streaming is like progressive download except that the media file is partially cached in memory rather than writing to permanent storage. On Jul 13, 1:21 pm, Michel wrote: > On top of that my question is what is "HTTP progressive streaming" > standing for? > Is that a nick name for th

[android-developers] Re: RTSP Example

2010-07-15 Thread Dave Sparks
Try m.youtube.com, this works on other Android devices. I don't have a Hero to test with. On Jul 14, 12:18 pm, Anthoni wrote: > Hello, > > I am trying to find a URL that conforms to the proper RTSP protocol > that Android will understand. I've various ones and added them into > the API demo from

[android-developers] Re: 2.2 Camera Orientation Problem

2010-07-15 Thread Dave Sparks
See android.hardware.Camera.setDisplayOrientation (int degrees) This is the approved way to set the camera orientation as of V2.2. Please note that this only works for still images, videos will still record in landscape orientation. On Jul 15, 5:00 am, Vincent wrote: > Hi, > > In my camera appli

[android-developers] Re: How to redirect audio to bluetooth headset?

2009-05-22 Thread Dave Sparks
t's A2DP? I'm not clear about that. Did that mean if i > using A2DP bluetooth headset, all audioes will auto play by > bluetooth headset? And not all bluetooth headset hardware supports > A2DP. Does that right? > > On 5月22日, 上午9时36分, Dave Sparks wrote: > > > You a

[android-developers] Re: How to redirect audio to bluetooth headset?

2009-05-22 Thread Dave Sparks
de by SONY ERICSSON, and it's fine when i call phone. Any > suggestions? Very thanks. > > On 5月22日, 上午9时36分, Dave Sparks wrote: > > > You asked specifically about Bluetooth SCO before. SCO is an 8KHz mono > > audio channel compressed down to a low bit-rate stream. To

[android-developers] Re: rtsp/http Streaming

2009-05-22 Thread Dave Sparks
This is supported, it definitely should not crash even if there's a problem. Where's the stack trace for the crash? On Apr 29, 8:30 am, Zhubham wrote: > Hi People, > > I need your help regarding streaming in android. I read some of the > previous discussions but I have a few doubts which i thoug

[android-developers] Re: Android G1 - Streaming WMV

2009-05-22 Thread Dave Sparks
HTTP progressive and RTSP for 3GPP/MPEG-4 streams. On May 22, 10:57 am, Emil wrote: > Thanks for the answer. > > So which video streaming formats the Android G1 does support? > > Emil > > On May 22, 4:39 am, Dave Sparks wrote: > > > The G1 does not support Windows

[android-developers] Re: Android G1 - Streaming WMV

2009-05-21 Thread Dave Sparks
The G1 does not support Windows Media streaming formats, only local file playback. On May 21, 1:23 am, semil103 wrote: > Hello, > > I would like to know if I can view streamed WMV video format using G1 > device (not the developer phone). > I understand that WMV format is not included in basic An

[android-developers] Re: How to redirect audio to bluetooth headset?

2009-05-21 Thread Dave Sparks
can't play in > bluetooth headset? > > Dave Sparks wrote: > > We don't support sending app processor audio over SCO. The audio > > quality would be very poor. > > > On May 20, 6:51 am, jianwei wrote: > > > Hi all, > > > I met a probl

[android-developers] Re: play sound issue

2009-05-21 Thread Dave Sparks
I can't tell from your code snippet what you are trying to do. However, I suggest you try using SoundPool. It's designed for this kind of use. On May 21, 12:53 am, Sukitha Udugamasooriya wrote: > Hi, > > In my application i'm playing a 1 second sound clip when the user > clicks on a button. afte

[android-developers] Re: How to redirect audio to bluetooth headset?

2009-05-20 Thread Dave Sparks
We don't support sending app processor audio over SCO. The audio quality would be very poor. On May 20, 6:51 am, jianwei wrote: > Hi all, > I met a problem of bluetooth headset. I want to switch audio playing > to bluetooth headset when bluetooth headset is paired. I found > BluetoothDevice in a

[android-developers] Re: Using the AudioRecord API

2009-05-19 Thread Dave Sparks
fer) > 0) { >   doSomething(buffer) > > } > > When I've done the latter I get buffer overflow exceptions. > > On May 15, 3:51 pm, Dave Sparks wrote: > > > You need to call the read() method. > > > On May 15, 3:15 pm, benmccann wrote: > > > > An

[android-developers] Re: Could Android play RGB 24-bit color depth format video?

2009-05-19 Thread Dave Sparks
This is a hardware-dependent feature. Frankly, I don't see any value in it because the display devices don't have 24-bit support. On May 19, 4:57 am, Edware wrote: > Dear Sir, > As I know, Android only supports RGB 16-bit color depth format. Could > Android play 24-bit color RGB format video and

[android-developers] Re: How to detect if sound is currently playing on the speaker?

2009-05-19 Thread Dave Sparks
No, there is no API for this. On May 18, 12:56 pm, Flying Coder wrote: > Hi, >     Is there any way to tell if an app is currently using the speaker > (playing music or generating other sounds)?  Specifically, I'd like to > detect if an alarm clock is going off (not only the one that comes > wit

[android-developers] Re: Using the AudioRecord API

2009-05-15 Thread Dave Sparks
You need to call the read() method. On May 15, 3:15 pm, benmccann wrote: > Any ideas? > > Thanks, > Ben > > On May 15, 1:02 am, benmccann wrote: > > > Hi, > > I'm trying to figure out how to use theAudioRecordclass.  I created > > a callback with a logging message, but don't ever see it called.

[android-developers] Re: Video with MediaRecorder

2009-05-07 Thread Dave Sparks
Wait, when you say corruption, you really mean that there's a mismatch between the metadata and the actual frame size, is that correct? On May 7, 11:17 am, Jason Proctor wrote: > i don't change it, it gets changed by the "Author Driver" presumably > to avoid colliding with the status bar or some

[android-developers] Re: Video with MediaRecorder

2009-05-07 Thread Dave Sparks
This is a limitation of the hardware, the preview size and encoded size must be the same. I'm not sure how you were able to change the preview size though. I'd like to know the code sequence you used, because it's not supposed to be possible. On May 6, 11:11 am, Jason Proctor wrote: > just a ti

[android-developers] Re: How to use AudioRecord and AudioTrack

2009-05-07 Thread Dave Sparks
The mic on all current Android devices, why would you want to record stereo? On May 7, 3:43 am, l hx wrote: > can we using channels 2 when recording audio? > > On Sat, May 2, 2009 at 12:54 AM, Jean-Michel wrote: > > > Hi there, > > Looks like sipdroid (www.sipdroid.org) is using AudioTrack and

[android-developers] Re: Video streaming error in SDK 1.5

2009-05-07 Thread Dave Sparks
You need to format the mp4 file for streaming. This means that the moov atom must precede the mdat atom in the file. On May 7, 5:05 am, N V wrote: > Hi to all... > >          I tried for video streaming in sdk 1.5... The video > format .mp4... But it gives error > like "This video is not valid f

[android-developers] Re: Video with MediaRecorder

2009-05-06 Thread Dave Sparks
You need to call setPreviewDisplay() and pass in a SurfaceView before you call prepare(). On May 6, 8:45 am, Anders Nilsson Plymoth wrote: > Hi, > > Does anyone know how to use the MediaRecorder to API to capture video? > > I am writing an application where I want to be able to capture video. I

[android-developers] Re: Google voice recognition on Emulator

2009-05-04 Thread Dave Sparks
e not > using speech recognition to perform web searches? > > Thanks, > > Jose Luis. > > On 4 mayo, 20:46, Dave Sparks wrote: > > > This intent is handled by the Google Voice Search application. Do you > > have it installed? > > > On May 4, 6:12 am,

[android-developers] Re: Google voice recognition on Emulator

2009-05-04 Thread Dave Sparks
           startActivityForResult(intent, RESULT_SPEECH); >             } >             catch(Exception ex) { >                 ex.printStackTrace(); >             } > >         } > > On Fri, May 1, 2009 at 9:23 PM, Dave Sparks wrote: > > > What is the error? &g

[android-developers] Re: video recording in 1.5

2009-05-01 Thread Dave Sparks
No, you have always needed a camera permission to access the camera. It's new to the MediaRecorder API because we didn't add video support until 1.5. On May 1, 3:59 pm, Jason Proctor wrote: > nope, never needed it. is the requirement new? > > i'll give it a go, thanks. > > (looks like my posts a

[android-developers] Re: Google voice recognition on Emulator

2009-05-01 Thread Dave Sparks
What is the error? On May 1, 5:18 pm, Yash Patel wrote: >  I mean to say Speech Recognization. I tried to create one small application > but it gives me error. > > Thanks > Yash Patel > > On Fri, May 1, 2009 at 4:54 PM, Dave Sparks wrote: > > > Voice recognitio

[android-developers] Re: video recording in 1.5

2009-05-01 Thread Dave Sparks
Did you include android.permission.CAMERA in your manifest? On May 1, 3:21 pm, Jason Proctor wrote: > (resend from different address, see if it makes it this time.) > > is video recording supported in 1.5? > > i got it mostly working with the Haykuro 1.5 ADP image - the video > file was legally

[android-developers] Re: Google voice recognition on Emulator

2009-05-01 Thread Dave Sparks
Voice recognition is a technology. You need an application to make use of it, for example the voice dialer. On May 1, 11:17 am, Yash Patel wrote: > HI, > > does any one know How to  turn on Voice Recognition on Emulator. or is it > required to have phone or dev phone to test voice recognition ap

[android-developers] Re: Camera still regularly hangs with Cupcake, requiring power cycle

2009-05-01 Thread Dave Sparks
y > > I must then reboot the phone to get the camera back. I'm currently > investigating if my use of Proguard perhaps has anything to do with > it, because things seem stable until I prepare a release APK. > > Regards > > On May 1, 5:00 pm, Dave Sparks wrote: > >

[android-developers] Re: Camera still regularly hangs with Cupcake, requiring power cycle

2009-05-01 Thread Dave Sparks
Can you repro this with the camera application? On May 1, 6:22 am, blindfold wrote: > I found that the old bug reported > inhttp://code.google.com/p/android/issues/detail?id=1578 > where only a power cycle brings back the camera still persists with > the official Cupcake firmware on my ADP. Wh

[android-developers] Re: Video play error

2009-04-30 Thread Dave Sparks
Android does not support playing two video streams at the same time. On Apr 30, 1:48 am, N V wrote: > Hi to all > >      I am playing 2 videos(.mpg4) at time... Some times its works > fine, But some times give > error like "Cannot Play the Video" Can any One tell me Why its > Happens...? > > Tha

[android-developers] Re: SurfaceView on G1

2009-04-30 Thread Dave Sparks
Do you have a stack trace from the log? On Apr 30, 4:51 pm, petunio wrote: > Hi > > I am finally testing my application on a G1 and even though it works > fine on the emulator, it crashes on the G1 > > it crashes when it does: > setContentView(R.layout.mylayout); > > the xml is fairly simple: >

[android-developers] Re: Playing sound from memory

2009-04-28 Thread Dave Sparks
SoundPool has too much jitter for a serious music application. If you want to control the jitter, you need to output to a single AudioTrack. On Apr 28, 8:27 am, Marco Nelissen wrote: > On Mon, Apr 27, 2009 at 5:50 PM, rookie1_1998 > wrote: > > > > > I need a way to play a short sound clip repeat

[android-developers] Re: audio codec

2009-04-28 Thread Dave Sparks
AudioRecord gives you access to 16-bit PCM audio from the microphone and AudioTrack gives you a way to output 16-bit PCM audio to the output device. On Apr 28, 8:50 am, intbt wrote: > Thanks, I think AudioTrack may be what I am looking for to read the > codec output??? > > http://developer.andro

[android-developers] Re: Android 1.5: How can I play HE-AAC file type with MediaPlayer?

2009-04-28 Thread Dave Sparks
Encode in an mp4 or m4a file. On Apr 28, 12:35 pm, Moto wrote: > Could I somehow trick the player on playing something of this format? > I know that there is support for AAC encoded files but just how? > > Thanks! > Moto! --~--~-~--~~~---~--~~ You received this me

[android-developers] Re: MediaPlayer sound problem

2009-04-27 Thread Dave Sparks
Use SoundPool. On Apr 26, 9:34 am, BlackLight wrote: > I have other problem now. Lets say I have 10 buttons (0-9), when user > press button program should play short (0.3-0.5 secs) sound. I added > them as wav resources. Now I see that each MediaPlayer creates its own > thread and takes resource

[android-developers] Re: SDK1.5 AudioRecord sample rate problem

2009-04-27 Thread Dave Sparks
I believe this is a known limitation of the emulator. There is a feature request to allow for more sample rates, but no one is actively working on it. The source code is available if someone wants to take it on. On Apr 25, 2:36 pm, szabolcs wrote: > Dave, Yoni, > > Thank you for replying. > > >

[android-developers] Re: AudioRecord can't get any notification when record/marker position updated

2009-04-27 Thread Dave Sparks
OK, so it sounds like audio is being produced by the kernel driver. I just looked at your code, and I think you need to call read() once to pass in your first input buffer. On Apr 24, 6:04 pm, Steven_T wrote: > hi Dave Sparks: > thank you for reply! > > I didn't disable a

[android-developers] Re: Error playing YouTube video in my application

2009-04-27 Thread Dave Sparks
I assume this in the emulator. I believe the issue is that the emulator does not forward the UDP packets you need for the RTP session. This should work on a real device. On Apr 27, 12:28 am, awwa wrote: > I'm trying to play streaming video(*.3gp) with android SDK 1.5 pre. > I have customized the

[android-developers] Re: MediaPlayer.start() doesnot work fine after calling MediaPlayer.seekTo(0)

2009-04-27 Thread Dave Sparks
Try this: mp.prepare(); mp.seekTo(0); mp.start(); And get rid of your onPreparedListener. It is unnecessary since you are calling prepare(). On Apr 27, 1:20 am, Sudha wrote: > Hi, > > I have a requirement to play several sounds many times in my game so > instead of creating the MediaPlayer aga

[android-developers] Re: AudioRecord can't get any notification when record/marker position updated

2009-04-24 Thread Dave Sparks
Did you enable audio input in the emulator? On Apr 23, 6:48 pm, Steven_T wrote: > hi Dave Sparks: >    I have changed 50 frames to 400 frmaes, it doesn't work. >    then I set bufferSizeInBytes to 100 to init AudioRecord object, > and set update period to 400, >    it do

[android-developers] Re: SDK1.5 AudioRecord sample rate problem

2009-04-24 Thread Dave Sparks
Is this on the emulator? If so, it may be a limitation of the emulator. On Apr 24, 3:25 am, szabolcs wrote: > Steven, > > Thank you for your reply. > > I know AudioRecord works with a sample frequency of 8000Hz. In my > initial post I was asking why this frequency is the ONLY frequency > that wo

[android-developers] Re: Doesn't Android-1.0 support Recording Video well?

2009-04-23 Thread Dave Sparks
This forum is for application developers to discuss supported features in the SDK. If you want to discuss Android framework, then please take this to android-framework. On Apr 22, 7:40 pm, david 1 wrote: > OK, thanks. BTW, does OpenCore-2.01 or 2.02 support it? > > david > > 2009/4/21 Marco Neli

[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-23 Thread Dave Sparks
tainy wrote: > what is more: > > according to "media-formats.html" in the reference, MPEG4 SP is not > supported for both encoding and decoding, > so how can it support streaming? > quite confusing. > > On 4月23日, 上午7时59分, Dave Sparks wrote: > > > Pr

[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-23 Thread Dave Sparks
. > > what is more, how about the support for flash video(flv)? Do you know > anything about that? and will it being supported for streaming? > > tainy > > On 4月23日, 上午7时59分, Dave Sparks wrote: > > > Progressive streaming using HTTP is well-supported. > > > RTSP

[android-developers] Re: AudioRecord can't get any notification when record/marker position updated

2009-04-23 Thread Dave Sparks
I suspect the problem is the interval you chose: 50 frames @ 8KHz is 6.25 msecs. Your app is not going to be able to handle a callback every 6.25 msecs. Try something more reasonable like 50 msecs (400 frames) and see if that works. On Apr 23, 1:56 am, Steven_T wrote: > hello everyone, > I would

[android-developers] Re: 1.5 SDK Media Question: why doesn't android.media.AudioFormat have option for AMR-NB?

2009-04-22 Thread Dave Sparks
ndled? > > On Apr 21, 5:24 pm, Dave Sparks wrote: > > > That is correct. The encoders are only available through the OpenCORE > > author engine which does not currently supporting a streaming > > interface. > > > On Apr 21, 1:53 pm, j wrote: > > > &g

[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-22 Thread Dave Sparks
deo streaming? I found no place saying that is not > supported, but someone said video streaming is not available by now. > and if it will be supported, what format will be ok for streaming? > thanks! > > tainy > > On 4月16日, 上午3时40分, Dave Sparks wrote: > > > AAC insi

[android-developers] Re: Voice calls which uses its own audio instead of the build-in microphone

2009-04-22 Thread Dave Sparks
This is not possible. Telephony audio is handled by the baseband processor and not accessible to the application processor. On Apr 22, 3:27 pm, "Jens K." wrote: > Hi there, > > we're a group of students and trying to implement some kind of voice > cryptography over a gsm connection (without modi

[android-developers] Re: Question about rtsp streaming support on cupcake

2009-04-21 Thread Dave Sparks
There have been no changes in RTSP support for Cupcake other than a couple of minor bug fixes. On Apr 21, 2:46 am, caijing wrote: > Hi, > > I am doing development on RSTP streaming on cupcake. I want know more > clear about it, so my question is, which version of 3GPP PSS has been > support on c

[android-developers] Re: 1.5 SDK Media Question: why doesn't android.media.AudioFormat have option for AMR-NB?

2009-04-21 Thread Dave Sparks
That is correct. The encoders are only available through the OpenCORE author engine which does not currently supporting a streaming interface. On Apr 21, 1:53 pm, j wrote: > I would like to use the new AudioRecord class to record in AMR-NB > format.  But android.media.AudioFormat provides only 8

[android-developers] Re: u-law PCM audio compression supported in 1.5?

2009-04-20 Thread Dave Sparks
No, it only supports raw PCM. On Apr 20, 2:36 pm, j wrote: > I can see from documentation that AudioRecord supports > > PCM 16 bit per sample > and > PCM 8 bit per sample > > Does it support things like u-law and a-law like the Java Media > Framework? > > Thanks! --~--~-~--~~

[android-developers] Re: Recording audio with 1.5 SDK

2009-04-20 Thread Dave Sparks
I think we're still working on sample code for the SDK. On Apr 20, 11:05 am, j wrote: > Thank you Dave.  Is there any sample code utilizing AudioRecord that I > can refer to? > > My goal is to write the audio to a RTP network stream. > > On Apr 16, 1:21 pm, Dave S

[android-developers] Re: Direct Video Encoder Access?

2009-04-17 Thread Dave Sparks
hen > at run-time unpack the .jar and link-to and execute the shared object > code. It is on Linux after all. > > (sorry if that was a dumb question =) > > Thanks!! > > On Apr 16, 1:24 pm, Dave Sparks wrote: > > > No, this would be impractical to do in Java. &g

[android-developers] Re: How can I test the video recording functionality in the new emulator

2009-04-17 Thread Dave Sparks
We are working on getting this fixed in the Cupcake SDK. On Apr 16, 1:27 pm, Jason Proctor wrote: > right -- i got an error calling - > > recorder.setVideoSource (MediaRecorder.VideoSource.CAMERA) > > - which seemed to indicate that there isn't a shim for the video > recording the way there is f

[android-developers] Re: MSM7201A low-level access android api

2009-04-16 Thread Dave Sparks
gt; more "open" phone. All would be necessary is a documentation on how to > obtain that information - with that in hands we could make it work (no > problem if only in specific hardware). Is this not available on > purpose, or is it not possible? > > I appreciate your answer. &g

[android-developers] Re: Direct Video Encoder Access?

2009-04-16 Thread Dave Sparks
No, this would be impractical to do in Java. On Apr 15, 11:16 pm, Sheado wrote: > Howdy, > > Does anybody know of a way to directly access the Video Encoders > provided by the (android.media.MediaRecorder) API? I'd like to make > changes to the raw camera data "before" it gets encoded. > > Thank

[android-developers] Re: MSM7201A low-level access android api

2009-04-16 Thread Dave Sparks
Android is an application processor stack. There is no provision for access to baseband API's except through the Java level telephony API's. It's not practical to standardize a baseband stack - there's a strong dependency on the underlying hardware architecture. On Apr 15, 7:48 pm, thiago_alenca

[android-developers] Re: Recording audio with 1.5 SDK

2009-04-16 Thread Dave Sparks
See the AudioRecord class. On Apr 16, 11:33 am, j wrote: > One known limitation of SDK 1.1 was that audio can be recorded only to > a File and not to a network stream.  Is this still an issue with 1.5 > SDK? > > Thanks! --~--~-~--~~~---~--~~ You received this mess

[android-developers] Re: How can I test the video recording functionality in the new emulator

2009-04-16 Thread Dave Sparks
I don't believe that video recording works in the emulator. It requires a hardware encoder module. On Apr 16, 9:18 am, ying lcs wrote: > Hi, > > How can I test the video recording functionality in the new emulator > in 1.5 android preview SDK? > > Thank you. --~--~-~--~~~

[android-developers] Re: Phone call recorder

2009-04-15 Thread Dave Sparks
This is a limitation in the baseband processor - this is a feature the hardware vendor would have to support. On Apr 15, 2:01 am, Selem wrote: > On Apr 6, 6:39 pm, Dave Sparks wrote: > > > You can't. The G1 firmware does not support it. > > Dave, do you mean G1 will

[android-developers] Re: Using 2 Surface Views in same activity

2009-04-15 Thread Dave Sparks
I'm pretty sure that this will not work. There is a limit of one video/ camera SurfaceView active at a time. On Apr 15, 3:52 am, iblues wrote: > Hi, > > I am creating an application where I have 2 Surface Views (1 each in > top and bottom half of the screen) along with a button. One of the > Sur

[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-15 Thread Dave Sparks
C audio > channel? > > On Apr 14, 11:56 pm, Dave Sparks wrote: > > > We don't have an API for progressive download yet. Technically, the > > website should say "progressive streaming", but from a file authoring > > perspective there is no distinction bet

[android-developers] Re: Change to signature for Camera.setPreviewDisplay() in 1.5

2009-04-15 Thread Dave Sparks
The native code was throwing IOException even in 1.0, but it wasn't a checked exception in Java. We felt it was best to expose it as a checked exception since it can occur under normal circumstances when another application or service has control of the camera. On Apr 14, 11:10 pm, Tom Gibara wr

[android-developers] Re: full screen support for an rtsp streaming video??

2009-04-15 Thread Dave Sparks
I'm not clear what you mean by "full size". VideoView displays as large as possible without distorting the aspect ratio. For all releases through Cupcake, we assume the display is HVGA. If videois to fill the screen, it must be 1.333 aspect ratio. For CIF or QCIF format, the aspect ratio is 1.22

[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-14 Thread Dave Sparks
We don't have an API for progressive download yet. Technically, the website should say "progressive streaming", but from a file authoring perspective there is no distinction between the two. RTSP support is only available for MPEG-4 file formats. There is no support for raw AMR, AAC, or MP3 strea

[android-developers] Re: playing of wma audio

2009-04-10 Thread Dave Sparks
The Windows Media codecs are not part of OpenCORE. They require a separate license which is typically negotiated between the hardware manufacturer and the codec supplier. On Apr 9, 4:49 am, l hx wrote: > now , the opencore can not play the audio of wma. is it right? and the total > time of the w

[android-developers] Re: (pre- & post-) processing raw audio data

2009-04-10 Thread Dave Sparks
No, this is not supported. If we ever do support it, it would require a special permission that the user would have to grant, and it would break for DRM content for obvious reasons. On Apr 10, 1:44 am, devi prasad wrote: > I want to develop an app that lets one intercept raw audio data sent for

[android-developers] Re: ERROR/MediaPlayer(1066): setDataSource called in state 128

2009-04-10 Thread Dave Sparks
MediaPlayer states are protected by mutexes in the native layer. However, the playback complete is an asynchronous event that comes on a binder worker thread. It's possible that you could call reset() in the window after the native media player service has posted a playback complete message to the

[android-developers] Re: Phone call recorder

2009-04-06 Thread Dave Sparks
You can't. The G1 firmware does not support it. On Apr 6, 6:00 am, Dilli wrote: > Hi i am developing a recorder application > > It works fine > > but when phone call comes it records only one way conversation > > but the caller voice is not recorded.. > > I found audio sources as > >  recorder.s

[android-developers] Re: Why does not SoundRecoder work on G1

2009-04-03 Thread Dave Sparks
ay attention to? A summarizing info is also appreciated.  Many thanks in > advance. > > I've issue this question > athttps://mail.google.com/mail/?hl=en&zx=1mf4sjv3oovlo&shva=1#starred/1 > I'm sorry if it trouble you again. Please reply it just here. Thanks again. &g

[android-developers] Re: play video error

2009-04-02 Thread Dave Sparks
It's pretty obvious that the path to your video file is located on your Windows workstation. You have to remember the emulator is running Linux in an emulation of an ARM processor. It doesn't have access to the files on your workstation. You need to copy the video file to the SD card emulation whi

[android-developers] Re: how to get the first frame of a video file ?

2009-04-02 Thread Dave Sparks
build to out folder. > Where can I get the class file. > I need to import the android.media.MediaMetadataRetriever in my test > AP. > Thanks~~ > > -wei > > On 3月8日, 上午2時29分, Dave Sparks wrote: > > > No, we're just adding support for extracting a static th

[android-developers] Re: is video recording available in V1.1?

2009-04-02 Thread Dave Sparks
AMR recording does work. Try the SoundRecorder application, which can be accessed by using the attach function in the Messaging app. On Apr 2, 1:01 am, ambrosehua wrote: > It seems that Android doesn't support AMR recording currently, which > is actually different from audio recording > On 4月2日,

[android-developers] Re: Why does not SoundRecoder work on G1

2009-04-02 Thread Dave Sparks
You can access it via the Messaging (SMS/MMS) application by clicking on attach and selecting record audio. I believe there's also an app in market that exposes a launcher icon for it. On Apr 2, 3:36 am, david wrote: > hi everyone, > > I can see 'Sound Recorder' under Setting/Manage Applications

[android-developers] Re: ANR in Album with 100% CPU usage

2009-04-02 Thread Dave Sparks
Yes, ANR's occur because the task doesn't respond quickly enough to user input. This can be caused by a background thread hogging the CPU. I assume you are referring to the Pictures app (which will be called Gallery in Cupcake). We have made some improvements in Cupcake will continue to work on i

[android-developers] Re: any way to debug the service in system_server?

2009-04-02 Thread Dave Sparks
This is not the appropriate forum for this question. I suggest you try in android-platform. On Apr 2, 10:57 pm, Chen Yang wrote: > Resent, it seems that the thread to android-discuss is lost. > > -- Forwarded message -- > From: Chen Yang > Date: Fri, Apr 3, 2009 at 11:44 AM > Su

[android-developers] Re: Media player -38 Error

2009-04-01 Thread Dave Sparks
Looks like you are repeatedly calling the MediaPlayer.start() method when it is in an uninitialized state. On Apr 1, 12:42 am, Ramesh wrote: > Hi, > > I am trying to play media player.Its working fine but in log i am > getting this kind of error > Can anybody tell me why this error occured and h

[android-developers] Re: playing video file

2009-04-01 Thread Dave Sparks
Have you looked at the VideoView widget? On Apr 1, 2:41 am, jaimin wrote: > hi, > i have problem in playing video file. Video file is playing nice but i > want to play video file in the whole emulator (size).Right now video > file is playing but in small size. > so any suggestion or solution plz

[android-developers] Re: screen sleeps while playing the video

2009-04-01 Thread Dave Sparks
You need to hold a wakelock to keep the display powered up. On Apr 1, 10:33 pm, manoj wrote: > Hi, > > I have written a video player app. Its working fine, but the problem > is the screen is going to in sleep mode after playing some time. When > I click on "Menu" button on the device, then only

[android-developers] Re: MediaPlayer sluggish to play sounds

2009-04-01 Thread Dave Sparks
Agreed. It takes about 100 msecs to spin up the audio output once it goes to standby. You will seeing something like this in the log: W/AudioFlinger( 35): write blocked for 103 msecs If it's taking several seconds, there must be something else involved. On Apr 1, 11:51 am, Marco Nelissen wro

[android-developers] Re: Video call support at Cupcake version.

2009-03-31 Thread Dave Sparks
Cupcake is based on OpenCORE 1.0. OpenCORE 2.0 was integrated into the master branch, not Cupcake. You can find updated docs in the external/ opencore project. Please bear in mind that while the VT low-level stack is included in the OpenCORE 2.0 release, no work has been done to integrate with th

[android-developers] Re: Playing a mp3 file istead of voice call

2009-03-30 Thread Dave Sparks
The G1 firmware does not support this. This is not controlled by the application processor, but a function of the baseband processor. On Mar 30, 1:26 am, Joe wrote: > Does G1 can support the following feature: > When in "In Call" state, user can play a mp3 file instead of the voice > from microp

[android-developers] Re: opencore

2009-03-25 Thread Dave Sparks
The current G1 software uses the OpenCORE software codecs except for H. 264 where the hardware codec is used. On Mar 25, 3:38 am, wangxianjian8311 wrote: > hi all! > i want to know whether the g1 use the pv omxcore in opencore . if i do > not have any hardware codec. > if i just use the pv

[android-developers] Re: handle Camera preview data without a SurfaceView

2009-03-25 Thread Dave Sparks
This is not currently possible. On Mar 25, 11:11 am, denzel wrote: > Hello, > > I want to receive the data from the preview of the Camera, but without > having to set a SurfaceView with a SurfaceHolder in the view of my > application. > > I want to do something like this: > > Camera cam = Camera

[android-developers] Re: Mp3 file read problem in Real device (G1)

2009-03-18 Thread Dave Sparks
Just in case there is any confusion, your APK is not going to contain the MP3 files that were loaded on the virtual SD card in the emulator. If you want to play MP3's on the device's SD card, you need to install them there, either by copying them from your workstation, downloading them from the I

[android-developers] Re: Can i convert AMR to MP3 OR WAV in my activity?

2009-03-18 Thread Dave Sparks
No, there is no built-in package to convert from AMR to MP3 or WAVE. If you want to do this in the current SDK, you'll need to write your own code to do the conversion. On Mar 18, 2:44 am, zeeshan wrote: > Hi Android Experts, > > i want to convert recorded AMR sound into mp3 or WAV within my > a

  1   2   3   4   >