We’re happy to announce support for Google Play expansion files that will vastly simplify mobile app development. Why would you want to use expansion files? Read the full post to learn more!
Posts Categorized: Tech
If you’ve been looking at the Corona daily build summaries over the past month, you might have been wondering what this mysterious “Project Gluon” is all about. And for that matter, what is a gluon?
Well it’s all related to what I mentioned in my previous post about offering more 3rd party services.
So I owe you a story on notifications on Android and Corona which is essentially a story on why cross-platform development is incredibly difficult.
Now if we were just a pure iOS platform, we’d be pumping out features very quickly. However, we also support Android. And actually, if we count our desktop app, Corona Simulator, we also support Mac and Windows.
Of all four OSs, Android really slows down our development. Internally, we have a rule of thumb that features on Android take at least 5-10 times longer. There are two main reasons…
Today’s tutorial covers Corona blend modes using the “object.blendMode” API, and illustrates how to use them for creative visual effects within your app. Whether you want to achieve a glowing effect like fire or a subtle shadow effect, blend modes can be a powerful tool in your Corona arsenal. This tutorial steps you through the three Corona blend modes, the effect of each, and the technical algorithms involved.
September has been an exciting month in mobile, or more generally, connected devices. Last week, Amazon announced two new Kindle Fires and is trying to move into iPad-sized tablets. In spite of the controversy over ads displayed on the lock screen, it’s a very compelling price point.
Perhaps most interesting is how Amazon views Android. Amazon CEO Jeff Bezos says “it’s a base operating system layer”, like Linux but with a lot of customization. In other words, they’re not in the game of making Android devices; they’re making Kindles.
It’s Wednesday and time for another FAQ session. Here are five frequently asked questions (FAQ). Question 1 How do I bring the Corona window back to the desktop? Answer This is a common issue with Windows programs where the window will disappear if it’s on an external display and the program is restarted without the display. The program is not hung, just trying to display the window on a non-existent display. This can occur with the Corona Windows Simulator (this is not an issue with the Mac Simulator) and here are the steps for getting back the window: Right click on the Corona Simulator tab in the task bar Click on “move” Press an arrow key (left, right, up or down) Move the move until
It’s Wednesday and time for another FAQ session. Here are five frequently asked questions (FAQ). Question 1 Now that you added the Lua File System (LFS), how can I use it to get a list of files in the /Documents directory? Answer The Lua File System was added starting with Corona build 2012.805. You can read the tutorial here. The LFS now makes it possible to create, delete, and access subdirectories. The key to all of this is creating a string containing the path to the directory. In iOS and Android, there are three main directories: Resource, Temporary, and Documents and they are accessed using Corona constants. These userdata constants need to be converted to a string so they can be used with the LFS.
Building stuff is hard. Sometimes when you’re willing something into existence, you lose track of time. The days just roll into one another. Maybe you’ll find the following scenario all-too familiar: It’s 1am. The monitor is staring back at you. The cursor blinks on line 128, column 64. Over the past hour, the list of friends who are online on IM has been shrinking one by one. It’s the only reminder that there’s such a thing as normal working hours. In fact, your somewhat confused as to what day it is. But you are so close, ever so close to getting that one thing working. Maybe it’s breaking ground on your new app. Maybe it’s a bug fix. Maybe it’s that cool new feature. Whatever
It’s Wednesday and time for another five frequently asked questions (FAQ). Question 1 Why do images take longer to load on the new iPad (retina)? Answer This issue came up when a user was using large JPEG images on the new iPad Retina and noticed the time to load the images were a lot higher than on the iPad2. One of the reasons is the new iPad accepts larger image sizes, but we also found out a few things that might help if you have images that take a long time to load. First off, use non-progressive JPEGs. Progressive JPEG take longer to load. How you compress JPEGs makes a difference in load times. Compressing to 70% or 80% can cut down the time to
It’s Wednesday and time for another five frequently asked questions (FAQ). Question 1 Should I use PNG or JPG image files in Corona? Answer The answer depends on the quality of the images you need and the size of your app package. Corona supports 32 bit PNG and 32 bit JPGs. PNG supports transparencies with loss-less compression where JPGs are compressed (lossy) but supports a wider range of colors. PNG files are generally a larger file size than JPGs for the same resolution. This can affect the size of your app package. As for the amount of texture memory consumed, both PNG and JPG take up the same amount of openGL memory because the images are uncompressed when loaded into memory. You should also be