I am still trying to get my head around this.

How would I go about generating the hash code?  I am intending on
using the ime.

Do I need public private keys?

confused...

On Nov 15, 3:39 am, Pooper <[email protected]> wrote:
> What you can do is make your user enter serial #, the serial number
> could
> be a hashing function that you come up with that takes the device id
> (could be the imei number)
> the application could then check if the serial/hash code matches for
> that device.  This would
> require your customer to send you his/her imei # or another unique #
> associated with the device so that
> you can generate the serial code for that device.
>
> You can also implement a two step method so that the customer can't
> accidently enter in their imei incorrectly by misstake.
>
> To do it this way you would generate a "Request For Serial Number
> Code" store this code in your database.  The costomer
> enters this code in their phone, your phone connects to your web
> server sends the "Request for Serial number code" and the
> IMEI number of the phone with it.  Your server generates the hash/
> serial and sends it back to the phone.  You can then mark
> the "Request for serial number code" as used so that they can not use
> it for another device.  This is the method I use for my
> applications.
>
> On Nov 14, 8:39 am,jax<[email protected]> wrote:
>
> > Yes, that is why I have posted the question because I don't know how
> > to do it.
>
> > Has anyone done this before or know of a method for achieving this?
>
> > On Nov 14, 10:23 pm, Andrei <[email protected]> wrote:
>
> > > What u want to do is to tie your app to one device
> > > How u do it up to u
>
> > > On Nov 14, 7:12 am,jax<[email protected]> wrote:
>
> > > > I am wondering how I might go aboutsecuringa paid app on Android.
>
> > > > I am thinking of selling the application from my own website via
> > > > PayPal, however, how will I stop people from sharing it with their
> > > > friends etc.  Does Android have any type of native support for this?- 
> > > > Hide quoted text -
>
> > - Show quoted text -
>
>

-- 
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

Reply via email to