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
Map and missing pin on android
Map and missing pin on android
- Attachments
-
- longrang map p.jpg (3.18 MiB) Viewed 4567 times
-
- longrang map l.jpg (3.2 MiB) Viewed 4567 times
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: Map and missing pin on android
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”
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
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.
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
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?
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?
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: Map and missing pin on android
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.
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
I have restarted the device and now it works. thanks!