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:
Category: 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)
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):
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.
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.
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.
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.
In case all you Android developers missed it, as of Daily Build #565, various Facebook API issues have been addressed (casenums: 6196 and 6391). We know many of you have been on your toes waiting for this one, so this should be great news to a lot of folks — Enjoy! Remember, only subscribers can take advantage of the latest and greatest being pushed through the Corona SDK Daily Builds… Of course, Daily Builds are available only to subscribers.
As of Daily Build 521, the Windows Simulator has been fitted with an iPhone, iPhone4, and iPad skins (as well as a statusbar) to improve the overall desktop “simulation” of your mobile apps. Remember, only subscribers can take advantage of the latest and greatest being pushed through the Corona SDK Daily Builds… So what are you waiting for? Become a subscriber today.
We gave you a preview the other day, and now—as of Daily Build 553—subscribers can now take advantage of the new “widget” library (beta), which is part of the next generation Corona UI implementation. Once you grab the latest build, the new “WidgetDemo” can be found in: /SampleCode/Interface/WidgetDemo And when you’re ready to dive in, go view the Widget Documentation to get started. Remember, only subscribers can take advantage of the latest and greatest being pushed through the Corona SDK Daily Builds… So what are you waiting for? Become a subscriber today.