[android-developers] AudioRecord.getMinBufferSize hangs on KitKat

2013-11-10 Thread skooter500
What the hell Google?! Dont you test stuff before you release it? Here is the full code for a simple app to reproduce this: https://github.com/skooter500/MinBufferSizeBug BTW This code does not cause a hang on my Galaxy Nexus, Nexus 7, HTC Desire, HTC Desire HD etc etc. I'm investigating

[android-developers] Re: AudioRecord.getMinBufferSize hangs on KitKat

2013-11-10 Thread skooter500
on Android 4.4?? Bryan On Sunday, 10 November 2013 12:19:41 UTC, skooter500 wrote: Hi My Nexus 5 arrived today, however I have noticed a bug that causes my app (Tunepal) to hang. It is very simple to reproduce. Just call: AudioRecord.getMinBufferSize(22050

Re: [android-developers] Re: AudioRecord.getMinBufferSize hangs on KitKat

2013-11-10 Thread skooter500
Update: Shazam also hangs... Google Now hangs the device intermittently and wont record... Bryan On Sunday, 10 November 2013 14:06:31 UTC, Paul-Peter Tournaris wrote: Maybe the new way that Nexus 5 uses to tunnel the Audio causes this problem! On Sun, Nov 10, 2013 at 2:54 PM, skooter500

Re: [android-developers] Re: AudioRecord.getMinBufferSize hangs on KitKat

2013-11-10 Thread skooter500
this problem! On Sun, Nov 10, 2013 at 2:54 PM, skooter500 skoot...@gmail.comjavascript: wrote: Follow up... All audio record API's cause this! For example, this call also hangs: audioRecord = new AudioRecord(MediaRecorder.AudioSource.MIC, sampleRate, AudioFormat.CHANNEL_CONFIGURATION_MONO

[android-developers] Any problem with the HTC Inspire??

2011-03-02 Thread skooter500
Hi Guys Ive tested the hell out of my app, Tunepal on many different devices and its sold about 1000 copies. Ive tested it successfully on everything from a Samsung Galaxy Europa up to a HTC Desire HD and no problems so far. Over the last couple of days however I've been receiving reports from

[android-developers] Re: New countries for paid apps! Maybe Ireland will be included??

2010-09-27 Thread skooter500
--- Everything in moderation, including abstinence Never doubt that a small group of thoughtful, committed people can change the world. Indeed. It is the only thing that ever has - Margaret Mead On 25/09/2010 11:12 AM, skooter500 wrote: I received this from Google yesterday: Hello, We're writing

[android-developers] Re: Problem with AudioRecord on Samsung Moment

2010-09-27 Thread skooter500
You might also have a look at this thread: http://groups.google.com/group/android-developers/browse_thread/thread/a37d61d2135a924/4efd4f33fb6937ab?q=record+problem+LG+Ally#4efd4f33fb6937ab Which explains a way to record audio on mayn devices including the LG Ally Bryan On Sep 26, 8:05 pm, dan

[android-developers] New countries for paid apps! Maybe Ireland will be included??

2010-09-25 Thread skooter500
I received this from Google yesterday: Hello, We're writing to inform you about some changes to Android Market that require your attention. Over the next few weeks, we’ll be adding paid apps support for additional countries. If you have selected to publish your paid apps to all locations and

[android-developers] Re: Record audio problem on the LG Ally

2010-08-13 Thread skooter500
Jeff I did some benchmarking first. I have versions of my algorithms in both C++ and Java. I sample at 22KHz for 12 seconds and perform an SFTF on 2048 sample frames with a 75% overlap in order to transcribe what the user has played on their instrument. I do some other stuff on the spectrum to

[android-developers] Re: Record audio problem on the LG Ally

2010-08-11 Thread skooter500
I solved it I am pleased to report and my app now works on all Android phones Nexus One's LG's, HTC etc: At last I can answer a question on this forum instead of just posting them :-) The solution it seems is to request chunks of data from the record device of size minBufferSize which you get

[android-developers] Re: Record audio problem on the LG Ally

2010-08-02 Thread skooter500
Giampaolo Thanks for yoru reply, but that's definitely not the problem. In fact what you suggest is what I already do. doInBackground is only called once and System.gc gets called once before the recording starts. The call audioRecord.read blocks until the appropriate number of bytes is read. Ive

[android-developers] Record audio problem on the LG Ally

2010-07-31 Thread skooter500
Hi guys I have a music recognition app (Tunepal) that records 12 seconds of audio @ 22KHz (in one second chunks). After each second, the audio is copied from a byte array into a float array and eventually I perform some DSP on the float array. My app is available on the Android Marketplace and

[android-developers] Re: Android Market Licensing: Now Available!

2010-07-31 Thread skooter500
This sounds great, but is completely useless to me as Im in Ireland and no paid apps available to my potential users, so I've gone ahead and made my own user registration and payment system based around PayPal. A complete waste of my time, but what can ya do? From Reto Meier: Unfortunately I

[android-developers] Re: Android paid apps in Ireland

2010-07-02 Thread skooter500
, Mathias Lin m...@mathiaslin.com wrote: Don't expect an answer from Google, cause they won't. Just move to another market platform. Google has no interest to offer paid apps model in too many countries, as they heavily rely on advertisement income. On Jun 28, 3:15 pm, skooter500

[android-developers] Re: How to dismiss the soft keyboard

2010-06-30 Thread skooter500
28, 8:23 am, skooter500 skooter...@gmail.com wrote: Hi I have a TextView and a search button on an activity. When I press the enter key, I want to do something and then dismiss the soft keyboard programatically. I have set the TextView to be single line by using: android:singleLine=true

[android-developers] Re: Android paid apps in Ireland

2010-06-28 Thread skooter500
This is a disgrace! And I cant get an answer from anyone in Google as to when this will be available. Oh well. It looks like SlideMe it is Bryan On Jun 26, 7:43 pm, Tomáš Hubálek tom.huba...@gmail.com wrote: On 21 čvn, 10:37, skooter500 skooter...@gmail.com wrote: (though I have users

[android-developers] How to dismiss the soft keyboard

2010-06-28 Thread skooter500
Hi I have a TextView and a search button on an activity. When I press the enter key, I want to do something and then dismiss the soft keyboard programatically. I have set the TextView to be single line by using: android:singleLine=true, which moves the focus to the next component when you press

[android-developers] Android paid apps in Ireland

2010-06-21 Thread skooter500
Hi guys I have a popular music search engine app for the iPhone called Tunepal (http://www.youtube.com/watch?v=Gr0xnlYZ_gM) and in response to multiple requests I have been working hard to port it Android. The port will be finished in the coming weeks and I want to sell it on the Android