Last Friday’s GMIC session was a smashing success. Tons of folks were there — over 8,000 entrepreneurs, investors, and developers. We got to show off Corona first hand. And even demo’d building Pong in 5 minutes with Corona!

Last week, I alluded to talking some cool new stuff. Some of you had some good guesses. It wasn’t what I demo’d but I won’t deny those things either ;-)

What I can confirm is that we demo’d something that foreshadows some cool stuff to come. One of our longer term projects has been this general theme of extensibility. One aspect of that theme is some core plumbing that’s really going to accelerate a lot of things.

To give you a sense of how powerful this technology is going to be, let me tell you about what I showed at GMIC. In less than an hour, I was able to get PhoneGap, a.k.a. Apache Cordova, running inside Corona!

And just for kicks, I made 20 PhoneGap “views” (a.k.a. CDVCordovaView) behave like physics objects (see photo). Pretty cool, eh?

Under the hood, we’re able to turn any native view into a Corona display object. We plan to offer this capability very soon to all Enterprise customers. And for SDK customers, we plan to make more “modules” available that take advantage of this and other extensibility features.

* * *

We’ve also been hard at work on a bunch of polish items.

For example, in tomorrow’s daily build (936), you’ll be able to detect for when webviews have finished loading. To do this, you’ll look for “loaded” in the urlRequest’s ‘event.type’ property:

There are a bunch more polish items that you can check out on the daily build summary page. We’ve been getting more efficient at squeezing these in between the big stuff.

* * *

What’s next?

Well, so many to choose, but let me choose one that I know a lot of you want to know more about: notifications on Android.

I’m happy to say we are super close to this. We expect to have local notification on Android available very soon (within a week). Remote push notification on Android are going to come a week or two after.

Now, if you’ve done any native coding, you know iOS and Android notifications are wildly different. When you use notifications on Corona, they will work virtually the same. We could have let them behave differently, but you expect more from us. More on all the details when it’s ready!

  1. This is all great stuff.

    What I (and I am sure many other indy devs) need is better monetization options.

    One that would be really appreciated would be AdMob ads.

    Regards,
    Damir.

    • The webview stuff has been in Corona for awhile. You interact with it via a urlRequest listener. There’s more info in our docs and various tutorials.

      For the phonegap stuff, that’s currently just a demo. Mainly to test out our extensibility system. In terms of interaction, we’ll probably layer something on top of how webviews will work.

      • Hi Walter,

        Besides the basic level of interaction possible with webviews, It would be nice to have extended interaction possibilities so we can use for example Java Widgets like a Calender widget and use the data it generates (a date in this example) within Corona.

        But what I’m really looking for are better and more widgets to use in my Business apps.
        If you look at phonegap, they have some nice widgets I also want for Corona.

        So please leave the webview as is, and instead improve the widget library. :-)

  2. Wow this is great!. This will fix that annoying white flashlight effect that always appeared when loading a webview. Now I can activate alpha of the webview until webpage truly finishes loading, making it seamless. It’d be interesting to see the implementation of PhoneGap in Corona with a tutorial. I love Corona!!!

    • Glad you like it! Just to clarify, webviews have been available in Corona for awhile. The quick hack/experiment I put together was to see if we could get Phonegap to be a component inside Corona.

  3. With native views behaving like display objects, does that mean that you will be able to layer other objects on top of native views? ie. place objects on top of videos, web views, etc…

    Thanks,
    Perry

  4. Will native views behave in groups now because they now behave like regular display objects? And like Perry asked, can they also be places on top of other native views?

    • Native display objects have always been a little different.

      Traditionally, we’ve let you put them in groups for relative positioning, but the group has no effect on these native objects wrt to properties like alpha or visibility — that’s because these objects get rendered outside of OpenGL.

  5. This all sounds great, but I’m hoping that Enterprise doesn’t become a paywall keeping basic SDK customers from being able to layer native objects (videos, webviews, etc.) into display groups – so that we can place OpenGL objects “on top” of native objects. That really should be a basic SDK function. But keep up the good work, Corona Labs engineers! :)

  6. I’d be interested to know how you’re planning to tackle this Walter – if native objects are outside of the OpenGL canvas then how on earth will we be able to control where/how they are rendered in relation to our projects?

    Sounds like magic to me :)

  7. Android notifications (both local and push) are huge for Android.

    The entire model of Android is intents. If Intents are opened up to Corona on Android, the sky is almost the limit as to what you could do. The question is will Corona Labs make a generic wrapper around intents for us.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>