[android-beginners] Re: m5 not working

2008-04-06 Thread wamoc
Ok, I tried installing Eclipse Europa, and that didn't fix it. Tomorrow I will try to do this on my windows machine (shudder) and hope it works. On Apr 5, 10:19 pm, Dan U. [EMAIL PROTECTED] wrote: I think your development environment must be messed up. If I do a clean, R.java goes away, then

[android-beginners] Bring View to Front

2008-04-06 Thread Alejandra H.
Hello :) Is there any way to bring a view to the front of the main view? I want it to overlap the other views. Right now, it's pushing my textview next to it and it's wrapping the text inside of it. Thanks --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Embed audio file !

2008-04-06 Thread LE THANH TUNG
Still having the problem. On Fri, Apr 4, 2008 at 10:34 PM, LE THANH TUNG [EMAIL PROTECTED] wrote: I use m3, is this the problem ? On Fri, Apr 4, 2008 at 10:28 PM, LE THANH TUNG [EMAIL PROTECTED] wrote: Hi ! I follow exactly the instruction from

[android-beginners] Re: Embed audio file !

2008-04-06 Thread Dan U.
Try removing the prepare() call. I'm using m5 and having that call in your example caused it to break on me. On Apr 6, 1:24 am, LE THANH TUNG [EMAIL PROTECTED] wrote: Still having the problem. On Fri, Apr 4, 2008 at 10:34 PM, LE THANH TUNG [EMAIL PROTECTED] wrote: I use m3, is this the

[android-beginners] Who has the specific document about XML layout files ?

2008-04-06 Thread wolf
Though there are some tools help me design the layout, sometimes I want to know the specific meanning of the XML file. For instance , what are FrameLayout and RelativeLayout ? The whole attributes of android like android:visibility, android:layout_width, and so on...

[android-beginners] Re: Who has the specific document about XML layout files ?

2008-04-06 Thread wolf
The andbook(version release.002) also does not provide these information. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

[android-beginners] Make a button reset a program

2008-04-06 Thread Rahul
How would i go about making a button restart a program entirely? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To

[android-beginners] Re: best way to setup 3 buttons

2008-04-06 Thread Dan U.
Yes, that's expected behavior for fill_parent. It fills what's left in the parent which means it pushes other things out of view. I think you could accomplish what you want by specifying a layout_weight on button 2. On Apr 6, 8:46 am, Rahul [EMAIL PROTECTED] wrote: ok i am having trouble with

[android-beginners] Re: Problems running the emulator (error: com.google.android.phone is not responding)

2008-04-06 Thread Dan U.
I don't think there's much you can do. You will have to allow for a long boot time or upgrade your hardware. I've heard complaints about boot times being 20-30 minutes, but that may have been just the first boot. On Apr 6, 6:41 am, Jakob Bjerre Jensen [EMAIL PROTECTED] wrote: Hello Digit,

[android-beginners] Re: Most basic UI crash

2008-04-06 Thread Dan U.
Your layout file is in m3 format. http://code.google.com/android/migrating/m3-to-m5/m5-api-changes.html On Apr 6, 6:05 am, Jason Tai [EMAIL PROTECTED] wrote: Hi, Keep getting Unable to start activity...ComponentInfo{...}java.lang.NullPointerException error. Tried couple of basic

[android-beginners] Re: Who has the specific document about XML layout files ?

2008-04-06 Thread Dan U.
This might sound like a smart-ass comment, but have you tried reading the api docs? Nearly everything related to layouts and related xml is explained. Just look for the class you want to know about (FrameLayout for instance): http://code.google.com/android/reference/index.html On Apr 6, 4:45 am,

[android-beginners] Re: Make a button reset a program

2008-04-06 Thread Dan U.
I've heard there is supposed to be some functionality coming in a future sdk to close an application. So I guess maybe in code you would make a close call (or whatever they call the method), then a startActivity call. If you wanted to do the same thing in the current sdk, you'd probably have to

[android-beginners] Re: readonly singleline TextView and text which doesn't fit there completely

2008-04-06 Thread Romain Guy
This feature is part of the next SDK. Using an attribute called ellipsize you will be able to automatically add an ellipsis ... at the beginning, end or in the middle of the text, as needed. On Sun, Apr 6, 2008 at 8:12 AM, Selmi [EMAIL PROTECTED] wrote: is it possible to find out which

[android-beginners] Re: m5 not working

2008-04-06 Thread wamoc
Ok, on the windows machine I didn't try anything with CVS, just to get m5 to work. I downloaded eclipse and put the program files in C:/ program files/eclipse. I downloaded m5 and put the folder in C:/. In eclipse I installed the plugins with the directions on the android site. I then

[android-beginners] Re: readonly singleline TextView and text which doesn't fit there completely

2008-04-06 Thread Dan U.
A few days ago someone was doing some things with formatting text in a textview and it was suggested he look at SpannableString and SpannableStringBuilder. I've looked at the docs, but those classes are still quite confusing to me, but maybe they would do something useful for you. On Apr 6, 8:12

[android-beginners] Re: Problems running the emulator (error: com.google.android.phone is not responding)

2008-04-06 Thread Digit
a 20-30 minutes first boot is not normal. M5 on a 1 GHz Mobile Pentium III takes 7 minutes and a half on first boot. (that's the lowest running CPU I could find). the next SDK release should contain an improved emulator binary that runs slightly faster. However I'm totally unsure that this will

[android-beginners] Re: m5 not working

2008-04-06 Thread Dan U.
There's quite a few people using m5 successfully, myself included. I don't know what else to tell you. If you want to email me your test app, I'll run it in my environment, but I don't think that will help much. On Apr 6, 12:35 pm, wamoc [EMAIL PROTECTED] wrote: Ok, on the windows machine I

[android-beginners] Re: Bring View to Front

2008-04-06 Thread [EMAIL PROTECTED]
Hi Alejandra, You can use bringToFront() method of the View class in order to pop the view up. If you need to overlap the views, you can use the AbsoluteLayout which lets you define x,y coordinates of the Views directly. -sarp On Apr 6, 3:35 am, Alejandra H. [EMAIL PROTECTED] wrote: Hello :)

[android-beginners] Trouble Launching Application

2008-04-06 Thread Dan
Hi, every time that I attempt to launch the most basic Hello, Android! application, the emulator never goes past the loading screen with the red line. The Troubleshooting FAQs suggest that Eclipse is having trouble interfacing with the emulator and I tried the steps suggested, no luck. Any

[android-beginners] need to learn java

2008-04-06 Thread Vames
Can anyone tell me how i can learn how to develop in java? where to go, what tutorial to use etc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

[android-beginners] Re: getSelectedItemPosition() not working

2008-04-06 Thread Romain Guy
It's probably because you are in touch mode. After you touch the screen, the selection disappears. On Sun, Apr 6, 2008 at 3:01 PM, WildLuka [EMAIL PROTECTED] wrote: hi, i'm calling getSelectedItemPosition() from ListActivity and I get -1 after selecting any item in the list. this

[android-beginners] Re: need to learn java

2008-04-06 Thread Dan U.
I recommend the core java books. They are reasonably priced and written well. On Apr 6, 3:19 pm, Vames [EMAIL PROTECTED] wrote: Can anyone tell me how i can learn how to develop in java? where to go, what tutorial to use etc. --~--~-~--~~~---~--~~ You received

[android-beginners] Re: Most basic UI crash

2008-04-06 Thread Jason Tai
Aha! It works! Thanks a lot. Jason Tai On Apr 7, 2:49 am, Dan U. [EMAIL PROTECTED] wrote: Your layout file is in m3 format.http://code.google.com/android/migrating/m3-to-m5/m5-api-changes.html On Apr 6, 6:05 am, Jason Tai [EMAIL PROTECTED] wrote: Hi, Keep getting    Unable to

[android-beginners] Re: need to learn java

2008-04-06 Thread tim jones
Free Java tutorial http://java.sun.com/docs/books/tutorial/information/download.html On Sun, Apr 6, 2008 at 5:45 PM, Dan U. [EMAIL PROTECTED] wrote: I recommend the core java books. They are reasonably priced and written well. On Apr 6, 3:19 pm, Vames [EMAIL PROTECTED] wrote: Can

[android-beginners] want to receive intent of phone ringing!! help!!

2008-04-06 Thread franw
hi, i want my program to start if the phone rings, so i want to receive that action but cannot find what you need in the manifest to get this intent to start - please help! ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android;

[android-beginners] Re: need to learn java

2008-04-06 Thread Vames
thanks everyone, i will check those out. another question, i am fairly new to programming in general so is it too hard to learn java? On Apr 6, 7:39 pm, tim jones [EMAIL PROTECTED] wrote: Free Java tutorial http://java.sun.com/docs/books/tutorial/information/download.html On Sun, Apr 6,

[android-beginners] Re: need to learn java

2008-04-06 Thread Dan U.
I personally think it's one of the easier languages to learn, but then again I've been working with Java for nearly 8 years. One reason I say it's simple is that it's fairly easy to read. This does make code quite a bit more verbose though. Just make sure you start out simple. Make sure you