Re: [android-beginners] List Preference not taking up default value

2010-07-30 Thread TreKing
On Fri, Jul 30, 2010 at 2:04 PM, Bret Foreman wrote: > The list of values has 7 choices and I'm setting the default value in one > case to 2 (3rd item > in list) and the other case to 3 (4th item in list). > Is "2" and "3" what the user sees or what you use as the setting in the background? It sh

[android-beginners] List Preference not taking up default value

2010-07-30 Thread Bret Foreman
My list preference code is shown below. The list of values has 7 choices and I'm setting the default value in one case to 2 (3rd item in list) and the other case to 3 (4th item in list). However, when the list preference is shown for the first time, none of the choices is selected. Am I doing somet

[android-beginners] list

2010-07-18 Thread Raul Martinez
i have a list with several items, when i click on one of the items i want it to start another activity but i want it to show the name of the previous item clicked with an image and a description of the item, how would i go with doing that -- You received this message because you are subscribed to

Re: [android-beginners] List Activity Listener Not Working

2010-07-16 Thread TreKing
On Fri, Jul 16, 2010 at 1:38 PM, Saket Srivastav wrote: > any reasons why the list item click listener is not working??? > Probably Try this

[android-beginners] List Activity Listener Not Working

2010-07-16 Thread Saket Srivastav
List activity listener is not listening. lv.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView arg0, View arg1, int position, long arg3) { System.out.println("ARG 2 = "+position); Intent i = new Intent(MenuList.this, SICalculator.class); startActivity(i); } })

[android-beginners] List content observers

2010-07-16 Thread Froens
Hi there I'm building an app that uses content observers. My problem is, that I tend to register my content observers multiple times. This causes my application to log events several times. How do I find out, if my content observer is already registered? - Frederik -- You received this message

Re: [android-beginners] list

2010-07-11 Thread Justin Anderson
We have already answered this question in a previous post... please don't post multiple versions of the same question. Also, no one is going to write the code for you... We all monitor this group in our spare time. You will get concepts, perhaps a few code snippets, but I wouldn't expect much mo

[android-beginners] list

2010-07-10 Thread Raul Martinez
can someone help i have this code: package com.main.Reference; import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; public class Reference extends ListActivity { /** Called when the activity is first created. */ @Override public void onCrea

Re: [android-beginners] List providers - does it work for Android 1.5?

2010-03-29 Thread Adrian Vintu
List providers; Normally you should get only some warning on this, but it depends on your switches. If you use Eclipse, just hover over your error/warning and you will get options on how to fix it. Also Ctrl+1 to get the options. BR, Adrian Vintu http://adrianvintu.com On Mon, Mar 29, 2010 at

[android-beginners] List providers - does it work for Android 1.5?

2010-03-29 Thread ckloch
In my effort to develop a small location finder app for HTC Hero with Android 1.5, I am using the code below that should work on Android 1.6. My problem is that includes the commandline to find the available GPS satelittes: List providers; Eclipse tells me that I have to parameterize List, but not

Re: [android-beginners] List of classes and methods?

2010-02-08 Thread Mark Murphy
> Is there a downloadable file with the android java subset classes and > methods that an old c programmer could study offline? The reference > search box at android developers is giving me a lot of 'not founds'. The documentation is included in the SDK for offline reading. -- Mark Murphy (a Co

[android-beginners] List of classes and methods?

2010-02-08 Thread BobG
Is there a downloadable file with the android java subset classes and methods that an old c programmer could study offline? The reference search box at android developers is giving me a lot of 'not founds'. -- You received this message because you are subscribed to the Google Groups "Android Begi

Re: [android-beginners] list view button error

2010-02-01 Thread Justin Anderson
Can you give us a little more info, like where the NullPointerException happens in the code? -- There are only 10 types of people in the world... Those who know binary and those who don't. -

[android-beginners] list view button error

2010-02-01 Thread Sam B
Hi guys im trying to put a button on each row of a list but i get null pointer exception, i'll show the java files below. The list view is in a seperate xml file to the button because button is inside a relative layout. Can anyone help?. This class gets data from a database and puts it in array an

[android-beginners] list - need suggestion

2010-01-26 Thread android beginner
Hi, My Activity has list of items and on clicking any item, new window with different set of list has to appear and this can continue upto 4 or 5 level depths. I need your expert advice on how to achieve this. Can I have each sub-list to be of separate activity? If there are any online examples m

[android-beginners] list items and context menus

2009-12-24 Thread Stefano Gambini
Hi, I'm new to Android. I'm trying to create a list where a specific context menu is associated to each specific list item. I.e, you click on list item "Campo1" (see below) and open the context menu specific for Campo1; click on list item "Campo2" and open the context menu specific for Campo2. And

Re: [android-beginners] list view

2009-11-29 Thread balanagu sabareesh
Thank you for your reply. finally i got it. On Tue, Nov 24, 2009 at 10:25 PM, Justin Anderson wrote: > if(str == "First") --> BAD > if(str.equals("Second")) ---> GOOD > > That being said, the typical android way would be to create another > activity and launch it when you click the it

Re: [android-beginners] list view

2009-11-24 Thread Justin Anderson
if(str == "First") --> BAD if(str.equals("Second")) ---> GOOD That being said, the typical android way would be to create another activity and launch it when you click the item in the list view. Have you tried doing that instead? --

[android-beginners] list view

2009-11-24 Thread sabs
Hi I created the list successfully but my problem is when ever i select an item in the list it is not moving to another layout. In that layout i created a button and text view. can any one help me below iam placing my code. //In this code wheneven i select the second option from the list it has to

Re: [android-beginners] list of best Android Dev forums/discussions

2009-11-02 Thread Mark Murphy
Marton Kodok wrote: > I am looking to a forum or discussion where there is more activity then > here. The Android Google Groups are the world's largest, most active areas for developer questions and answers. > As I have some questions, and I want to get answers for them very > quickly, and I don'

Re: [android-beginners] list of best Android Dev forums/discussions

2009-10-31 Thread Chaiyasit T
www.codemobiles.com It's just begun, but i will do the best to help you and you help me do tutorial too. Regards + Thanks On Sat, Oct 31, 2009 at 3:13 PM, Marton Kodok wrote: > Hello, > > I am looking to a forum or discussion where there is more activity then > here. As I have some questions,

[android-beginners] list of best Android Dev forums/discussions

2009-10-31 Thread Marton Kodok
Hello, I am looking to a forum or discussion where there is more activity then here. As I have some questions, and I want to get answers for them very quickly, and I don't want to wait days until I get answers. Do you know any Android Developer forums/discussions? -- Márton -- You received th

[android-beginners] List Activity on Android

2008-12-01 Thread Ashish
HI All, I am new to Android Development... I am trying to build a list with icon. Please help me out Regards, Ashish --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this grou

[android-beginners] List of Android Apps

2008-10-08 Thread Zachary Becker
Is there a place with a list of Android Applications? Somewhat like the Apple store. Just somewhere centralized that you can go and look. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To p

[android-beginners] List the filenames of raw resources

2008-03-30 Thread MartyB
I currently have 5 png images under res/raw/imagename1.png (typical) I want to generate list of png filename strings for my app. I have tried ... String[] sa = getResources().getAssets().list("raw/"); It returns an empty array. Any ideas? --~--~-~--~~~---~--~~ You r