0

I have a requirement where upon clicking the launcher icon of my app, it should read out the app name.

I know it's a kind of funny, but is that possible? any directions?

kittu
  • 67
  • 2
  • 11
  • don't think this is possible due to the sandbox model of an Android application, not 100 % sure – Tobrun Nov 07 '12 at 15:25
  • The upper mentioned feature will break the expected user experience and your users won't appreciate it. – Egor Nov 07 '12 at 15:29
  • This is not recommended but you can actually play the sound file in onCreate of Launcher activity. – PravinCG Nov 07 '12 at 15:33

1 Answers1

0

try this in the onCreate/onResume method of your activity: MediaPlayer

Just start the player

mp = new MediaPlayer(); mp.reset();
mp.setDataSource(fileNamePath);
mp.prepare(); mp.start();

aichingm
  • 738
  • 2
  • 7
  • 15