in the android sdk (android-sdk\samples\android-8\ApiDemos\src\com\example\android\apis\os\MorseCode.java) there is a morse code example. When you start the app and type a text it is vibrating in morsecode. In the MorseCode.java is this part here:
long[] pattern = MorseCodeConverter.pattern(text);
// Start the vibration
Vibrator vibrator = (Vibrator)getSystemService(Context.VIBRATOR_SERVICE);
vibrator.vibrate(pattern, -1);
I tried to change vibrating into show something on the display. I mean, a image visible / invisible. No success.
Here is an other example.
I just need a little help. Where can I start.
The library you link to (com.templaro.opsiz.aka) has a
MorseConverterutility class, which returns an array ofMorseBit– you could use that instead: