Share Your Code

Social

Sort by: Latest Additions | Most Viewed | Recently Updated | Top Rated

The latest additions of sample code and code libraries shared by developers for Corona SDK.

5 votes
Streaming "News Ticker" (Twitter Feed or Online Text File)

I wrote the following bit of code for an app I'm working on where I wanted to have a "news ticker" scroll along the bottom of the home screen that I could change remotely. I also briefly considered streaming the most recent tweets from a Twitter account - so I'm including that code as well. See the commented-out text below for notes on how to change the ticker text or Twitter feed that displays. If you copy this... More...

Posted by jasonschroeder, Posted on 6 Mar 2012, Last updated 6 Mar 2012 | 24 comments

4 votes
Facebook helper/support module

This library creates a wrapper around the Corona SDK Facebook API support. Using this library will streamline your Facebook client logic and make it easier to debug and to catch/handle errors (well, it did for my anyway, YMMV). The biggest feature is probably that it supports Facebook functionality in the simulator (for most things). More...

Posted by bob.dickinson, Posted on 2 Mar 2012, Last updated 2 Mar 2012 | 11 comments

2 votes
Add Community module to your app (FAQ, News, Forum etc)

While developing our latest app iKululu 2.0, we've been approached by the great guys at ngKit.com. They have built a great new product - a community module for app developers. If you ever wanted to communicate and engage your customer in a better, more convenient fashion - this is the way to go. To add the community module you will need to update the ID & secret key in the module file. Include the module and all... More...

Posted by shaharzrihen, Posted on 9 Oct 2011, Last updated 9 Oct 2011 | 2 comments

8 votes
Flickr Photo Browser

Awhile ago, I was approached to do a custom app for someone. The app itself is finished (not published yet) and in the process of creating it I thought it would be a good idea to publish the source for the dynamic image slider control I created. Well, not content with just publishing a simple control, I decided to create an entire demonstration app to see it in action. The Flickr Photo Browser is the result of this... More...

Posted by codepunk_schmidt, Posted on 20 Sep 2011, Last updated 20 Sep 2011 | 9 comments

2 votes
Check Network Connection with Callback function table

My app has some social elements to it. Primarily, posting to Facebook and tweeting. When the user touches either action, I first wanted to check their Internet connection and wait on the result. Thanks Lerg for help. To use, you pass several arguments: The URL to check, and four function callbacks for unreachable, reachable via Wifi, via Cell, and viaOther. The calling code looks like this for example: 1 DataNet.... More...

Posted by marble68, Posted on 29 Aug 2011, Last updated 29 Aug 2011 | 1 comments

11 votes
Promotion Library

The Promotion Library is a simple library to download news from a server and displaying it in a sliding window if the news was updated. It also includes an easy to use function to show a "please rate" dialogue every X launches, giving the user the choice to rate, ignore or never be asked again. Usage is as easy as it gets 1 2 3 4 5 -- Include the library promote = require(“promote”) -- Download News from... More...

Posted by 0x90, Posted on 28 Feb 2011, Last updated 28 Feb 2011 | 12 comments

7 votes
OAuth Library

This is OAuth Library for Corona. download link is http://bit.ly/corona-oauth **Update** version 2.0 Release note ・async http request support(network library) ・test using twitter oauth system ・fix some bugs (only sync http request version for android is preparing now.) main.lua for test tweet http://bit.ly/corona-oauth-main (this main.lua has some bug. (e.g. error handling) ) (can not use simulator. xcode simulator... More...

Posted by muxukeikei, Posted on 3 Nov 2010, Last updated 21 Mar 2011 | 32 comments

1 vote
Safe OpenFeint wrapper

Provides a safe wrapper for the openfeint module, so you don't have to think about whether it's running on the simulator, device, etc and avoid hangs / crashes. It is currently a subset of the openfeint API, but calls are compatible. More...

Posted by scarnie, Posted on 15 Aug 2010, Last updated 7 Oct 2010 | 5 comments