More Android Daily Build Highlights

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0

Corona Daily Build Update for November 4thIf 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:

Sub-directory Support

As of Daily Build 2011.653, we now have Android + Sub-directory support with all Corona-specific functions! This means you can place images and audio in sub-directories and access them with the corresponding Corona functions (display.newImage(), audio library, etc).

NOTE: You’ll still have trouble with some Lua functions + sub-directories though, so “io” calls to files in sub-directories (which include images and HTML) still aren’t supported.

Important Fixes

Assets Not Getting Updated

There was a pretty nasty Android issue that affected developers who released updates to their app, where the update would intend to replace existing asset files (text, images, audio, etc.) wouldn’t get replaced. Instead, updates only installed newly added files, and updates to the Lua scripts. Previously, the only workaround for this was for the user to uninstall the app and re-install the app. Obviously a pretty nasty bug.

Now, users can update their app, and everything you intended to get updated will! If you replaced an image or audio file in your update, those files will also be updated when the user goes to update the app on their device. Needless to say, if you are an Android Corona developer, you definitely need this fix! (casenum: 8830)

Hide Video Controls

Previously, when you called media.playVideo() on Android, the video controls (e.g. the play button, pause, etc) would stay on screen. We now support the ability to hide the video controls on Android.

Oldie But Goodie….

And last but not least… I touched on this briefly in a previous Daily Build update, but it’s worth mentioning again.

Previously, Android builds only supported 16-bit color. This was mildly noticeable with images (although very noticeable to the graphic designers out there!), but really showed its ugly face when you went to apply gradients to vector objects. Now, as of Daily Build 2011.643, we now support 32-bit color on Android!

Here’s a before-and-after shot that our Android/Windows engineer, Joshua Quick, was dying for me to show you guys:

Corona now supports 32-bit color on Android

HUGE difference 🙂

Remember, these awesome new features and fixes are available to subscribers only through our Daily Builds program. Subscribe now to get the latest build today!

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0

This entry has 8 replies

  1. Jose says:

    Thank you, thank you, thank you! Finally, Android is getting the love it deserves. Now can we please get the maps working on Android, please!

    Thanks for the hard work. Keep those updates coming.

  2. Tom says:

    In-app billing? Soon?

  3. Joe Kool says:

    Cool!!! Neat color demonstration. Is there a way to make a shape with a gradient fill color?
    (i.e. local box = display.newRect(x,y,x,y)
    box:setFillColor (gradient) )

  4. Chang Kian Boon says:

    Hey guys, I think the simulator under new daily builds 65X for iPhone is showing retina display while iPhone 4 is not. Although its not an big issue but this is a bit confusing.

  5. Joe Kool says:

    Thanks Carlos!

  6. vopmms says:

    in-app purchase for android please.

  7. James says:

    +999999 for in-app purchase for android!