[android-developers] Re: Development Patterns

2011-05-17 Thread Cory Kaufman
While all this talk of how to extract common code from activities is great, does anyone have an answer to my original question? Has anyone started collecting the solutions? Or maybe the answer is "No." -- You received this message because you are subscribed to the Google Groups "Android Develop

Re: [android-developers] Development Patterns

2011-05-17 Thread Cory Kaufman
Not necessarily an "upgrade", but a different set of tradeoffs. If I change the method signature of a utility method, I only have to change it in my base classes and not in my concrete activity classes. Of course, I always have the option of extending those methods in the concrete classes, so I

Re: [android-developers] Development Patterns

2011-05-13 Thread Cory Kaufman
> > What happens when you need a MapActivity? Or ListActivity? Or > ExpandableListActivity? Or ... ? > Good point. I rewrote my base classes to delegate to a utility class. I have each base class pass itself to the constructor of the utility class in case it needs to reference the current act

[android-developers] Re: Development Patterns

2011-05-12 Thread Cory Kaufman
I'm not sure what you mean... I've already developed a few apps and have been heavily using developer.android.com. -- 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

[android-developers] Development Patterns

2011-05-11 Thread Cory Kaufman
hould strings be listed in values/strings.xml and when should they be hard coded? What kind of conventions should be used when giving views ids? Should there not be views in different layouts with the same name? Etc. Cory -- You received this message because you are subscribed to the Google G

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-30 Thread Cory Gibbons
Well color me confused, then. Thanks everyone for the weights. I guess I'll just be patient until tomorrow! On Tue, Mar 30, 2010 at 5:42 PM, Larry wrote: > It is from the tag on the fedex shipping box. Saying '2lb' > > On Mar 30, 4:29 pm, Disconnect wrote: > > Is that 2lb on the label or on th

[android-developers] Re: BroadcastReceiver communicating with Activity?

2009-02-27 Thread Cory
I didn't see onNewIntent(Intent) in the docs. That would have been really useful! As it stands, I figured out another way. If you have the Activity register the BroadcastReceiver programatically (ie, not in the manifest file), the Activity can have a reference to the BroadcastReceiver. Then yo

[android-developers] Where is the ADT Eclipse plugin?

2009-02-25 Thread Cory
I tried the URL specified in the install guide (https://dl- ssl.google.com/android/eclipse/) and Eclipse barfs. Tried regular http too. Then I tried both in Chrome, and the site returns a 404. What gives? Did google move the SDK over to developer.android.com and then delete the ADT without movi

[android-developers] What happened to the ADT Eclipse plugin?

2009-02-25 Thread Cory
the page, and I get a 404 from google. I've tried both https and http with no success. Any help would be greatly appreciated! What should have been a 1 hour (max) activity (setting up Eclipse and the Android SDK on a new machine) is now dominating my day. Thi

[android-developers] Re: Tab Appearance

2008-11-24 Thread Cory Gibbons
Thanks for the help everyone. I think that I'm going to take a 'button' approach, instead of tabs. On Mon, Nov 24, 2008 at 2:17 PM, Sunit Katkar <[EMAIL PROTECTED]> wrote: > Even if you could programatically do so, why would you want to make the > tabs smaller and cause inconvenience to users who