[android-beginners] No internet connection in emulator

2009-11-02 Thread erisa
After a fresh install of ubuntu 9.10 and the Android SDK, I discovered that the emulator has no internet access. All websites produce the Page not available screen when accessed by the Android browser (1.6). I do not have a firewall and my internet access from my computer is fully functional.

[android-beginners] Re: Trouble editing XML files with Eclipse Galileo SDK 1.6

2009-11-02 Thread erisa
I have the exact same problem with a fresh install in Ubuntu 9.10. I have to close the project and reopen, even though there are no errors in the xml. Bizarre! On Oct 26, 4:02 am, kjell.w.krona kjell.w.kr...@gmail.com wrote: I now found out, that if I close and the reopen the project, the

[android-beginners] Re: Android 2.0 SDK is here!

2009-11-01 Thread erisa
I found a solution to the problem of running the Android SDK manager on Ubuntu 9.10. For some reason you first need to export GDK_NATIVE_WINDOWS=true. The following command works: br...@erisa:~/android-sdk-linux/tools$ GDK_NATIVE_WINDOWS=true ./ android To install the Android ADT plugin

[android-beginners] Re: Android 2.0 SDK is here!

2009-10-31 Thread erisa
I did a fresh install of the new SDK on an ubuntu 9.10 system and was unable to install any components. I first got the HTTPS SSL error and solved that by editing the androidtool.cfg directly to force use of http://. The SDK manager shows all of the packages as available, but after checking them

[android-beginners] Re: SDK r3 on Ubuntu 9.10

2009-10-31 Thread erisa
You are not alone. I too am trying to get 2.0 running on ubuntu 9.10 and am having the same problem. I did add the line sdkman.force.http=true to .android/androidtools.cfg, which at least got me a list of all the available components. But clicking on Install Selected produced nothing. If you

[android-beginners] Eclipse problem: R cannot be resolved

2009-10-30 Thread erisa
subdirectory, all to no avail. I am truly at a loss. erisa -- 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 unsubscribe from this group, send email to android-beginners

[android-beginners] WebView clearHistory() problem

2009-10-25 Thread erisa
I have several buttons on a screen, each of which makes a WebView on the layout visible and loads a different Url. Pushing the back return while viewing the URl makes the WebView gone and returns the user to the button screen. My problem is that often, but not always, pressing the back button

[android-beginners] EditText - how to respond to soft keyboard enter?

2009-10-17 Thread erisa
I have a very simple screen consisting of an EditText for entering a number, a bunch of TextViews that display results based on the number, and a RadioGroup to select a mode. What I want is the screen to do is recompute the results when the user finishes entering a new number either by pressing

[android-beginners] Re: Emulator crashed on X86_64 Gentoo (SDK 1.6)

2009-10-17 Thread erisa
On Oct 16, 7:57 pm, Brian Hsu brianhsu@gmail.com wrote: I'm really excited about the Android 1.6 release and its new feature. I installed android-sdk-1.6 on my Gentoo box using the following command. # emerge android-sdk It successfully installed and I could create an AVD named

[android-beginners] Re: Icon and text on button

2009-10-05 Thread erisa
Using setCompoundDrawablesWithIntrinsicBounds() worked perfectly. Thank you. But why did that work and not setCompoundDrawables()? Bruce --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners] Icon and text on button

2009-10-04 Thread erisa
I cann ot seem to get an icon and text on a button using set drawables. The following code displays just the text; no icon. Any ideas? package com.example.hellodrawable; import android.app.Activity; import android.os.Bundle; import android.widget.Button; public class HelloDrawable extends

[android-beginners] Two-level lists?

2009-10-04 Thread erisa
I am struggling with the following problem. I need an activity that lists seven items, each corresponding to a day of the week. It should be scrollable. Each day item consists of a date heading and below that one or two items, call them tasks, each with an icon and text. Clicking on a task

[android-beginners] Re: Two-level lists?

2009-10-04 Thread erisa
Thanks Mark. I'll experiment with both, but the logic for #2 looks like it might be tricky. I assume in #1 that there is a way to eliminate any child group indicator (and the possibility of collapse as well) so I could get a clean list. BTW, by coincidence I just received your Programming

[android-beginners] Virtual keyboard obscures EditText

2009-09-14 Thread erisa
When I click on an EditText view, the virtual keyboard obscures the view, so I can't see my edits. Any suggestions would be greatly appreciated. I am using the following layout (from the NotePad tutorial): ?xml version=1.0 encoding=utf-8? LinearLayout