Android 11 Samsung A03 Core não lê localização (latitude e longitude)

Estou com o Samsung Galaxy A03 Core (Android 11) e ao baixar os códigos para leitura de latitude e longitude, o celular não reconhece nenhuma das duas e não retorna nenhum valor. A localização e o GPS já encontram ativos no celular, mesmo assim não reconhece a localização. O Google Maps funciona tudo direitinho, mas o MIT não.

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Obrigado, Taifun. Segue código:
SamsungA03

try one of @SteveJG 's locationsensor tutorials

Taifun

1 Like

Did you wait for the LocationSensor to get a satellite fix for at least 60 seconds?
Did you test your app outside or near a window in your building? The gps needs a clear view of the sky to receive signals from the satellites.

1 Like

Sim, @SteveJG testei assim e em outros celulares funcionaram. Funcionou no Motorola Moto G 7 (Android 10) e no Samsung A20 também funciona. Somente neste modelo Samsung A03 Core não funciona a parte de localização (latitude e longitude)

Somente no Samsung A03Core não funciona.

Try this:

1 Like

Are your Android 11 device's system settings set to allow Locations for your app?
Did you try your app OUTSIDE?
SimpleGPSTest2.aia (4.8 KB)

Load the aia and test. What happens?

1 Like

Obrigado.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.