Sony Small Apps runOnUiThread

The Activity class is used to implement an application which has GUI. However, if you use SmallApplication class for implementation, you can launch the application as a Small Apps. According to the Sony API Reference, the SmallApplication class is similar to the Android Activity class but it doesn’t have the runOnUiThread method.

So let’s implement it:

package com.rosaneng.test;

import android.os.Handler;

public class MainApplication extends SmallApplication {

public Handler handler;

public void onCreate() {
handler = new Handler();
private void runOnUiThread(Runnable runnable) {;

DIY NFC Speaker

With a NFC sticker and proper software you can turn your old Bluetooth speaker into a NFC enabled one.

For this demonstration I used a NFC sticker that I got from TaoBao.

Cantonese Text to Speech on Android

Google puts a tremendous amount of work into its voice-synthesis technology, however for Chinese, the Android phones currently only can synthesize Putonghua. Google doesn’t support Cantonese yet but with some third party application, we can make our phones to “read aloud” Cantonese.

1. Install Ekho TTS Cantonese


QR Code:

2.  Go to Settings -> System -> Accessibility


3. In Text-to-speech output, select Ekho TTS Cantonese as your preferred engine. You can adjust some options here such as the speech rate and voice pitch


4. Install Voice Out Simple TTS Client – There are other TTS clients that should work with Ekho too but I made this one for myself :)


QR Code:

5. Launch the Voice Out app, copy & paste some Chinese text on it and click on the play icon! (Remember to turn up the volume)