[android-beginners] SimpleCursorAdapter Use

2009-03-18 Thread sddandroid
I am trying to fill the data in two text views in a single row (see xml) and am trying to use SimpleCursorAdapter to do it. As I understand the function, it is allowed to take an array of strings and an array of ids which you see in the list below. When I run the application from the phone, it e

[android-beginners] Re: Seems questioins here are rarely answered? Better place to post them?

2009-03-18 Thread jkk251
Thank you all. I'll keep at it. Happy Androiding (is that a word?)! --~--~-~--~~~---~--~~ 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

[android-beginners] MODIFY_AUDIO_SETTINGS permission

2009-03-18 Thread Beth
Hello there, I first wrote to the android developer group about this and I got no responses. Has anybody successfully set the MODIFY_AUDIO_SETTINGS use permission? I try to set it and get a permission exception with every run of my application. Thanks for any insight you might have. Regards,

[android-beginners] Re: MapView - findViewById returns null

2009-03-18 Thread Glen Humphrey
Try this. On Mar 18, 5:22 am, Francois Stephany wrote: > I cant get it work. > Do I need something between the setContentView() and findViewById() ? > > --- >     public void onCreate(Bundle savedInstanceState) { >         super.onCreate(savedInstanceState); >         setContentView(R.layo

[android-beginners] Re: How to specify the length of the EditText in a Table row

2009-03-18 Thread Glen Humphrey
set the following properties for both the EditText and the TextView widgets. android:layout_weight="1" android:layout_width="fill_parent" On Mar 18, 2:56 pm, frizzo wrote: > I have a TableLayout with a couple of TableRows.  Inside a table row, > i have an EditText widget followed by

[android-beginners] Why my application get "Not granting permission warning" when i install it by adb and AppsInstaller

2009-03-18 Thread Ling Yun
Hi, All guru I am a beginner for android development. I found my application always get "Not granting permission" warning when I install it by adb and AppsInstaller as following. 03-18 16:01:05.882: WARN/PackageManager(56): Not granting permission android.permission.CALL_PRIVILEGED to package co

[android-beginners] Re: How to replicate android:editable="false" in code?

2009-03-18 Thread Will
I do not see a related method for that attribute in the EditText class. However, there are other similar things you could do such as android:focus/setFocusable(boolean) or create another TextView whose android:editable="false" and use setVisiblilty() to switch between the editable and not editabl

[android-beginners] Re: Seems questioins here are rarely answered? Better place to post them?

2009-03-18 Thread Mike Garcia
The biggest reason is that most of us are still learning. A good deal of us post if we have experienced similar issues ourselves. If a response goes unanswered here, just post it on the developers list and you are likely to get the response you need to point you in the right direction On Mar 18, 2

[android-beginners] Re: How to specify the length of the EditText in a Table row

2009-03-18 Thread Mark Murphy
> I have a TableLayout with a couple of TableRows. Inside a table row, > i have an EditText widget followed by a TextView widget. > > How can I make sure that each widget in the row takes equal width? android:layout_weight should work, as TableRow inherits from LinearLayout. -- Mark Murphy (a

[android-beginners] How to specify the length of the EditText in a Table row

2009-03-18 Thread frizzo
I have a TableLayout with a couple of TableRows. Inside a table row, i have an EditText widget followed by a TextView widget. How can I make sure that each widget in the row takes equal width? --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-beginners] adb and ddms can't connect to emulator after installing Windows XP driver for G1

2009-03-18 Thread Jade
After installing the Windows XP driver for G1 from the android android- sdk-windows-1.1_r1 sdk, I'm able to run ddms and adb with the G1 phone. The problem is that even when the phone is unplugged, adb can't find the emulator anymore. I've unplugged the phone and USB cable from my computer. I sta

[android-beginners] Re: Seems questioins here are rarely answered? Better place to post them?

2009-03-18 Thread george_c
They are watching, but seems we have all become small googlers ;) doing their bit and others putting action groups together to ease it on all involved. (e.g: http://www.thepoint.com/campaigns/android-developers-international-tax-consultation Too much to do in such a short time, so to make it work,

[android-beginners] Re: Seems questioins here are rarely answered? Better place to post them?

2009-03-18 Thread tinyang
While YMMV, I find all of my questions here get replied to if not fully answered, and my perception is that most questions posted get replies. I find this group a very beneficial place to bring my questions and get feedback. It's very community oriented. :) OTOH, there are many forums on websi

[android-beginners] Re: Instructions for installing Web Tools Project?

2009-03-18 Thread tinyang
http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of jkk...@gmail.com Sent: Wednesday, March 18, 2009 2:13 AM To: Android Beginners Subject: [android-beginners] Instruc

[android-beginners] Re: Seems questioins here are rarely answered? Better place to post them?

2009-03-18 Thread Mark Murphy
> A quick persual reveals most questions here receive no replies. Is > anybody at Google or anywhere monitoring this group? Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~-

[android-beginners] Re: Activity is required

2009-03-18 Thread tinyang
Yes you can create a service which does not require a GUI: http://developer.android.com/reference/android/app/Service.html _ From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Victor Perticarrari Sent: Tuesday, March 17, 2009 1:51 PM To: andr

[android-beginners] Seems questioins here are rarely answered? Better place to post them?

2009-03-18 Thread jkk...@gmail.com
A quick persual reveals most questions here receive no replies. Is anybody at Google or anywhere monitoring this group? Jim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this

[android-beginners] How to config G1 to make both browser and MMS work?

2009-03-18 Thread FayGU
I have a G1 phone and use it in mainland China. But I can't config it to work with browser and MMS at the same time. However with different APN, the browser and MMS can work seperately. For browser, I use following APN config: --- name:cmnet apn: cmnet proxy:blank port:

[android-beginners] Re: How do I get Current GPS Location?

2009-03-18 Thread Mani Android
Hi Issac I'm working on to get the latitude and longitude using GPS_PROVIDER, but I couldn't get it. Using NETWORK_PROVIDER, I can able to get both the latitude and longitude. Pl. help me in this issue Note: Same code what u r using... Thanks in advance. Manikandan On Sun, Mar 15, 2009 at 1

[android-beginners] Instructions for installing Web Tools Project?

2009-03-18 Thread jkk...@gmail.com
I am setting up my Eclipse environment so I can try programming for Android. I need to install the WST plugin, part of the WTP, so I can use Android Editors. I can't find instructions on how to install it. Any help appreciated. Thanks Jim --~--~-~--~~~---~--~~ Yo

[android-beginners] Redirecting log output?

2009-03-18 Thread Faber Fedor
I want to log messages on my ADP to the sd card. I was hoping to use the built-in Log.x() functionality but I don't see any way to redirect the output of Log.x(). Do I have to create my own logging object just to store messages on my sd card? -- Faber Fedor Linux New Jersey http://linuxnj.com

[android-beginners] No altitude in Location received by the GPS

2009-03-18 Thread Julien
Hi all, When I send a location to the GPS in Eclipse or on command line with geo fix the application never receive the altitude. The altitude is 0 with Eclipse and null with geo fix. Is it any way to get the altitude sent from the SDK? thx --~--~-~--~~~---~--~~ Yo

[android-beginners] Re: MapView - findViewById returns null

2009-03-18 Thread Francois Stephany
I cant get it work. Do I need something between the setContentView() and findViewById() ? --- public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mapView = (MapView) findViewById(R.id.mapview1); --

[android-beginners] Re: MapView - findViewById returns null

2009-03-18 Thread PRATAP SOLAPUR
Add id to the map view.wat u r doing is wrong..do it like this then call.. findViewById(R.id.mapview1) On Tue, Mar 17, 2009 at 11:33 PM, Francois Stephany < tulipe.mouta...@gmail.com> wrote: > > Hi there, > > I'm new to Android development and encounter a small problem.

[android-beginners] Re: eclipse is not talking to android

2009-03-18 Thread Xavier Ducrohet
You can download an archive of the plugin from http://developer.android.com/sdk/adt_download.html Xav On Tue, Mar 17, 2009 at 9:23 PM, kelly wrote: > > Hi all, >  I am beginner for andriod and more over I do not have a direct > connectivity to Internet from my system, so once I installed androi