> I answer myself:
>
> It's the matter of return value from
> PackageManager.getInstallerPackageName() method. If it's not null then
> the button is shown.
> So next question is: how to set up this value. Android Market setup it
> somehow, but I can get the Android Market source (it's not open
> sourced, isn't it?).
>
> Any ideas? According to "all apps are equal" statement, it must be a
> way to do that.
Simple: distribute your app through the Android Market.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training...At Your Office: http://commonsware.com/training
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment