App works well in simulator, all platforms. Installed on Samsung SIII, the splash screen shows, then goes blank.

It’s not something we can control.  The OS’s API’s are case insenstive.  We have to use what they give us.  Ironically on OS-X, the underlying Unix operating system is case sensitive, but the Finder and it’s API’s on top are not.  Windows simply isn’t case sensitive.

I’ve gotten 3 out of 4 images in one scene into proper X,Y positions in android Samsung SIII by doing it this way:

local teddy = display.newImage( “Bg07TeddyBearStanding.png”,329,649 ) 

function teddy:touch( event )

but the 4th is a “group” and try as I might I can’t make it happen with the group.

The following works in Corona simulator but doesn’t translate to android:

local group = display.newGroup ()

local spin=display.newImage(“TairplaneSpin.png”)

group:insert ( spin,true )

spin.isVisible = false

local plane = display.newImage ( “Tairplane.png”)

group:insert ( plane, true )

group.x = 150

group.y = 75

HELP PLEASE!

I have to say that it is very disconcerting to have  “presumed” that getting the code to work in all platforms in Corona Simulator would translate to the various “actual” platforms.

Groups start with their center at 0, 0.  If you draw and image centered at 50, 50 and then move the group to 150, 75, then the image should move to 200, 125.

Rob

Rob,

with the following code and nothing else, it still doesn’t appear on the smart phone.

local group = display.newGroup ()

local spin=display.newImage(“TairplaneSpin.png”)

group:insert ( spin,true )

spin.isVisible = false

local plane = display.newImage ( “Tairplane.png”)

group:insert ( plane, true )

group.x = 200

group.y = 125

Thank you for being so prompt

Are you sure the filename’s are:

TairplainSpin.png and Tairplane.png and not tairplain.png or tairplanespin.png or Tairplane.PNG or any other combination of case sensitive issues?

Positive,  I just verified it

Is there any reason you’re passing true when inserting the groups? 

Is there a reason you’re not setting the .x and .y on the objects instead of having them draw at 0, 0?

Basically, I am just following examples of the sample code.

I have no understanding of the “draw” command.  Would it be a better approach?

I am just trying to position movable small images at strategic points on the background.

My son in law and two grandsons have invited me to go to a “Blue Crabs” minor league Baseball game here in MD.  so I will be leaving fairly soon for the game. 

When I say draw, I mean position:

local group = display.newGroup ()

local spin=display.newImage(“TairplaneSpin.png”)

spin.x = 100

spin.y = 100 – or where ever you want it.

group:insert ( spin )

spin.isVisible = false

local plane = display.newImage ( “Tairplane.png”)

plane.x = 200

plane.y = 200 – or where ever you want

group:insert ( plane )

group.x = 200

group.y = 125

Rob,

SUCCESS!!

MANY THANKS and apologies too

I finally spotted  a “case” problem with the “spin” image.  I have 20 20 vision but with glaucoma, my eyes sometimes play tricks. :wacko:

Your help with the “group” having a different positioning convention helped greatly.

The following code WORKS!!!   I’M SO HAPPY :smiley:

local group = display.newGroup ()

local spin = display.newImage(“TairplaneSpin.png”,175,160)

group:insert ( spin )

spin.isVisible = false

local plane = display.newImage ( “Tairplane.png”,175,160)

group:insert ( plane )

Rob,

Thanks for your help.

Hurrah! I have all 50 scenes working very well on my Samsung SIII

I upgraded to “Basic”, will the “Basic” upgrade permit me to build to iOS?  (it’s a bit confusing)

I noticed the price break for EDU: Corona SDK Pro:  $249/year  

Do you think I, “the 71 year old student” could catch a break?

You could build for iOS with the starter account.  What Basic gets you is access to In App Purchases.

If you can produce a valid student ID, you can get the discount.  Age doesn’t matter.

That’s a bummer.  I can ill afford the upgrade fee.

Now that you tell me, I found the iOS instruction page. :wacko:

Why would I need app purchases?

I should have learned by now not to “shoot first, then ask questions later”

You probably could get a refund. 

Let me ask you, are you  on a Mac or WIndows?  You can only build for iOS on a Mac.  If you’re on Windows, you have two choices.  You can pick up a cheap mac mini or your can use a service like MacInCloud where you can rent a Mac to build with.

If you’re on a Mac, there should be a File->Build->iOS option.  Windows won’t have this.

Now to build for iOS you need to have a paid Apple developer account.  This costs $99 a year and you have to pay this to Apple.

Why do you need IAP?  You may not, not everyone does.  This allows you to do a free app and then let people buy things from inside your app like extra levels, pay to turn off ads, etc.

How do I go about getting a refund?

I use Windows and will probably use MacinCloud.

Email sales@coronalabs.com

Rob, 

Thank You

How would you rank the level of difficulty transitioning from Corona.lua to the IOS platform?

I’m not sure I understand the question Sid.  For Corona you still develop in Lua.  You don’t need to know much at all about native development.

If you mean, going to iOS from Android, it’s hard for me to say since I went from iOS to Android.  But I will say that the iOS app signing process (making sure they are cryptologically marked to prevent people from hacking them) is very intimidating to the new person.  With terms like Key Signing Identity and Certificate Authority and Provisioning Profiles, it’s a complex thing.  You have to rebuild your certificates and keys every year and its long enough that you forget how you did it.  Apple’s websites have gotten much better at talking you through the process.

Rob

Rob,

I have my app working very well in all platforms on Corona simulator thanks to your “Ultimate config.lua”.

So now I just have to persevere with the various app signing processes, correct?

I have just begun the Google app store process.

The legal “mumbo jumbo” is daunting, to say the least.

Thanks

Code wise, you might have a few changes when going to iOS.  Most of it’s dealing with the account setup and legal mumbo jumbo.