From the Forum — Issue #117

From the Forum — Issue #117

From the ForumWelcome to the latest installment of From the Forum. In this series, guest blogger Alex Jackson highlights outstanding threads from the Corona Forum. The goal is to bring attention to the most captivating, interesting, and thought-provoking discussions taking place in our very own backyard.

Please visit the forum to join these conversations or start your own!

Copy and paste across the board

We all know about the pasteboard plugin and how useful it is on mobile devices. Since Corona apps exist in the OpenGL layer, it’s necessary to use an additional Corona-provided plugin in order to get intuitive “copy and paste” into our mobile apps.

The next hurdle for natural copy and paste is our desktop apps. It’s arguably even more important for our programs to have some of the basic functionality that uses expect from applications running on OSX and Windows. The thing is, the pasteboard plugin is only supported on iOS and Android!

Fortunately, the below thread has us covered. There are some very useful code snippets that enable this simple desktop functionality. Click through to check it out now!

Accurate GPS on your device

Getting pinpoint GPS coordinates is a difficult task for any developer, Corona or otherwise. The handshake agreement between the app and the user is of vital importance, as every setting need to be configured correctly to get the results your app expects.

In the below thread, Corona support engineer Rob Miracle tells us about the pitfalls and provides some pointers when it comes to collecting GPS values on your mobile device. Head on down to check it out now!

Use iCloud KVS right now!

Now that tvOS has been opened up to Corona development, we have quite a few decisions to make about how we are going to port and/or develop on this platform. There is plenty of new functionality to take advantage, and not just related to the awesome new remote control.

The main issue that we are encountering is enabling the back-up of data, be it for saved games, or a persistent playlist. Since tvOS doesn’t allow us to save data to the device, we have to get creative. Using iCloud storage is one of the more intuitive methods, and I say that more so in regards to the ease in which a user would interact with it, rather than the methods a developer would take to get it to work correctly in a project. Those steps are a bit more involved, but thank goodness we have the below thread to which we can refer.

A Corona engineer and a developer were kicking the tires for us on Corona versions, and were able to come to a conclusion on the working order for iCloud KVS integration. Roll through to the original thread to read up on their convo and how you can get iCloud storage working on tvOS with minimal fuss!

About Alex

Alex Jackson is an indie developer and the founder of Panc Interactive, specializing in retro-style gaming. He has created several mobile applications, enjoys long walks on the beach, pixel art, and reading the Corona forums. Contact him by email or follow him on Twitter: @pancinteractive. Check out his new game Segreta on iOS, Android, Windows Phone and Amazon devices.

No Comments

Sorry, the comment form is closed at this time.