Category Archives: Android

NEON optimizations for iOS and Android

I spent some time over the last few weeks optimizing some of our low-level DSP functions using ARM NEON instructions, and thought I’d share my experience here, as there were a few surprises. First, some background on NEON.  Many of … Continue reading

Posted in Android, iOS | 3 Comments

Anatomy of a cross-platform iOS/Android app

There hasn’t been a lot of news posted lately, which is just because we’ve been busy making some big changes to the Cricket Audio code; we’ll post more about that when we’re ready, we promise! In the meantime, though, I … Continue reading

Posted in Android, Audio, Cricket, Game Development, iOS | Leave a comment

Native audio programming on Android without OpenSL ES, part 2

In my last post I described how we use JNI and the Java AudioTrack class to output audio from native code on Android versions prior to 2.3 (that is, before the release of OpenSL ES).  But actually, that’s only half … Continue reading

Posted in Android, Audio | 4 Comments

Native audio programming in Android without OpenSL ES

Android 2.3 introduced OpenSL ES to the NDK, which is certainly a welcome addition for those of us interested in writing native audio code. Unfortunately, since few if any mobile carriers have yet released the update on their networks, only … Continue reading

Posted in Android, Audio | Leave a comment

C++ development on iOS and Android

The basic interface for the Cricket engine is C++, as is most of the implementation.  Objective-C is the primary development language on iOS, and Java is the preferred language on Android, but both platforms support C++ also; C++ code can … Continue reading

Posted in Android, C++, iOS | Leave a comment