[android-beginners] Any MediaPlayer success?

2008-10-15 Thread David Farler
Has anyone had any success with the MediaPlayer class? I haven't been able to play a single 3gp file. I've also tried a few MPEG-4 files. I've downloaded maybe 30+ random small files from the internet. They play fine in PC players (I'm testing with VLC) but no luck on the emulator. I've tried

[android-beginners] Re: Prevent uninstallation of application in Android

2008-10-05 Thread David Farler
Even if this were possible -- and I don't think it is -- can you give one good reason why a user should let you do this? On Sun, Oct 5, 2008 at 8:15 AM, denismo [EMAIL PROTECTED] wrote: Hello, I've got an unusual requirement - I need to PREVENT users from uninstalling my application from

[android-beginners] Re: Using the Log class

2008-10-03 Thread David Farler
Zach, If you are stepping through your program and it crashes, then it has crashed on the line you are on. Or, you can just debug, let run to crash, and read the call stack. Look at the top of the stack. This is where it crashed. If it's not your code, then check for layout/xml problems. Check

[android-beginners] Re: With no previous programming knowledge / experience, how do I get started creating an app?

2008-10-01 Thread David Farler
and such and you move them around and set value having it do the real coding behind the scenes)? Or is it something completely different? On Sep 30, 9:38 am, David Farler [EMAIL PROTECTED] wrote: You are correct. First, your files are compiled as true java class files. The Java bytecode gets

[android-beginners] Re: Preferences Error

2008-09-30 Thread David Farler
That sounds like a problem with eclipse. Did you install from repositories? I recommend upgrading to Eclipse 3.4 Ganymede directly from the eclipse.orgwebsite. Just keep the extracted eclipse folder wherever is convenient for you. Also, apt-get remove your current eclipse installation before

[android-beginners] Re: Help creating .bash_profile (Mac)

2008-09-30 Thread David Farler
Hi Nathan, First of all, adding the tools folder to the path is optional. It will just allow you to run the command-line tools in that folder without having to cd there. Files that start with a . are hidden in Unix and Linux based operating systems. Bash is the shell that is used by many Unix

[android-beginners] Re: Background Image for a (semi-transparent) List

2008-09-29 Thread David Farler
Hi Sascha, I'm not an expert yet at this, but I did look into your problem. Perhaps you are forgetting to use the ListActivity's own ListView? Code below should work. package com.android.hello; import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter;

[android-beginners] Re: Background Image for a (semi-transparent) List

2008-09-29 Thread David Farler
xmlns:android=http://schemes.android.com/apk/res/android; android:id=@+id/text1 android:layout_width=wrap_content android:layout_height=wrap_content / On Mon, Sep 29, 2008 at 11:12 AM, David Farler [EMAIL PROTECTED] wrote: Hi Sascha, I'm not an expert yet at this, but I did look

[android-beginners] Re: For the REAL beginners!

2008-09-29 Thread David Farler
Eclipse, my friend. Eclipse. http://code.google.com/android/intro/installing.html On Mon, Sep 29, 2008 at 9:32 PM, tedpants [EMAIL PROTECTED] wrote: I'm planning on programming very simple Android programs on my laptop during free time. Does anybody have the best solution for what IDE I