alopix.net


alopix' official web presence


  1. Make SpannableStringBuilder less painful

    Using SpannableStringBuilder on Android isn't very intuitive. It's quite awful actually. Fortunately Jake Wharton releases a Gist called Truss, which is a simple wrapper around the SpannableStringBuilder API. It's just a simple class but should make creating SpannableStrings less painful. Best thing about the Gist is probably the JavaDoc 😉. A…

    on example, gist, jake wharton, spannable, spannablestringbuilder, tips & tricks, android

  2. Use custom animations between Android Activities

    Here's a quick tutorial on how to customize animations between Activities on Android. You can either programmatically set a different animation for every startActivity or add the same animation via a style. Animation First of all, we need some animations. The most basic animation would be alpha transitions which are…

    on animation, howto, tutorial, development, android

  3. Cascades ListView.leadingVisual is wrapped in StackLayout

    If you ever tried adding a leadingVisual to your BlackBerry 10 Cascades ListView you will have noticed that it will not expand to the full width of the ListView. Even using horizontalAlignment: HorizontalAlignment.Fill will not help. After thinking it was a bug I finally found ou the reason yesterday…

    on stacklayout, bb20, container, layout, leadingvisual, listview, tips & tricks, blackberry 10

  4. Correct Intent to send an SMS on Android

    Honestly, I do not use text messages/SMS very often – basically never. But still, sometimes you want to offer the user to send a text message. Of course, instead of implementing the messaging my self, I wanted to rely on the Android Intent service. Unfortunately there are a lot of…

    on sms, intent, text message, example, android

  5. Keep the lights on for Android Activities

    Sometimes it's necessary for an Activity to keep the screen on, e.g. for an eBook reader. Of course usually you should not force the screen on. It would be possible to use wake lock, but we don't want to do this, as it usually introduces a lot of bugs…

    on android, wake lock, activity, view, screen

  6. Moose updated and now on Google Play

    I just released a tiny update to my latest Android app Moose. Basically just improves the login dialog by adding a registration and forgot password web link. Additionally some minor bug fixes. Version 1.0.1 was submitted to the Amazon App Store for testing and is now also available…

    on project, update, release, Moose, Google Play, Amazon Android App Store