Different actions per device

Hello

As we all know the amazing Corona SDK can develop for multiple platforms at the same time.

Since we develop more a very broad array of devices, i’ve come across a slight issue.

I still consider myself a novice with Corona.

How do you decide what device you are on, and then perform an action appropriate to that action?

I am attempting to make the app use one button, and link out to different app store links depending on their device. i.e. Apple store, Google Play, etc

I’ve searched around, but i don’t think i am searching for the right stuff.  I have found 0 info on the subject because all the results are flooded with relative scaling of images.  not what i’m in need of.

Thanks for any help fellas

It’s greatly appreciated.

Tyler

Hi Tyler,

Yes, this is possible. The following tutorial is a little older, but many of the principles remain the same. You can use this as a basis to structure your device-specific needs.

http://coronalabs.com/blog/2012/12/11/device-detection-on-steroids/

Take care,

Brent

Thanks Brent!

This should help a fair bit. =)

Hi Tyler,

Yes, this is possible. The following tutorial is a little older, but many of the principles remain the same. You can use this as a basis to structure your device-specific needs.

http://coronalabs.com/blog/2012/12/11/device-detection-on-steroids/

Take care,

Brent

Thanks Brent!

This should help a fair bit. =)