In the case that you distribute your app through different channels, you could produce two builds which of your app and add some metadata to the AndroidManifest.xml to indicate it's a non-market version. You can check that attribute from code.
This won't help defeat any piracy, and won't prevent anyone putting your market build on a different device. Hugo On Jan 11, 5:45 am, Jagi <[email protected]> wrote: > How to differentiate market download app and non-market app. If any > bodies known please give sample code > > Thanks advance -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

