[android-developers] Re: Collecting all installed packages

2011-07-29 Thread c0dege3k
Oh, I feel stupid. Sometimes I get caught up in the XML, and forget and can do the same stuff in Java. On Jul 29, 9:24 pm, TreKing wrote: > On Fri, Jul 29, 2011 at 8:06 PM, c0dege3k wrote: > > How would I go about making a list/array of all installed packages? > > See

[android-developers] Collecting all installed packages

2011-07-29 Thread c0dege3k
How would I go about making a list/array of all installed packages? I need it for a ListPreference. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: Detecting Button Clicks

2011-06-11 Thread c0dege3k
t; > > > > > On Thu, Jun 9, 2011 at 1:18 PM, c0dege3k wrote: > > I'm writing a simple tic-tac-toe game, with regular buttons making up > > the grid. What I want to happen is for when one button is clicked, for > > the "turn" boolean to switch. There doesn&#

[android-developers] Re: Detecting Button Clicks

2011-06-11 Thread c0dege3k
Just figured it out- using a button clicked variable in the game class- *duh* On Jun 10, 8:33 am, Mark Murphy wrote: > Use setOnClickListener() or android:onClick. > > > > > > > > > > On Thu, Jun 9, 2011 at 1:18 PM, c0dege3k wrote: > > I'm writing a s

[android-developers] Creating a view in java

2011-06-11 Thread c0dege3k
I have a class in my app that extends View, and I need to pass in the Context and AttributeSet parameters, but I don't know what to use. So, IS there a way to make a view without using the findViewById method? -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Detecting Button Clicks

2011-06-09 Thread c0dege3k
I'm writing a simple tic-tac-toe game, with regular buttons making up the grid. What I want to happen is for when one button is clicked, for the "turn" boolean to switch. There doesn't seem to be a detect-click method built-in, so I was wondering if there was an easy way to solve this problem. --