Data https://code.coronalabs.com/taxonomy/term/8/all en simple_toast https://code.coronalabs.com/code/simpletoast <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Simple example for Toast Notification without any plugins for Corona SDK.</p> <p>For all supported platforms!</p> <p>How to use?</p> <p>• Add toast.lua in your Corona project root directory</p> <p>• Add string 'require "toast"' in main.lua</p> <p>• For display a toast notification, use next code:</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">krdpnsk</div></div></div> Thu, 14 Nov 2019 07:18:03 +0000 krdpnsk 207 at https://code.coronalabs.com Lua Units https://code.coronalabs.com/code/lua-units <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>A simple, elegant, concise helper module that converts quantities between measurement units.<br /> For the moment only common distance units (metric + non-metric) are implemented, but the module can grow.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">silverthorax</div></div></div> Thu, 05 Nov 2015 23:03:09 +0000 silverthorax 192 at https://code.coronalabs.com copyDatabaseTo() - A function to install a writable, prepopulated database. https://code.coronalabs.com/code/copydatabaseto-function-install-writable-prepopulated-database <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>This function will copy an SQLlite database (or any binary data file) from your app bundle and put it into a writable area like system.DocumentsDirectory.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Corona Rob</div></div></div> Tue, 19 May 2015 05:14:29 +0000 Corona Rob 182 at https://code.coronalabs.com Live debug & log data from end-users https://code.coronalabs.com/code/live-debug-log-data-end-users <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>If you have a game released &amp; live, sometimes it's difficult determining the cause of bugs that your end users have.</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Mike Turner</div></div></div> Mon, 02 Mar 2015 19:07:20 +0000 Suborbital 165 at https://code.coronalabs.com Saving To Cloudant DBaaS From Corona SDK https://code.coronalabs.com/code/saving-cloudant-dbaas-corona-sdk <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Saving to Cloudant DBaaS from Corona SDK<br /> <a href="http://simon.fearby.com/blog/?p=2094">http://simon.fearby.com/blog/?p=2094</a></p> <p>Cloudant DBaaS 101<br /> <a href="http://simon.fearby.com/blog/?p=2078">http://simon.fearby.com/blog/?p=2078</a></p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Simon Fearby</div></div></div> Mon, 02 Feb 2015 13:20:17 +0000 FearTec 161 at https://code.coronalabs.com Code from Tutorial: Advanced TableView Tactics https://code.coronalabs.com/code/code-tutorial-advanced-tableview-tactics <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Code from Tutorial: Advanced TableView Tactics (<a href="http://coronalabs.com/blog/2014/03/04/tutorial-advanced-tableview-tactics/">http://coronalabs.com/blog/2014/03/04/tutorial-advanced-tableview-tactics/</a>)</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Rob Miracle</div></div></div> Mon, 02 Feb 2015 00:10:02 +0000 Corona Rob 158 at https://code.coronalabs.com ORM for Corona SDK https://code.coronalabs.com/code/orm-corona-sdk <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Hello everybody,<br /> A couple a months ago I started writing an ORM for Corona SDK projects, this is what I have reached so far, I hope some of you find it handy.</p> <p>All the information of how to use it is in the Repo.</p> <p>Update [10/12/2014]</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">gerard2p</div></div></div> Mon, 08 Dec 2014 17:18:43 +0000 g2p 146 at https://code.coronalabs.com Corona Image Downloader https://code.coronalabs.com/code/corona-image-downloader <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Used for downloading image resources on device based on display.imageSuffix. Benefits: reduces APK / IPA size, reduces application's size on device, each device downloads images only for its own resolution.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Daniel Strmečki</div></div></div> Sun, 21 Sep 2014 10:05:34 +0000 daniel.strmecki 135 at https://code.coronalabs.com Sqlite wrapper https://code.coronalabs.com/code/sqlite-wrapper <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>SQLite database interface wrapper.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">exiang</div></div></div> Wed, 13 Aug 2014 02:25:02 +0000 exiang83 128 at https://code.coronalabs.com wordz.lua https://code.coronalabs.com/code/wordzlua <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Building a scrabble game, or any game where you need to check for correct words. Wordz.lua has over 100,000 words in its dictionary with character lengths from 2 - 28. There are functions to verify if the word is usable, to remove words from the list, and to limit the character count of words.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">jstrahan</div></div></div> Thu, 19 Jun 2014 19:48:21 +0000 jstrahan 120 at https://code.coronalabs.com tableview with pull-down/refresh animation https://code.coronalabs.com/code/tableview-pull-downrefresh-animation <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Tableview sample code with pull-down/refresh animation. Leverages code from Rob's tutorial (<a href="http://coronalabs.com/blog/2014/03/04/tutorial-advanced-tableview-tactics/">http://coronalabs.com/blog/2014/03/04/tutorial-advanced-tableview-tactics/</a>)</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Praveen</div></div></div> Sat, 31 May 2014 05:14:27 +0000 pspk 115 at https://code.coronalabs.com IO Lib https://code.coronalabs.com/code/io-lib <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Some functions to make reading and writing files a little easier. The premise is that a function which reads (returns the contents of a file) will also write if provided data to save.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">HoraceBury</div></div></div> Mon, 12 May 2014 08:57:20 +0000 Anonymous 106 at https://code.coronalabs.com Preference Library - Save data to Files ( tables, numbers, strings and boolean ) https://code.coronalabs.com/code/preference-library-save-data-files-tables-numbers-strings-and-boolean <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>This small useful module can be used to store and retrieve values across different app sessions.<br /> A lot of people found it useful in <a href="http://developer.coronalabs.com/code/save-data-files-tablesnumbersstringsboolean">Code Exchange 1</a>, so am reposting it here</p> <p>You can save TABLES, NUMBERS, STRINGS or BOOLEANS.</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">SatheeshJM</div></div></div> Mon, 31 Mar 2014 07:45:57 +0000 Anonymous 96 at https://code.coronalabs.com dbconfig https://code.coronalabs.com/code/dbconfig <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>A library class for saving data. It uses internally a fast sqlite database as a key-value store.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">jeduancornejo</div></div></div> Tue, 11 Mar 2014 18:53:46 +0000 Anonymous 90 at https://code.coronalabs.com Simple grid system https://code.coronalabs.com/code/simple-grid-system <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>A simple grid to create columns in your Corona SDK project. Now its easier to create lay-outs that work on all devices and resolutions.</p> <p>Preview: <a href="https://www.dropbox.com/s/3c91f798ne27r2l/example.png">https://www.dropbox.com/s/3c91f798ne27r2l/example.png</a></p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Foxbyte</div></div></div> Mon, 10 Mar 2014 20:55:10 +0000 Anonymous 89 at https://code.coronalabs.com