I'm trying to create a auto link to an app, but since they have 2 versions for 3g/4 and for older phones, i need a way to detect which version of the phone the user is using.

Anyone knows of a difference in the user agent that would let me detect that ?