I'm not TreKing :) I do it with a method like this
private boolean isDebuggable(Context context) { > return (context.getApplicationInfo().flags & > ApplicationInfo.FLAG_DEBUGGABLE) != 0; > } > On Wed, Aug 3, 2011 at 3:39 PM, Adam Ratana <adam.rat...@gmail.com> wrote: > TreKing, would you mind giving some quick details on how you'd implement > that? I find myself changing the key manually when I go to upload a > release, not very ideal or convenient. > > On Wednesday, August 3, 2011 8:17:56 AM UTC-4, TreKing wrote: > >> On Tue, Aug 2, 2011 at 11:55 PM, usafrmajor <usafr...@gmail.com> wrote: >> >>> Just wondering, is it possible to have both keys for the map view active? >> >> >> "Active" as both set? No. But you can determine whether you are running in >> debug or release mode and use the appropriate key or layout in either case. >> >> -- 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 this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en