Hi,
I have been using Corona for quite a while now and I have several apps in Apple’s App store. When Apple announced the changes to the TOS for the SDK (section 3.3.1) Apple lost my “trust”. It seems that Apple have the power to ruin all my efforts and work (and not to mention the money spent on buying Corona and joining the developer program) at a whim. For several weeks after this I gave up writing apps for the iPhone and turned to other things (specifically a cluster/cloud ESMTP server written in Go: http://code.google.com/p/goesmtp/).
But now that I have calmed down a bit and I see that, as of yet, Apple hasn’t actually rejected any apps for no being “originally written” in Obj-C. I am taking a different stance. I have bought myself an Android powered phone (running Android 1.6) and I want to turn my attention to developing (and porting my existing apps) to Android with the idea that if Apple put the iPhone versions in their App store as well then all the better for me.
So I took my simplest app (which calculates the distance of a thunder storm by measuring the time between the lightning and the thunder) and built it for Android using Corona 2.0 beta 5.
Here is what I discovered:
-
I needed to added a config.lua file to handle the resolution of my phone. In fact my phone’s resolution is the same as the iPhone 3G so by adding the config.lua file everything scaled as expected.
-
I added a build.settings file. Without it the app was in landscape mode with some crazy zoom factor. Setting the orientation to portrait in build.settings fixed that.
-
It works! Well kind of…
Here are the problems:
-
No sounds… I am using playEventSound and I can’t get it to work on the Android device. I have tried .caf, .wav and .mp3 files and I get nothing… PLEASE : Could a developer from Ansca please comment on this.
-
If I press the home key and then return to my application I only get a blank screen. This is discussed here: http://developer.anscamobile.com/forum/2010/06/19/app-has-stopped-unexpectedly-android but there doesn’t seem to be a solution. PLEASE : Could a developer from Ansca please comment on this.
I have more complicated apps using webpopups, the accelerometer, background music and so on and at the moment I won’t even try to port those.
Any comments, insights or news from an Ansca developer on these issues would be great.
Thanks,
Gary
[import]uid: 4415 topic_id: 1398 reply_id: 301398[/import]
