Page 1 of 1

Map and missing pin on android

Posted: Wed Aug 13, 2014 5:28 pm
by kno_dk
hi
In my app (Lansa RDMLX) I have a list of departments. if I select one of the departments it is shown on a map with a pin and my position is shown with a blue dot. this works fine on Iphone and Ipad. We are right now testing this app on adroid. If I select a department it does not show the pin. It is only show my position with a blue dot. The device is a Samsung Galaxsy S5, Modelnumber : SM-G900F with Android Version : 4.4.2

Re: Map and missing pin on android

Posted: Thu Aug 14, 2014 1:17 pm
by tsupartono
Probably Google Maps (which is what Android uses) doesn't recognise the address?

Did you try with other addresses? Did you ever manage to get any pins at all?

Have you compared with say the "Location Tables" example from the standard LANSA demo? (Programming Examples >> Advanced Examples >> Location Tables) - do you get any pins with this example? If yes - then Google map can't recognise the address you provided (Apple Maps does recognise since it works on iOS).

Provide us with one of the addresses (divided into parts, the way you set them in the code) and the RDMLX code that sets the addresses.

As comparison, this address works for us (showing pin) on Android

Map.Location.Street = “Lundsbjerg Industrivej 13”;
Map.Location.Locality = “Aabenraa”;
Map.Location.Country = “Denmark”;
Map.Location.postalCode = “DK-6200”
Map.Location.ID = “AABENRAA”

Re: Map and missing pin on android

Posted: Thu Aug 14, 2014 6:10 pm
by kno_dk
Hi.

I have tried with lansademo.lxp. It works fine with and Iphone 4 and Ipad, but it does not work with the Android (Samsung galaxy SII, GT-I9100, android 4.1.2). On this android it does not even show the map - not in my app and not in the lansademo app.
I have tried this
ÆCom_Owner.Set_Map Name(MAP) Layout_Row(3) Layout_Col(1) Zoom(10) Padding(20) Country('Denmark') Street('Lundsbjerg Industrivej 13') Locality('Aabenraa') Areacode('DK-6200')
it did not work.

Re: Map and missing pin on android

Posted: Thu Aug 14, 2014 6:34 pm
by kno_dk
Hi
I have made some changes to the RDMLX so I had a more "clean" areacode and Locality. I have tested on the android version 4.4.2 and it works now. But it does not work on an android 4.1.2.
What versions of the android is tested and supported?

Re: Map and missing pin on android

Posted: Fri Aug 15, 2014 5:40 pm
by tsupartono
It works for us on Android 4.1.2
Since you don't see any map at all, it's unlikely to have anything to do with the version of the Android OS.
Some people have experienced this in the past, and the solution for them is to reboot the device.
Can you reboot your device (turn it off and back on again), see if that makes a difference for you?
Try as well on other Android devices.
If you are still experiencing any trouble with this, please log a support call with the LANSA Support in your region.

Re: Map and missing pin on android

Posted: Mon Aug 18, 2014 4:35 pm
by kno_dk
I have restarted the device and now it works. thanks!