[android-beginners] how you structure your Java code inside /src/

2009-11-01 Thread Marton Kodok
I have a constructive question: How you structure your Java code inside /src/ ? -- Marton -- 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

[android-beginners] Re: webview load set progress bar

2009-11-01 Thread pentium10
any help on this one? On Oct 30, 2:01 pm, Marton Kodok pentiu...@gmail.com wrote: I have this code to setup a progress bar for my webview. I get an error on runtime on the first marked line. What is wrong? getWindow().requestFeature(Window.FEATURE_PROGRESS); // hangs out on this line      

[android-beginners] Re: Very specific question about Foreground / Background tasks...

2009-11-01 Thread Indicator Veritatis
Richard- Your answer is true, and even helpful. But I fear it will sound too much like the fan-boy-turned developer demanding he read 12 gazillion pages. Yes, he should read the fundamentals, he should also do some of the elementary tutorials, especially the classic Hello World in its Hello

[android-beginners] Re: Sleep mode

2009-11-01 Thread Indicator Veritatis
Did you look at the method ServiceState.setState() in the package android.telephony? STATE_POWER_OFF gets you pretty close to what you want: it turns the radio off. On Oct 31, 10:59 pm, Anders Feder anders.feder...@gmail.com wrote: Anyone? If it can't be done in any other way, is there by any

[android-beginners] Re: how to type in a webview

2009-11-01 Thread Indicator Veritatis
Please explain in more detail, why you can't do that. Is it because you never can get focus in the input field for the authorization credentials? Can you tell us what login page you are required to go to? On Oct 30, 1:28 am, Marton Kodok pentiu...@gmail.com wrote: Hello, I have a really small

[android-beginners] Re: Very specific question about Foreground / Background tasks...

2009-11-01 Thread Lance Nanek
In Android a service can be used to perform work in the background while the user is using other apps: http://developer.android.com/intl/fr/reference/android/app/Service.html If the work should be done at a certain time, then there is the AlarmManager:

[android-beginners] Re: webview load set progress bar

2009-11-01 Thread donthorp
You need to make sure you're requesting the feature before you set your content view. On Oct 30, 1:01 pm, Marton Kodok pentiu...@gmail.com wrote: I have this code to setup a progress bar for my webview. I get an error on runtime on the first marked line. What is wrong?

[android-beginners] 3G connection sometimes missing from emulator

2009-11-01 Thread Marton Kodok
Hello, I am using the Emulator via Eclipse on a Windows 7 OS. Sometimes when the emulator is launched the Internet connection is missing, also the 3G icon is missing. I have to restart the whole emulator to get it show up. Sometimes it shows up after several restarts. Is this a know bug? --

[android-beginners] description about a class is/can be used for

2009-11-01 Thread Marton Kodok
Where can I read more what a class is or can be used for? For example I want to read the differences between WebChromeClient vs WebViewClient but this link doesn't contain description http://developer.android.com/intl/ja/reference/android/webkit/WebChromeClient.html -- Márton -- You received

[android-beginners] theme textAppearance

2009-11-01 Thread Craig
I've been trying for hours to get a default textAppearance set in a theme, and I'm running out of hair to pull out. Here is what I have: in res/values/thems.xml: resources style name=Theme.LightBlueBackground parent=android:Theme.Light item name=android:windowBackground@color/bg/item

[android-beginners] help with AnalogClock widget - remoteview and appwidgetprovider

2009-11-01 Thread Zi Yong Chua
Hi guys, I am trying to develop and AnalogClock widget on the home screen that changes depending on the time of day. I am finding problems getting to the right code to make it happen, and will hope to seek you help and advise here. 1) Getting the dial resource in AnalogClock to change in code I

[android-beginners] Re: Audio Stream Processing

2009-11-01 Thread heteroskedasicity
On Oct 30, 5:40 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: On SDK level you won't find any API support to render your audio stream. If you want to do this, you have to do some native coding. Thanks Roman. Got a link to where I could begin exploring that possibility?

[android-beginners] Re: Audio Stream Processing

2009-11-01 Thread heteroskedasicity
On Oct 30, 5:40 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: On SDK level you won't find any API support to render your audio stream. If you want to do this, you have to do some native coding. Thanks Roman. Got a link to where I could begin exploring that possibility?

[android-beginners] Motorola DROID emulator skin now available for Android 2.0 SDK!

2009-11-01 Thread Tea Vui Huang
Motorola DROID emulator skin now available for Android 2.0 SDK! http://teavuihuang.com/android DROID by Motorola is a Smartphone powered by Android 2.0 and developed in partnership with Google and Verizon Wireless. It was released on 28/10/2009 and will be available in Q4 2009. This emulator skin

Re: 回复: [android-beginners] Any suggestions on how to save and XML DOM back to a file?

2009-11-01 Thread launchpadtt
That leads me to another question. I looked for a .jar that has the Transformer class and found xml- apis-2.0.2.jar here http://www.findjar.com/jar/xml-apis/jars/xml-apis-2.0.2.jar.html s... I downloaded it and imported it via Build Path - Configure Build Path... - Libraries - Add External

[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 for

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

2009-11-01 Thread Selmi
setting of config mentioned few posts back works and to make button 'install' work fix is here: http://groups.google.com/group/android-beginners/msg/70625c22a2f82d89 On Nov 1, 12:43 am, Selmi se...@centrum.sk wrote: same problem. also i noticed that when i set checkbox to use http instead of

[android-beginners] Starting a service from top-level launcher

2009-11-01 Thread Anders Feder
Hi, I am trying to make a 'headless' (i.e. UI-less) application. Is it possible to start a service in my application from the top-level launcher (the one accessed from the Android home screen) directly, that is, without the launcher starting an activity which then start the service? Simply

Re: [android-beginners] Re: SDK Setup on Windows

2009-11-01 Thread Raphael
On Thu, Oct 29, 2009 at 10:20 AM, mellery451 mellery...@gmail.com wrote: sorry for the delay in responding. Here is the output: C:\android\android-sdk-windowstools\android.bat Starting Android SDK and AVD Manager Error: Error parsing the sdk. Error: C:\android\android-sdk-windows\platforms

[android-beginners] ERROR: the user data image is used by another emulator. aborting

2009-11-01 Thread kk_Kiran
Hi, Can anybody help me in getting rid of this annoying error. ERROR: the user data image is used by another emulator. aborting I frequently get this error while testing my application on emulotor. As of my readings the only solution is close the emulotor and restart it. This has become very