Re: [android-beginners] Application crashing

2010-06-23 Thread Simon Platten
Hi, Your onCreate method is not calling the default: super.onCreate( icicle ); Also, I would wrap the body of the code in a try{ } catch( Exception ex ) clause. Hope this helps, Sy Varun Khanduja wrote: Hello, I am trying to make a small To do list application. The application keeps

[android-beginners] Re: Android application not playing sound on phone

2010-02-16 Thread Simon Platten
Its odd, but one of the MP3 files will play the other just sounds like a blip, both files sound fine on the PC. Here is the modified play routine: private void playSound(int dResource) { try{ if ( m_objMediaPlayer != null ) { m_objMediaPlayer.stop();

Re: [android-beginners] Re: Android application not playing sound on phone

2010-02-16 Thread Simon Platten
Hi, Thank you for the reply, both files play on a PC, but only one will play on the phone. On Tue, Feb 16, 2010 at 10:54 PM, Kingcrowley kingcrow...@gmail.com wrote: sometimes you find encoding problems with MP3s, as in they don't use a standard encoding..not sure what codecs Android