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

[android-beginners] Re: Box2d Graphics In Android

2009-06-04 Thread Simon
http://code.google.com/p/androidbox2d/ This is the only one i know On Jun 4, 6:51 am, Desu Vinod Kumar vinny.s...@gmail.com wrote: Actually my main focus is asking about the FrameWork in Android like cocoa available in Iphone is there any frame work like that in android for developing games

[android-beginners] onDraw() method on a LinearLayout is not being called

2009-03-04 Thread simon
Hi, I have a LinearLayout with several views inside and would like to use the onDraw() method of the LinearLayout to draw something on top of all those views. When I tried to do this I realized the onDraw() method of the LinearLayout is never called (I added breakpoints to the method to check

[android-beginners] Re: R.java file dont update

2009-01-23 Thread simon dixon
Hello, I think you need a folder structure res/raw instead of raw/res. Cheers Si Shimmyde wrote: Hi, Im trying to reproduce some audio from raw folder under raw/res When I do this I checked on R.java that the raw was not updated, so when I call R.raw.audiofile it returns an error that R.raw

[android-beginners] emulator-5554 disconnected! Cancelling

2008-12-12 Thread simon
when i try running the simple Hello Android program i get the following message in console emulator-5554 disconnected! Cancelling 'com.android.hello.HelloAndroid As a result the program does not run. Thanks for your help --~--~-~--~~~---~--~~ You received

[android-beginners] Re: Open /android-sdk-windows-1.0_r1/tools/emulator.exe failed

2008-12-04 Thread Simon He
But, I was waiting it more than 1 hour, does it download something from your site when initialize? 2008/12/4 Mark Murphy [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I downloaded the file android-sdk-windows-1.0_r1.zip, and unpacked it. and already added SDK tools directory to my enviroment

[android-beginners] Re: Equal Android classes to Java Microedition classes

2008-05-14 Thread simon
Perhaps this will help you: http://www.poliplus.com/android.htm On 14 Mai, 09:05, cbraun75 [EMAIL PROTECTED] wrote: Hi! Just new to android. I must rewrite a applet for a carconnection to get data from the car. There is a existing application which is for JavaME. First one question the