gps issue

Skip to first unread message

luis carlos castillo morales

Jan 6, 2020, 7:50:19 PM1/6/20
to MIT App Inventor Forum
hello comunity why the location sensor gps in my app  only works outdoors



Jan 6, 2020, 7:54:07 PM1/6/20
to MIT App Inventor Forum
for new questions please use the new community here, see also the announcement here 
thank you

Trying to push the limits of App Inventor! SnippetsTutorials and Extensions from Pura Vida Apps by  Taifun.        


Jan 6, 2020, 8:31:50 PM1/6/20
Hello Luis

The simple answer is buildings attenuate the signals the GPS receiver need to operate.

Each GPS satellite transmits data on two frequencies,(1575.42 Mhz) and  (1227.60 MHz). Both frequencies are in the microwave range frequency spectrum. Building and other things attenuate these signals.

The GPS receiver in your Android device receives information from satellites to determine where it is located. The signal from the satellites are not a very strong signals depending on how far away a satellite might be.

Outside, under a clear sky most GPS receivers works great.  Inside a frame house, the GPS receiver may also work well receiving signals.  Inside a steel framed building, like an apartment building or school, the GPS receiver may not receive the transmitted signals at all or poorly.   Likewise, during rain, under wet trees or in a canyon of buildings in a city where the path from the GPS to the satellites might be obscured by buildings Microwave signals have limited ability to penetrate these obstacles. Building walls etc. attenuate the signals broadcast from the satellites.

Some GPS receivers work well inside buildings, other's do not.Those that have more sensitive receivers or multiple receive channels have a better chance of working in a building.

Your GPS cannot receive signals from at least three satellites, required to provide a satellite fix when in some buildings.  Do this tutorial to discover more about how GPS works and sometimes does not work:     .

For comparison, cell phones usually operate in the 800 Mhz or 1900 Mhz radio bands.  These phones are also microwave radios.  Sometimes it is not possible to use a cell phone in some buildings (unless near a window) and the user can obtain strong signals from the cell phone tower.


Reply all
Reply to author
0 new messages