I am writing a keyboard replacement app for Android, and I needed the keyboard customized enough that I need to run it in an Activity, instead of keeping it in the Inp
Inp
Use a Binder for that.
This tutorial about music player service is a good sample http://www.helloandroid.com/tutorials/musicdroid-audio-player-part-ii
Especially this line
mpInterface.addSongPlaylist(file.getName());