[Resolved] I'm starting to test on a device but I'm seeing problems?

I have all my images displayed on the screen using display.contentWidth and display.contentHeight. So in the corona simulator, I can go from droid to ipad to iphone to ipad retina and everything is in the right place. However, when I did a build onto a Nexus 7, some things (all textfields actually) were shifted severely to the right and others shifted down. Anyone know why this might happen?

[import]uid: 35535 topic_id: 33092 reply_id: 333092[/import]

Also when I leave my app and go to the main menu and then I want to return to my app, the whole screen (minus the textfields) appear black for roughly 5 seconds before it properly loads. Am I supposed to code something to memory? I’ve never worked with memory so I don’t really know what I should do. [import]uid: 35535 topic_id: 33092 reply_id: 131425[/import]

I know the default reference points are different when an object is created and when it is inserted into a group, I don’t know what’s going on with what you’re seeing but I would try playing around with the reference points and seeing if there is a difference between the off objects and the ones that draw correctly.
[import]uid: 181948 topic_id: 33092 reply_id: 131428[/import]

So if I only have one device to test on, should I assume the objects will be off location on other devices as well? I can play around with the groups because I think every thing that is off location is not in some sort of group. So that’s a good place to start.
[import]uid: 35535 topic_id: 33092 reply_id: 131433[/import]

Also when I leave my app and go to the main menu and then I want to return to my app, the whole screen (minus the textfields) appear black for roughly 5 seconds before it properly loads. Am I supposed to code something to memory? I’ve never worked with memory so I don’t really know what I should do. [import]uid: 35535 topic_id: 33092 reply_id: 131425[/import]

I know the default reference points are different when an object is created and when it is inserted into a group, I don’t know what’s going on with what you’re seeing but I would try playing around with the reference points and seeing if there is a difference between the off objects and the ones that draw correctly.
[import]uid: 181948 topic_id: 33092 reply_id: 131428[/import]

So if I only have one device to test on, should I assume the objects will be off location on other devices as well? I can play around with the groups because I think every thing that is off location is not in some sort of group. So that’s a good place to start.
[import]uid: 35535 topic_id: 33092 reply_id: 131433[/import]

So I found the problem. If you don’t specify a reference point, corona seems to assume a center reference point and the android device will place it in the top left corner. Also when I did include a reference point, I did so after already specifying the x and y. I should have set the reference point before setting a x and y for the object. [import]uid: 35535 topic_id: 33092 reply_id: 131617[/import]

So I found the problem. If you don’t specify a reference point, corona seems to assume a center reference point and the android device will place it in the top left corner. Also when I did include a reference point, I did so after already specifying the x and y. I should have set the reference point before setting a x and y for the object. [import]uid: 35535 topic_id: 33092 reply_id: 131617[/import]