Nick Owens wrote:
> Experts (like Mark M et al.):
> 
> Android development is definitely a moving target, the way the SDK changes.
> What's most frustrating about it is when it looks like great functionality
> is no longer available!  You see some sample code which looks AWESOME and is
> EXACTLY what you need, but come to find out it's been removed.  Usually you
> can replicate it but I am having the darndest time trying to replicate the
> following function from DateUtils!
> 
> getRelativeDateTimeString()
> 
> This function supposedly provides output similar to the Call Log, which
> shows times as "yesterday at 9:30 AM" or "10 mins ago", etc.  Awesome little
> function, right?  Can't find a replacement ANYWHERE!

Why do you need a replacement? There's a half-dozen flavors of that
method on DateUtils, all available since API Level 3 (a.k.a., Android 1.5).

If you're looking for the source to those methods, try Google Code Search.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.9 Available!

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