[android-beginners] Re: Problem creating new app

2009-03-16 Thread Ralf
I don't think ADT supports Eclipse 3.2 anymore. Could you please try with Eclipse 3.3 or 3.4? R/ On Sun, Mar 15, 2009 at 4:41 PM, Kevin J. Brooks bear123434...@comcast.net wrote: I had to re-install my whole operating system.  Now after reinstalling Eclipse 3.2 and Android SDK I can to create

[android-beginners] How to set EditText to be read-only?

2009-03-16 Thread frizzo
I can't seem to find a method that does that. Is there a way to do it? Thanks. --~--~-~--~~~---~--~~ 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: How to set EditText to be read-only?

2009-03-16 Thread Romain Guy
setEnabled(false). You may want a simple TextView inside too. On Sun, Mar 15, 2009 at 11:13 PM, frizzo rg...@vbrad.com wrote: I can't seem to find a method that does that.  Is there a way to do it? Thanks. -- Romain Guy Android framework engineer romain...@android.com Note: please

[android-beginners] How do I set the focus to a widget?

2009-03-16 Thread frizzo
I am trying to set the focus to a EditText widget, but I don't see any way to do it. What am I missing? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send

[android-beginners] Re: How do I set the focus to a widget?

2009-03-16 Thread Romain Guy
View.requestFocus() On Sun, Mar 15, 2009 at 11:14 PM, frizzo rg...@vbrad.com wrote: I am trying to set the focus to a EditText widget, but I don't see any way to do it.  What am I missing? Thanks. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send

[android-beginners] Re: How do I set the focus to a widget?

2009-03-16 Thread Ralf
On Sun, Mar 15, 2009 at 11:14 PM, frizzo rg...@vbrad.com wrote: I am trying to set the focus to a EditText widget, but I don't see any way to do it.  What am I missing? http://developer.android.com/reference/android/view/View.html#requestFocus() R/ Thanks.

[android-beginners] Re: How to set EditText to be read-only?

2009-03-16 Thread frizzo
Thank you. However, setEnabled(false) disables the entire control (e.g. grays it out, etc..). I don't really want that. I simply want the user to be unable to change a value in the EditText widget. Btw, the reason, I don't just use a TextView widget is that readonly is only needed when

[android-beginners] Re: How to set EditText to be read-only?

2009-03-16 Thread Romain Guy
You could use android:editable=false but I would really advise you to use setEnabled(false) as it provides a visual clue to the user that the control cannot be edited. The same visual cue is used by all disabled widgets and consistency is good :) On Sun, Mar 15, 2009 at 11:23 PM, frizzo

[android-beginners] Re: How to set EditText to be read-only?

2009-03-16 Thread frizzo
I appreciate your words about consistency and I will consider that. Meanwhile, how do I achieve android:editable=false in code? I didn't see .setEditable on the EditText widget. Thanks. On Mar 15, 11:26 pm, Romain Guy romain...@google.com wrote: You could use android:editable=false but I

[android-beginners] Re: Style Attributes

2009-03-16 Thread 김병주
Here is sample codes In main.Xml = for the view ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; xmlns:app= http://schemas.android.com/apk/res/com.android.demo.customattribute; android:orientation=vertical

[android-beginners] Re: Using JUnit

2009-03-16 Thread Pankaj Bisaria
Hi Diego I have already gone through with your blog and implement the unit test case for plain classes. I am facing problem for the Classes which extends the Activity Classes. I have gone through with your article for Api Demos Test. When I tried it then I have not find the option Project Setup

[android-beginners] help maps

2009-03-16 Thread bobcat
Hello i have a problem with the visualization of map, i have follow the tutorial of MapView but i don't see the map i have insert api key but nothing where is the problem? Please help me.thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Weekend Project: Fruits of my labour ...

2009-03-16 Thread Pd
Hello, I would like to present a short intro I wrote over the course of the weekend. Its basically what I call a round ticker. You'll get the idea if you load it up into your phone or emulator. The reason for me writing this was firstly to have some fun and secondly to learn about the

[android-beginners] Re: Weekend Project: Fruits of my labour ...

2009-03-16 Thread whitemice
Cool. Now stop having fun and go make a useful Android Application. ;-) and don't let me catch you selling this for $0.99 on the market! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners] Re: Android dev 1 3G networks

2009-03-16 Thread malachid
That doesn't cover ATT/Cingular 3G. You can use ATT Edge, but not ATT 3G. Mal On Mar 15, 6:46 am, Jean-Baptiste Queru j...@android.com wrote: The Android Dev Phone 1 supports 3G access on the 1700 and 2100 bands, which should cover the most common cases. JBQ On Sun, Mar 15, 2009 at 2:56

[android-beginners] Re: Android dev 1 3G networks

2009-03-16 Thread Jean-Baptiste Queru
Indeed. As far as I know the frequencies used by ATT for their 3G service aren't the most common ones. JBQ On Mon, Mar 16, 2009 at 8:24 AM, malachid malac...@gmail.com wrote: That doesn't cover ATT/Cingular 3G. You can use ATT Edge, but not ATT 3G. Mal On Mar 15, 6:46 am, Jean-Baptiste

[android-beginners] Re: Update Gallery and Listview after Thread

2009-03-16 Thread guruk
Hi Mark, I ordered your Book right now :) by PDF on Commonsware .look for ILoveSinai. Thanks for help. But also the following Code does not upate :( (yes it update, but i have to scroll the content out of the view and back, than i see the changes!) package

[android-beginners] Re: help maps

2009-03-16 Thread bobcat
I have resolve the problem but how can obtain the gps position or gsm or wi-fi? --~--~-~--~~~---~--~~ 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: Making things louder

2009-03-16 Thread Dave Sparks
MediaPlayer.setVolume(float leftVolume, float rightVolume) Values should be in the range of 0 to 1, and 1.0 is maximum volume. On Mar 13, 9:54 pm, frizzo rg...@vbrad.com wrote: Thank you. As far as point 2 about setVolume, I couldn't really find an example of what the parameter values should

[android-beginners] About Google Map Installation on Target

2009-03-16 Thread innisfree
Hi All, I have couple of doubts regarding Google Map Usage as below: 1. I am able to run Google Map Application on Emulator with proper API key. Google Map is not open source and not available on Target Board, so I am not able to execute this application. Does same API Key hold good for

[android-beginners] Accelerometer Applications

2009-03-16 Thread Mahendera
Hello Community! I want to know that how a particular view object of layout can be moved with device movement( i.e. Accelerometer changes) and if there is no changes in accelerometer values then that view object should remain stationary.please help me with full source code and explanation.

[android-beginners] Google map

2009-03-16 Thread innisfree
I want to use google map in my target board. I succeed in emulator, so I think I can use in my target board, too. But I can't. If I want to use google map in real board, What procedures do I need? --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: Style Attributes

2009-03-16 Thread 寒冰 徐
Does any one has used MIDP runner ( convert j2me to apk)? Why I can not run it in android? Its explorer always crash when running . From: tiny...@earthlink.net To: android-beginners@googlegroups.com Subject: [android-beginners] Re: Style Attributes Date: Sun, 15 Mar 2009 22:41:46 -0500

[android-beginners] Problem with Notepadv1 tutorial

2009-03-16 Thread MMC2
I successfully completed the 'Hullo World' tutorial. Then I went through the Notepadv1 tutorial only to find that there is an error although I do not know what it is. So I loaded the Notepadv1Solution app but it won't run either. It has the same error. Can any one help please?

[android-beginners] Reactions of: public boolean onTrackballEvent(MotionEvent event)

2009-03-16 Thread cruiseru...@gmail.com
I override onTrackBallEvent but I have problem .It has good reaction for action move ... when I track left, it goes left, when I track right, it goes right, but I can't stop it .When I unpress .. (action_up) the track ball .. it does nothing... still continue to move. It does stop moving only

[android-beginners] Flash Player

2009-03-16 Thread running...@googlemail.com
3 Questions; The word is that Adobe demo'ed a flash player for the G1 6 months ago is it available? Why cant I download the linux version? Finally Im converting from Windows mobile (heap of crap). Im using Outlook 2002 on my pc which uses Active Sync, so it wont convert my past calendar

[android-beginners] Failed to reopen debug port for Selected Client to: 8700 error

2009-03-16 Thread wei fang
Hi Lads: I'm a beginner of Android, I just installed environment today. After installation, I got [2009-03-15 22:06:10 - ddms]Failed to reopen debug port for Selected Client to: 8700 [2009-03-15 22:06:10 - ddms]Address family not supported by protocol family: bind java.net.SocketException:

[android-beginners] Cannot run Android emulator on Linux

2009-03-16 Thread Mohi
Hi, I downloaded the the entire SDK for my ubuntu machine. Then I went to tools directory and ran ./emulator which opened the emulator correctly. However, I did the same thing on my 64 bit Arch Linux computer, but when I use ./emulator, it tells me such file or directory doesn't exist. Note

[android-beginners] Notepadv1 tutorial

2009-03-16 Thread MMC2
When I load the Notepadv1Solution app from the tutorial Im get an error and can't run it. I don't understand the error. Help please. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] How to overlay animation upon a View

2009-03-16 Thread wizardboys2...@gmail.com
Hi,all, I am new to Android and current try to realize a UI that a drawableAnimation can be floating upon a customized view as a small- animating widget while I can still focus on and work on the customized view. Actually I tried serveral solutions but all failed as follows, (1) I tried to use

[android-beginners] Button with both Text and Image

2009-03-16 Thread megabot
Hello, Is there a way to create Buttons that contain both an Image and Text (image on top text below or image left and text right)? And how can this be done within a xml layout file? For example, the application 'Pkt Auctions eBay' (see Android Market) has these type of buttons. So far I have

[android-beginners] [Android UI]How to overlay animation upon a View

2009-03-16 Thread wizardboys2...@gmail.com
Hi,all, I am new to Android and current try to realize a UI that a drawableAnimation can keep floating upon a customized view as a small- animating widget while I can still focus on and work on the customized view. Actually I tried serveral solutions but all failed as follows, (1) I tried to

[android-beginners] blogs

2009-03-16 Thread mrs.sa...@gmail.com
I have 700 blogs about Job Business Politics Fashion and much more Plz vist our Blogsite http://foxfinder.blogspot.com/ http://nflplay.blogspot.com/ http://ukfinder.blogspot.com/ http://fashionhost.blogspot.com/ http://youaresmarter.blogspot.com/ http://foxfinder.blogspot.com

[android-beginners] Jobs blogs

2009-03-16 Thread sajad0...@gmail.com
Meat 700 blogs about Job Business Politics Fashion and much more Plz vist our Blogsite http://foxfinder.blogspot.com/ http://nflplay.blogspot.com/ http://ukfinder.blogspot.com/ http://fashionhost.blogspot.com/ http://youaresmarter.blogspot.com/ http://foxfinder.blogspot.com

[android-beginners] Android beginners

2009-03-16 Thread MMC2
I am new to this. I have just tried twice to post a question but it does not appear anywhere that I can find it. I have done the Hiullo World tutorial. Then I did the Notepadv1 tutorial but it came up with an error, and I can't work out what it is. When I load the Notepadv1Solution app, which

[android-beginners] Re: Style Attributes

2009-03-16 Thread tinyang
Thanks for the reply! The reason I asked for an example is because I am just learning java and I'm not clear on what a construct is. I was hoping I could visually identify it if the code was posted, but I'm afraid I can't. So where is the construct? _ From:

[android-beginners] Re: Android beginners

2009-03-16 Thread tinyang
I don't know you are not seeing your posts, but I see this post as your third post. You need to tell us the error message if you are likely to get any help here. :) _ From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of MMC2 Sent: Tuesday,

[android-beginners] Test on real phone

2009-03-16 Thread Bill Michaelson
I've cobbled to together some dumb test code, built with ant, and installed on the emulator (on Ubuntu) with adb. So far, so good. Now I want to use adb to install on my G1. I think I have to use the -d option of adb. I plug in the USB, and see the device recognized as sdg in log/messages. I

[android-beginners] Re: Test on real phone

2009-03-16 Thread Ivan Soto
You are supposed to run the application just like in the emulator but it will give you an option to run it on either the phone or emulator. On Mon, Mar 16, 2009 at 3:25 PM, Bill Michaelson wmmichael...@gmail.comwrote: I've cobbled to together some dumb test code, built with ant, and installed

[android-beginners] Re: Cannot run Android emulator on Linux

2009-03-16 Thread Ralf
Please post the exact error message you get when you try to run the emulator. You're most likely missing a lib or something like that. Run the emulator with -verbose. R/ On Sun, Mar 15, 2009 at 3:23 AM, Mohi mom...@gmail.com wrote: Hi, I downloaded the the entire SDK for my ubuntu machine.

[android-beginners] Re: Problem creating new app

2009-03-16 Thread Kevin J. Brooks
Thanks Ralf. I upgraded to 3.4 and now it works fine. On Sun, 2009-03-15 at 23:00 -0700, Ralf wrote: I don't think ADT supports Eclipse 3.2 anymore. Could you please try with Eclipse 3.3 or 3.4? R/ On Sun, Mar 15, 2009 at 4:41 PM, Kevin J. Brooks bear123434...@comcast.net wrote: I

[android-beginners] Re: Android beginners

2009-03-16 Thread Mike Garcia
There is a delay for all new accounts on google groups. It usually takes about 24 hours for that to go through and then you should be fine. There are a lot of possible causes for the NotepadV1 tutorial to fail. Which SDK version are you on and what are the errors that you are getting? On Mon,

[android-beginners] Re: Style Attributes

2009-03-16 Thread 김병주
in this case , MyView method is a constructor~ Constructor is always the same as class name . public MyView(Context context, AttributeSet attrs, int defStyle) { . . . . . } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: Test on real phone

2009-03-16 Thread Mike Garcia
From http://developer.android.com/guide/developing/device.html If you're developing on Ubuntu Linux, you need to add a rules file: 1. Login as root and create this file: /etc/udev/rules.d/50-android.rules. For Gusty/Hardy, edit the file to read: SUBSYSTEM==usb, SYSFS{idVendor}==0bb4,

[android-beginners] Re: Failed to reopen debug port for Selected Client to: 8700 error

2009-03-16 Thread Mike Garcia
Which operating system? If Linux, which distro? On Sun, Mar 15, 2009 at 5:15 PM, wei fang squar...@gmail.com wrote: Hi Lads: I'm a beginner of Android, I just installed environment today. After installation, I got [2009-03-15 22:06:10 - ddms]Failed to reopen debug port for Selected

[android-beginners] Re: adb install vs. adb push

2009-03-16 Thread Kriston Fang
It seems that if I just copy the apk file to the /data/app or /data/system on my board, android cannot detect this apk file and thus do not show the apk's icon in menu panel. Is there any problem ? 2009/3/7 mcmc manni...@gmail.com Is there a problem with adb install? On Mar 5, 6:10 pm, 张乐杰

[android-beginners] Can't not run MapView on my Target board.

2009-03-16 Thread innisfree
Hi All I really want to run MapView on my target board. I'm able to run goole map Application on Emulator with proper API key. On my target board, I can run excute but it was locked. I really want to know why It was locked. Something else need to be done for it ? Help me, please.

[android-beginners] Re: Android beginners

2009-03-16 Thread MMC2
NOTEPADV1 To Mike Garcia or anyone else who can shed light onto my problem. I want to run the tutorial app Notepadv1Solution but I get errors and it won't run. Thanks for your reply. I am using version android-sdk-windows-1.1_r1of the SDK. I wasn't able to cut and paste the problem