HeHe wrote: > Mark, > > thanks for the information. > > before it, i've been the wrong knowledge that apk running on real > phone is in 'production' mode and should use 'production' map api key - > _|| > > is there any way that an apk can know whether it is running in 'debug' > or 'production' mode?
I am not aware of a way to check whether you were signed with a debug or production key from inside the app. There might be a way, and I would expect it to be somewhere in the android.content.pm package, but I cannot find anything obvious. Sorry! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- 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 To unsubscribe, reply using "remove me" as the subject.