Using App URL Schemes in iOS

Posted by & filed under Daily Build, Tutorials, Tips and Demos.

Have you ever wondered how apps get launched from other apps, whether it’s a link you touched in Mobile Safari, or a button you pressed in another app? Well today, I’m going to show you how to do exactly that with one of the new features that recently came out in the Daily Builds. The technical term is “app URL schemes” and I already touched on how to do it (indirectly) during last week’s tutorial on how to upload photos using the Facebook API. That’s because Facebook single sign-on cleverly makes use of an app URL scheme to bring the user back to your app after authenticating. Note to Android Developers App URL schemes, which are accomplished via “intent filters” on Android, are implemented much


Uploading Photos to Facebook in Corona

Posted by & filed under Daily Build, News & Announcements, Tutorials, Tips and Demos.

Those who have been keeping a close eye on our Daily Build logs may have noticed a very nice “holiday surprise” we let out a bit early this year. As you probably already know, I’m talking about (the nearly-famous) build 2011.707—which is available to subscribers only at the moment via Daily Builds. For those who don’t know, the build was packed full of “goodies”, to include: Facebook single sign-on & photo uploading, front-facing camera support (Android), web popup performance improvements, custom URL scheme handling, remote push notifications (iOS), under the hood improvements, and the list goes on. Carlos really wasn’t messing around in his “‘State of the Corona’ Address” blog post the other day! Unfortunately, I can’t go over everything in a single blog post,


The Amazon/Kindle Fire Opportunity

Posted by & filed under Amazon Kindle, Corona SDK, Daily Build, News & Announcements.

Okay, this time we mean it! Starting with tonight’s daily build, PRO subscribers will be able to build for the Amazon Appstore/Kindle Fire. (In case you missed the excitement, we blogged a little early due to a communication snafu yesterday. What happened? In a nutshell, there’s been a flu going around and half the team is literally sick. So in the fallout, we’ve gotten a little OCD around here, quarantining desks, making public health/safety announcements to the team, and handing out Purell hand sanitizer bottles. But I digress…) There have been a lot of reviews about the Kindle Fire. And I agree it’s not perfect, but two things stood out: 1. Ready for consumption. As soon as I connected the Fire to WiFi, my name


More Android Daily Build Highlights

Posted by & filed under Daily Build.

If you’ve seen the Daily Build release notes lately, you’ll notice that more and more Android features and fixes have been coming through at an alarming rate! Today I’m going to highlight some of the more prominent features and fixes that have been recently pushed-in, but I highly encourage you to go check out the latest Daily Build and see for yourself. There’s a lot of great stuff, so I’m really just scratching the surface here, but here are the highlights nonetheless:


Multiple Lines in display.newText()

Posted by & filed under Daily Build.

Taking a look at a few forum threads on the topic, it’s plain to see that there’s a definite need for built-in text-wrapping capabilities in Corona! Well today just might be you’re lucky day, that is, if you’re one of those people in need of it, because as of Daily Build 638, display.newText() now has the ability to wrap text, and it now properly supports the newline (n) character! (Be sure to see the Important Notes section at the end)


New Corona Home Screen in Daily Builds!

Posted by & filed under Daily Build.

If you’re a subscriber using a Mac and have downloaded the latest Daily Build (637), you may have noticed something different when you opened up the Corona Simulator… Yup, it’s a brand-new “home” screen for the simulator, and here’s a screenshot of what it looks like so far (subject to change before public release):


Daily Build Feature: Lua Files in Folders

Posted by & filed under Daily Build, Tutorials, Tips and Demos.

In case you missed it, as of Daily Build 619, subscribers can now place Lua scripts (with an exception of main.lua) in sub-folders within their project directory for iOS apps (doesn’t apply to Android apps just yet). There’s a few important things to note, however. When using the require() function in Lua, slashes (“/”) are not supported when accessing files in sub-directories (as with usual file operations). Instead, you use a “.” to signify a directory level. This also means you cannot have a “.” in your module name.


Daily Builds Update (626-631)

Posted by & filed under Daily Build, Tutorials, Tips and Demos.

Last week, I covered Local Notifications, which is an awesome new feature that recently came through the Corona Daily Builds (available to subscribers only). Today, I’m going to show you how to handle notifications when your app is not currently in the foreground (a question that came up in the comments section of last week’s post), as well as give you a quick update on all the other things that recently got pushed in.


Corona SDK Now Compatible with OS X Lion

Posted by & filed under Daily Build.

Although Daily Builds have been halted until the next public release (August 2nd), you still have access to the builds that were released prior to the code freeze. You may have noticed that Mac OS X Lion (10.7) was just released a few days ago, and for those holding off on upgrading because you’re unsure if Corona will work, then I have some good news for you. As of Daily Build 577, you can now use the Corona SDK to build your apps worry-free in OS X Lion (I’ve tested it myself—everything works as good as it did in Snow Leopard). Of course, only subscribers have access to the latest and greatest being pushed through the Daily Builds.


Add Bitmap Masks to Text Objects

Posted by & filed under Daily Build.

In case you missed it way back in Daily Build 502, you can now add bitmap masks to text objects! Previously, when you tried to add a bitmap mask to text objects, you’d get unexpected behavior—most often in the form of your text always showing up as black. Now, you can add masks to text objects directly, or to a group where a text object resides and everything should work as expected! Remember, only subscribers can take advantage of the latest and greatest being pushed through the Corona SDK Daily Builds.