Hm. Opinionated a little? A couple of times, folks ask me: do you know X? And I say, why, no I don’t. I do know the language that X avoids. X is: Objective-C, Java, etc. the list goes on. Tonight at a study group, a friend who had just learned Objective-C agreed with me (I [...]
Maybe, perhaps because I’m an English major, I tend to notice patterns in my speech. So, I noticed recently that I keep saying the same phrases in discussions regarding mobile app development: – secret sauce – no login – no back button – mentoring – phase 2 – did the customer want that – don’t [...]
Posted by banane on June 7th, 2012 — in android dev
It’s tough, and I just got it to work. See zipped code here. The key was writing the streamed URL code to a local disk space (always same file). Despite the purported support, Android 2.2.1 does not support WAV streaming. That is, you can’t play it directly from a URL. Basically wrote our own “setDataSource” [...]
Posted by banane on June 6th, 2012 — in android dev
I wrote an iPhone post and hinted that I had an Android implementation, and I do! You can download the project here: unicorn.zip Normal Highlighted So you want lovely gradient buttons, and when you press them, you want another gradient layer to show. Define your layout in xml, add a button <Button [...]
Posted by banane on June 4th, 2012 — in android dev
Ah, just spent a while figuring this out. You have a progress bar, you’d like it to start, and, you’d like it to stop. There are lots of examples of start a progress bar, but very little on how to stop, or interrupt it. That’s the key- you are interrupting a running while loop. The [...]
Download on Google Play and on iTunes My goal was to record little snippets on both iPhone and Android, and share those files between users, on Facebook. As usual, I want old Android users (2.2+) and iPhone (3+) users to participate in this app. I originally recorded in iPhone CAF, then realized the file size [...]
Stacie, Estelle, and me in the background. Via Kris Corzine The AT & T Hackfest was in Palo Alto. Sleepy, beautiful, affluent, diverse and yet economically not-diverse, Palo Alto, at the AT & T Foundry, a neat space with lots of power, sunlight, and (oddly, but great) random doors onto the street. I kind of [...]
Tell me what you think- wrote an article on “appiness” — no, it’s not a Cockney pronunciation of happiness, but the trend towards ever increasing complexity in online interfaces, that makes them ineffective and “appy”.
I keep forgetting this, so here it is for all posterity: afconvert -f mp4f -d aac -b 128000 input.wav output.mp3 I’m working on Bingueau-Android, and need to change literally hundreds of little wav files to mp3. And if you want a little command-line Ruby script to do it in batches: # command line test: # [...]
At first, doing a “Hello World” was quite easy, the hardest part was learning Eclipse (for Mac): – Open Eclipse and don’t worry about opening a project, on the left hand side will be all of your “workspace” projects. – Running (the play button) does an automatic build – Mouseover red squiggly underlines to find [...]