Lots of these sorts of things on ebay for $4-$5:
http://www.ebay.com/itm/New-Universal-Bracket-Adapter-Tripod-Mount-Holder-for-Tripod-iPhone-Smart-phone-/281376609551?pt=US_Mounts_Holders&hash=item41835a550f
My iPhone 4 attaches reasonably well to its charging/data adaptor. If I was trying to be UL while using a mini tripod, I'd epoxy a 1/4-20 nut onto a cut-off charging adaptor. Or put excess epoxy (containing steel filings) on the adaptor and then drill and tap it in 1/4-20 thread.
To be SUL, just bring a rubber band or binder clip and affix the camera to a tree, or a multi-legged branch found along the trail.