MapView Sample App doesn´t work on Android Device

Hi Guys,

I was very excited to learn that MapView was made available for Android Device Builds so I downloaded the Sample App from Github and wanted to try it out.

But when I downloaded the file on my phone I got this error:

“This application has encountered a Lua error (see Logs) or has been corrupted”.

I haven´t tampered with the code, the only thing I did was comment out the “Android not supported” code lines.

I also tried a simplified MapView app that had just one line of code, naimly :

myMap = native.newMapView( 20, 20, 300, 220 ) but that didn´t work as well.
One time I got to the Corona SDK Trial frame saying “this message only appears in the trial version” and then all I got was a black screen :-(.
Anybody have an idea what the problem might be ?

I´m using a Samsung Galaxy Note which Santa clause gave me for Christmas.

The android Version is 4.0.3, could that be a problem?

Thanks in advance !

JA

P.S. I don´t have any images in a director folder, all images (the Icons) are in the root, I also tried changing .png to .PNG, but same result came out. [import]uid: 126207 topic_id: 31253 reply_id: 331253[/import]

Hey there, which sample code are you using (link?) and which build of Corona? The latest stable/public doesn’t have all features available in daily builds so if you are using the new map stuff on Android as a trial user on latest stable/public it will fail. [import]uid: 52491 topic_id: 31253 reply_id: 125385[/import]

Hi,

I downloaded the latest Corona Version (2012-894) to override my previous one, but because the Windows version didn´t contain the MapView sample I got it from github (https://github.com/ansca/Map-View).

Greets,

JA

[import]uid: 126207 topic_id: 31253 reply_id: 125434[/import]

That code is over a year old and parts are certainly depreciated (ui.lua is no longer used, replaced by widget library).

The latest build isn’t actually 894, that is latest public/stable - daily builds our subscibers have access to have features *just* added, including the Android map stuff you’re looking at using.

You will either want to subscribe for daily build access or wait until the next public/stable release that will also have these features.

Hope that clarifies! [import]uid: 52491 topic_id: 31253 reply_id: 125515[/import]

Hey there, which sample code are you using (link?) and which build of Corona? The latest stable/public doesn’t have all features available in daily builds so if you are using the new map stuff on Android as a trial user on latest stable/public it will fail. [import]uid: 52491 topic_id: 31253 reply_id: 125385[/import]

Hi,

I downloaded the latest Corona Version (2012-894) to override my previous one, but because the Windows version didn´t contain the MapView sample I got it from github (https://github.com/ansca/Map-View).

Greets,

JA

[import]uid: 126207 topic_id: 31253 reply_id: 125434[/import]

That code is over a year old and parts are certainly depreciated (ui.lua is no longer used, replaced by widget library).

The latest build isn’t actually 894, that is latest public/stable - daily builds our subscibers have access to have features *just* added, including the Android map stuff you’re looking at using.

You will either want to subscribe for daily build access or wait until the next public/stable release that will also have these features.

Hope that clarifies! [import]uid: 52491 topic_id: 31253 reply_id: 125515[/import]