[Kde-finance-apps] Re: Fwd: Season of KDE status check

samir sam1487 at gmail.com
Thu May 26 07:25:09 CEST 2011


I have checked the documentation of Android[0]. The library provides a UUID
class exposing the randomUUID() function. This function is supposed to
generate universally unique ids. I hope this will work. Let me know if
there's any catch to it.

As libuui is a C library, I will have to port it to Andriod(java) if this is
what I should use. I wonder if this is preferred.

[0] : http://developer.android.com/reference/java/util/UUID.html



On Thu, May 26, 2011 at 6:30 AM, Fernando Vilas <fvilas at iname.com> wrote:

> On Wednesday, May 25, 2011 19:31:04 Thomas Baumgart wrote:
> > Hi guys (did not spot any gals yet),
> >
> [...]
> >
> > Sorry, but I have to object here. The source of the transaction (in this
> > case the mobile device) *must* assign the unique ID. See
> > http://linux.die.net/man/3/libuuid for example. Use existing stuff and
> don't
> > reinvent the wheel.
> >
> > The transaction is generated by the mobile app and later transfered to
> the
> > desktop.
> >
>
> +1.
>
> UUID algorithms are available in several places, but the library suggested
> would be a good starting point. If a certain mobile device could not use
> that
> library, the library could be ported; or failing that, the algorithms
> implemented on the device. The chance of collision is vanishingly small,
> but
> there is a penalty in length of the ID. That trade is worth it in almost
> every
> case.
>
> [...]
> --
> Thanks,
> Fernando Vilas
> fvilas at iname.com
>
> _______________________________________________
> Kde-finance-apps mailing list
> Kde-finance-apps at kde.org
> https://mail.kde.org/mailman/listinfo/kde-finance-apps
>
>


-- 
samir
{ www.incurlybraces.com }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-finance-apps/attachments/20110526/b5a3da81/attachment.htm 


More information about the Kde-finance-apps mailing list