[android-developers] Re: Invalid Audio Buffer Size on Samsung Galaxy

2009-11-15 Thread joelt
Further analysis reveals it only supports an 8k sampling rate. This is obviously a bug. Where do I file a bug report against the Samsung phone? On Nov 14, 9:49 pm, joelt j...@harpsoft.com wrote: It is also spitting this out: WARN/AudioHardwareMSM72XX(1018): getInputBufferSize bad sampling rate

[android-developers] Invalid Audio Buffer Size on Samsung Galaxy

2009-11-14 Thread joelt
The following works fine on a G1 but gives an error on the Samsung Galaxy. I was hoping cross-platform support would be better than this. See error below. private final static int RATE = 44100; private final static int CHANNEL_MODE = AudioFormat.CHANNEL_CONFIGURATION_MONO; private

[android-developers] Re: Invalid Audio Buffer Size on Samsung Galaxy

2009-11-14 Thread joelt
It is also spitting this out: WARN/AudioHardwareMSM72XX(1018): getInputBufferSize bad sampling rate: 44100 Is there an API that will tell me which rates it _does_ support? It doesn't look like it. On Nov 14, 8:57 pm, joelt j...@harpsoft.com wrote: The following works fine on a G1 but gives

[android-developers] Samsung Galaxy --- How to debug?

2009-11-09 Thread joelt
I have a user that says my application gives him an error on the Samsung Galaxy (it works fine one the G1). How can I debug this issue? Is there an accurate emulator/simulator? Can someone try it (Bendometer is the app)? Joel -- You received this message because you are subscribed to the Google

[android-developers] Re: Floating Point Support -- Determine at runtime?

2009-10-21 Thread joelt
 am, fadden fad...@android.com wrote: On Oct 20, 6:11 pm, joelt j...@harpsoft.com wrote: One approach is to read /proc/cpuinfo and look for vfp on the Features line. I should probably ask: what is it you're trying to accomplish? And should note: scanning for vfp will work for the current

[android-developers] Floating Point Support -- Determine at runtime?

2009-10-20 Thread joelt
Is there a way to determine if the system supports floating point? That way, I could choose between two algorithms to use. Joel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Menu button goes to Preferences - Cool?

2009-10-19 Thread joelt
I'm thinking it would be handier if my in my app, a press on the menu button went straight to my preferences page. I currently have in my menu two choices: settings and about. About will almost never be used. I was thinking of putting it in preferences and simply have a menu button press go

[android-developers] Audio Stream from currently playing song

2009-10-13 Thread joelt
I can capture an audio stream from the mic, but can I capture the currently playing audio stream? Thanks, Joel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Relaunching an Android App / Stability

2009-10-11 Thread joelt
I have an application that launches a thread for drawing a SurfaceView. If I leave the application using the home or back button, I get an onPause event where I put the thread in a wait state. In my onResume I wake the thread back up. However, if I relaunch the app, I never get an onResume

[android-developers] Installing USB Driver for G1

2009-10-02 Thread joelt
I am having trouble getting the proper USB ADB driver for the G1 installed. Windows seems to have already decided which driver it should use. I've tried updating the driver, but the Windows wizard has decided that it knows better to use the existing driver. could not find a better match for

[android-developers] Scale font/typeface to fit

2009-09-27 Thread joelt
I have a box of known size and want to fill it with text (actually just one character. What's the proper code? I found this code for Swing, but haven't figured out the Android equivalent: http://www.java-forums.org/awt-swing/19053-draw-string-rectangle.html Joel