[android-beginners] listview dropdown

2010-07-21 Thread Raul Martinez
i have a list and when i click it i want it to open up with a drowdown of
the description of the item, is there a tutorial on that?

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] listview dropdown

2010-07-21 Thread Raul Martinez
I tried but I guess I was using the wrong terms, thanks

On Jul 22, 2010 12:25 AM, Justin Anderson janderson@gmail.com wrote:

I was wrong about my search terms becaues I realized that onclick might be
something that only a more seasoned android developer would think of
searching.  The search terms for the links I posted in my last message were
simply:

android listview click



Hope that helps,
Justin
--
The...

On Wed, Jul 21, 2010 at 11:23 PM, Justin Anderson janderson@gmail.com
wrote:

 Have you done...

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] listview dropdown

2010-07-21 Thread Raul Martinez
i was looking through the reference on the android site and found what i was
looking for
http://developer.android.com/reference/android/widget/ExpandableListAdapter.html
:)
thanks for the help

On Thu, Jul 22, 2010 at 12:23 AM, Justin Anderson
janderson@gmail.comwrote:

 Have you done any research yourself on this?

 Just doing a simple search for android listview onclick gave me several
 results:

 *Searching Google:
 *http://www.androidpeople.com/android-listview-onclick/*
 *
 http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/
 *

 Searching StackOverflow:
 *
 http://stackoverflow.com/questions/3081986/open-a-custom-dialog-when-clicking-on-a-listview-entry

 http://stackoverflow.com/questions/1121192/android-custom-listview-unable-to-click-on-items

 http://stackoverflow.com/questions/2898214/android-how-to-set-click-events-on-listview

 *Searching this Google Group*:

 http://groups.google.com/group/android-beginners/browse_thread/thread/d9fe83f80651a993/560b63550978e72c?lnk=gstq=android+listview+click#560b63550978e72c


 http://groups.google.com/group/android-beginners/browse_thread/thread/14fa86edf7a865c9/e73d58c4c2ff?lnk=gstq=android+listview+click#e73d58c4c2ff

 So, I just spent five minutes doing searches and came up with at least
 seven possible links that can help... It doesn't hurt to do a little work
 yourself before posting a question here.

 Hope that helps,
 Justin

 *
 *--
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --


 On Wed, Jul 21, 2010 at 10:30 PM, Raul Martinez raul5...@gmail.comwrote:

  i have a list and when i click it i want it to open up with a drowdown of
 the description of the item, is there a tutorial on that?

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] SQL and SQLite

2010-07-16 Thread Raul Martinez
Are SQL and SQLite the same thing? If not what's the difference

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] intents

2010-07-15 Thread Raul Martinez
i have a question can someone explain the syntax and fields of an Intent, i
have this code but the area highlighted in red is underlined in red and says
this: No enclosing instance of the type Category is accessible in scope
what am i doing wrong?

Intent intent = new Intent(Category.this.getApplication(),
 Category.class);
 startActivity(intent);

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] intents

2010-07-15 Thread Raul Martinez
do i have to modify the android manifest file as well to add the activity?

On Thu, Jul 15, 2010 at 4:55 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Jul 15, 2010 at 5:41 PM, Raul Martinez raul5...@gmail.com wrote:
  i have a question can someone explain the syntax and fields of an Intent,
 i
  have this code but the area highlighted in red is underlined in red and
 says
  this: No enclosing instance of the type Category is accessible in scope
  what am i doing wrong?
  Intent intent = new Intent(Category.this.getApplication(),
   Category.class);
   startActivity(intent);

 Two issues:

 1. Delete .getApplication() -- you don't need or want it here.

 2. If this code is not in the Category class, then Category.this
 cannot work. If just this is insufficient, then the class reference
 needs to be whatever Context class this code is in, such as the name
 of the activity.

 http://en.wikibooks.org/wiki/Java_Programming/Nested_Classes

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] intents

2010-07-15 Thread Raul Martinez
Ok thanks but what do I use instead of MAIN

On Jul 15, 2010 5:42 PM, Mark Murphy mmur...@commonsware.com wrote:

On Thu, Jul 15, 2010 at 6:05 PM, Raul Martinez raul5...@gmail.com wrote:
 do i have to modify the...
Your Category activity needs to be in the manifest file. Your current
activity presumably already is there.

--

Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware...

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] intents

2010-07-15 Thread Raul Martinez
mark for some reason i keep getting a force close, any idea why, maybe i
dont get the concepts of activitys and class i have this as my first
activity

package com.office.mate;

import com.office.mate.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class home extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.main);

Button word = (Button) findViewById(R.id.word);
word.setOnClickListener(new Button.OnClickListener(){
 public void onClick(View v){
 Intent intent = new Intent(null,Category.class);
 startActivity(intent);

 }
});
}

}

and i want it to open this one:

package com.office.mate;

import com.office.mate.R;
import android.app.Activity;
import android.os.Bundle;

public class Category extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.category);
}
}

am i doing this right or am i doing it wrong

On Thu, Jul 15, 2010 at 6:02 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Jul 15, 2010 at 6:57 PM, Raul Martinez raul5...@gmail.com wrote:
  Ok thanks but what do I use instead of MAIN

 You do not need an intent-filter if you are starting the activity
 via the class (Category.class) in your Intent.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] intents

2010-07-15 Thread Raul Martinez
sorry i thought that was something else, i'll read it right now, thanks for
the help, really appreciate it

On Thu, Jul 15, 2010 at 7:42 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Jul 15, 2010 at 8:31 PM, Raul Martinez raul5...@gmail.com wrote:
  mark for some reason i keep getting a force close, any idea why, maybe i
  dont get the concepts of activitys and class i have this as my first
  activity

 :: snip ::

  public class home extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle icicle) {
  super.onCreate(icicle);
  setContentView(R.layout.main);
 
  Button word = (Button) findViewById(R.id.word);
  word.setOnClickListener(new Button.OnClickListener(){
   public void onClick(View v){
   Intent intent = new Intent(null,Category.class);

 You cannot have a null Context when creating an Intent like this. Use
 home.this (minus the quotes) to reference your Activity -- this is
 why I supplied you with the following link earlier in this thread:

 http://en.wikibooks.org/wiki/Java_Programming/Nested_Classes

 In the future, use adb logcat, DDMS, or the DDMS perspective in
 Eclipse to examine the Java stack trace associated with your force
 close.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners]

2010-07-14 Thread Raul Martinez
public class home extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.main);

Button word=(Button)findViewById(R.id.button1);
}
}

 i have this code but eclipse keeps telling me R.layout.main cannot be
resolved, any ideas what might be wrong?

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners]

2010-07-14 Thread Raul Martinez
alright im sure i do have the directory and the file, but i'll check the
console

On Wed, Jul 14, 2010 at 4:33 PM, Mark Murphy mmur...@commonsware.comwrote:

 You presumably do not have a res/layout/main.xml file in your project.
 Either that, or Eclipse is having problems otherwise processing your
 resources -- check your console for errors.

 On Wed, Jul 14, 2010 at 5:29 PM, Raul Martinez raul5...@gmail.com wrote:
 
 
  public class home extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle icicle) {
  super.onCreate(icicle);
  setContentView(R.layout.main);
 
  Button word=(Button)findViewById(R.id.button1);
  }
  }
   i have this code but eclipse keeps telling me R.layout.main cannot be
  resolved, any ideas what might be wrong?

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
 Available!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] buttons

2010-07-14 Thread Raul Martinez
i want to replace a button with an image, and i tried doing it through xml
with android:src=@drawable/icon but its not working what should i do, or
is there another way of replacing a button with an image

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] buttons

2010-07-14 Thread Raul Martinez
would that get rid of the grey area around the image?

On Wed, Jul 14, 2010 at 8:01 PM, Yousuf Faheem yousuf.syed@gmail.comwrote:


 Hi,

 you can try using this instead.

 android:background=@drawable/image_name

 Thanks  Regards,
 Yousuf Syed
 773-719-4786




 On Wed, Jul 14, 2010 at 8:23 PM, Mark Murphy mmur...@commonsware.comwrote:

 Use ImageButton.

 On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez raul5...@gmail.com
 wrote:
  i want to replace a button with an image, and i tried doing it through
 xml
  with android:src=@drawable/icon but its not working what should i do,
 or
  is there another way of replacing a button with an image

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
 Available!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] buttons

2010-07-14 Thread Raul Martinez
ok i just have one more question how do i change the color of the background
like behind the images, if you know what i mean? not the button but behind
them

On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez raul5...@gmail.com wrote:

 would that get rid of the grey area around the image?


 On Wed, Jul 14, 2010 at 8:01 PM, Yousuf Faheem 
 yousuf.syed@gmail.comwrote:


 Hi,

 you can try using this instead.

 android:background=@drawable/image_name

 Thanks  Regards,
 Yousuf Syed
 773-719-4786




 On Wed, Jul 14, 2010 at 8:23 PM, Mark Murphy mmur...@commonsware.comwrote:

 Use ImageButton.

 On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez raul5...@gmail.com
 wrote:
  i want to replace a button with an image, and i tried doing it through
 xml
  with android:src=@drawable/icon but its not working what should i do,
 or
  is there another way of replacing a button with an image

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
 Available!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners]

2010-07-11 Thread Raul Martinez
Thanks for the info, I'm a Noob and sorry, I'm not trying to get people to
write code for me im just completely lost

On Jul 11, 2010 9:23 PM, Justin Anderson janderson@gmail.com wrote:

We are not going to write your code for you...

Do what Mark has told you to do.  Create two list activities, override
onListItemClick() and in that method display the second list activity by
calling startActivity().

If you have questions about startActivity() or how to use intents you can do
a search on this group because there is lots of information from questions
that have already been asked.

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Sat, Jul 10, 2010 at 11:28 AM, Raul Martinez raul5...@gmail.com wrote:

 
  ok so i have this:
 
  package com.main.Reference;
 
 
  import android.app.ListActivity;
  imp...

 --

  You received this message because you are subscribed to the Google
  Groups Android Beginners gr...


 --

You received this message because you are subscribed to the Google
Groups Android Beginners group

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] SQL

2010-07-10 Thread Raul Martinez
hey, i wanna create an app that connect to a SQL database, but im not to
sure how to do it, could some one please make something simple like first
name, last name, age table linked to a database, i learn best by studying an
example, thanks in advance for any help

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners]

2010-07-10 Thread Raul Martinez
i have a list view and i want to click one of the items and i want it to
open up another list view what should i do to make this happen?

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners]

2010-07-10 Thread Raul Martinez
ok so i have this:

package com.main.Reference;


import android.app.ListActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
import android.widget.AdapterView.OnItemClickListener;

public class Reference extends ListActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

String[] office = getResources().getStringArray(R.array.Office_array);
setListAdapter(new ArrayAdapterString(this, R.layout.list_item,
office));

now what?

On Sat, Jul 10, 2010 at 12:21 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Sat, Jul 10, 2010 at 1:14 PM, Raul Martinez raul5...@gmail.com wrote:
  i have a list view and i want to click one of the items and i want it to
  open up another list view what should i do to make this happen?

 If you are using ListActivity, override onListItemClick(), then in
 there call startActivity() to start up your activity with the next
 ListView.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6
 Available!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

String[] office = getResources().getStringArray(R.array.Office_array);
setListAdapter(new ArrayAdapterString(this, R.layout.list_item,
office));

  }
   }

and i want to be able to click on one of the items on the list and for it to
go to another set of list

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] apps

2010-06-23 Thread Raul Martinez
What would be awesome if somehow make your SD card into virtual memory

Raul Martinez

Message sent from HTC EVO 4G

On Jun 23, 2010 6:31 PM, ravendev jzimm1...@gmail.com wrote:

hi my name is josh i am new to the droid world. i have just rooted my
motorola droid.

any suggestions on apps good for rooted droids.

--
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] apps

2010-06-23 Thread Raul Martinez
What would be awesome if somehow make your SD card into virtual memory

Raul Martinez

Message sent from HTC EVO 4G

On Jun 23, 2010 6:31 PM, ravendev jzimm1...@gmail.com wrote:

hi my name is josh i am new to the droid world. i have just rooted my
motorola droid.

any suggestions on apps good for rooted droids.

--
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Tabbed UI

2010-05-06 Thread Raul Martinez
i dont know how to get the 3 activities

On Thu, May 6, 2010 at 10:12 AM, TreKing treking...@gmail.com wrote:

 On Wed, May 5, 2010 at 11:09 PM, Raul Martinez raul5...@gmail.com wrote:

 i really need help figuring the tab ui tutorial, i dont understand how to
 make the three activities


 What, SPECIFICALLY, are you having trouble with?



 -
 TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Tabbed UI

2010-05-06 Thread Raul Martinez
i honestly havent done much cause i dont know where to start, im really new
at this

On Thu, May 6, 2010 at 11:44 AM, Justin Anderson janderson@gmail.comwrote:

 What have you tried thus far?

 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --



 On Thu, May 6, 2010 at 10:37 AM, Raul Martinez raul5...@gmail.com wrote:

 i dont know how to get the 3 activities


 On Thu, May 6, 2010 at 10:12 AM, TreKing treking...@gmail.com wrote:

 On Wed, May 5, 2010 at 11:09 PM, Raul Martinez raul5...@gmail.comwrote:

 i really need help figuring the tab ui tutorial, i dont understand how
 to make the three activities


 What, SPECIFICALLY, are you having trouble with?



 -
 TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Your feedback on Samples/Tutorials/Articles

2010-05-05 Thread Raul Martinez
it would be awesome if there were video tutorials

On Mar 18, 5:38 pm, Megha Joshi mjo...@google.com wrote:
 Hi everyone,

 As many of you might have noticed by now, we have added a new
 Resourceshttp://developer.android.com/resources/index.htmltab under
 developer.android.com. It contains samples, tutorials and technical
 articles. We want your feedback to add more samples and tutorials to
 it.. Please add/vote topics for new samples and tutorials at the link
 herehttp://bit.ly/cenfnx.
 Please be very specific (like mentioning API or package or feature or tool
 names) when you submit a suggestion.

 Thanks for your feedback in helping us improve our Android developer
 resources.

 -Megha

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Tabbed UI

2010-05-05 Thread Raul Martinez
i really need help figuring the tab ui tutorial, i dont understand how to
make the three activities

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en