Archive for May, 2011

Create runnable Jar-Files with Eclipse Helios

  • Select your project in Package Explorer and choose File | Export… in the menu.

  • Then select Java | Runnable JAR file.

  • Select your configuration and destination in following dialog and click finish.

  • Done 🙂
Categories: Misc

Stereomix with Windows 7 and ASUS P5B Deluxe to record audio output

For recording your audio output with a tool like No23 Recorder or Audacity you need to select Stereomix in the recording settings. But there was no Stereomix, Stereo-Mix, Wave Out or All-you-here entry in the settings.

Perhaps the only thing you have to do is to activate Stereomix in your Windows Sound settings.

If you have no Stereomix entry there you have to download the correct sound driver for your onboard Sound Card. For the ASUS P5B Deluxe it is the SoundMAX Integrated Digital HD Audio Driver included in you can find at the Asus support page. Search for P5B Deluxe and have a look at the AUDIO category on the page.

After the installation process you should see the Stereomix entry in your sound settings and can select and activate it.

Categories: Windows 7

Model Driven Software Development for Android

With the MDSDACP and the Android Content Provider Generation Eclipse Plugin it is possible to generate the Android Content Provider + Database + Model from an ecore domain model. It’s an Open Source Project under Eclipse Public License 1.0. For more informations have a look at the Project Home Page here.

Categories: Android, Development

LogCat doesn’t show anything

If the LogCat panel is empty in Eclipse the emulator (or your connected device) doesn’t have the focus. Go to the DDMS perspective and try clicking on the ’emulator’ entry in the Devices panel (top-left screen).

Categories: Android, Development

How to install the Android SDK on Mac OS X

  • Download the latest version of the Android SDK
  • Unzip it and move it where needed, e.g. to your user directory
    unzip ~/Downloads/
  • Open (in /Applications/Utilities)
  • Edit ~/.profile and append (if you have the SDK moved to your user directory):
    export PATH=~/android-sdk-mac_x86/platform-tools:~/android-sdk-mac_x86/tools:$PATH
    export ANDROID_HOME=~/android-sdk-mac_x86
  • Load new .profile
    source .profile
  • Run Android SDK Manager
  • Install Components
Categories: Android, Development, Mac OS X

Case insensitive comparison and searching NSString

if( [@"Some String" caseInsensitiveCompare:@"some string"] == NSOrderedSame ) {
   // strings are equal except for possibly case

NSRange range = [@"Some String" rangeOfString:@"string" options:NSCaseInsensitiveSearch];
if (range.location != NSNotFound) {
   // String found
Categories: CodeSnippets, Development, iOS

Remove project or folders from subversion in Mac OS X

Start a Terminal, go to the root folder of your project and type:

find ./ -name “.svn” | xargs rm -Rf

After removing all subversion files i got the following error in Xcode.

Go through Organizer -> Repositories and check your entries there.