To get the location of the building - android

Is it possible to get the location of the building shown in the Camera view using Augmented Reality in Android??
I have the GPS coordinates of the mobile but now i want to get the GPS coordinates of the building shown in the Camera view???
Please suggest me some ideas?????

If you have the GPS coordinate of your mobile phone and the direction (using the compass of the mobile phone) in which it is hold, you could use some trigonometry to approximate the location of the building. The remaining problem is that you have to somewhere estimate how far the building is away from your phone.
But if you assume for example that you're always walking in streets and the point to a building, it should be easier to find the building.

I would not depend on the compass output, it's always in question.
What I did was use Gogle maps, get a location fix, draw the point on the map (if you want to draw a line use bearing that would be a better hint I guess) then let the user draw or adjust the line using sattelite view to pinpoint the target. You can then get the new geo-coord and get a fairly accurate bearing ( if that's required )
I would also suggest using both the network and gps provider, in cities sometimes the network provider is more accurate than the GPS if the glass/metal canyon is preventing it, even a couple of hundred yards can get you close to your position.
Anyway it's a somewhat manual process but it's more reliable then trying to guess distance and hoping the azimuth is reliable (rarely is)

Related

Make a pinpointed location move on the map while walking without using GPS in android

I'm developing an In-door positioning using Wi-Fi trilateration method. I currently able to get my position on the map but right now I wants to make the point move towards the direction I walking and keep update on the map without using GPS. Is there any motion detection sensor to do this function?
wifi will not give you a high enough accuracy to do this it will give you a general area.

Recording location history, location movement is not consistent & jumped around

I'm new to android programming and currently involved in gps tracking development. I managed to create location listener and start the tracking and record the movement into database on server. What i'm concern is that the coordinate seems jump from one location to another. I can see the main pattern of movement, but get wonder what would made that jump. Tracked device is using network as provider (FINE & COARSE) and I'm suspecting the marker jump is due to the device seeing nearby BTS. Any suggestion to avoid/eliminate this? Thank you
For acurate positions you need GPS provider. To avoid jumps, move with a speed a bit higher than walking speed.
Having a clean movement path for low speeds is difficult to achieve.

Better position accuracy with Android

I a trying to create an application that will be able to guide people in a city, with points of interest. For this, I need the better accuracy I get, in order not to place POI where there is nothing...
To do this I use droidAR (it gives me a radar, and I can place my POI thanks to their coordinates). But the accuracy is so bad I can't see how this can used.
For exemple, to determine if I a close to a POI, I calculate the distance between it and my GPS position. It can be that, with a 10 meters accuracy given by Android when I place the POI, it is then 80 meters away when I try to find it.
SO I looked forward to find another position systems, I found :
skyhook, which is supposed to give a more accurate position. With this, I took 1000 points and checked their distance to the last point, it is always moving and it was sometimes 300m away, so it seems even less precise. Maybe anyone could use it successfully ?
someone told me to use DCM algo (Direct Cosine Matrix), that can give me an accurate relative position (no problem for my use cases to do every positioninf relative to a start point). Some drones are using it, it could reach 1 meter accuracy. But I couldn't find any implementation or help with Android.
Did anyone succeed into using the android GPS with accuracy ?
Either your android phone has a bad GPS device, or more probably you are doing something wrong. you can set a POI in city aprox. 5m acuracy, sometimes 20m. that is sufficient. check it with another GPS app that allows setting a waypoint.
In your app you could concentrate on the 95% GPS accuracy. There is nothing better than GPS (espcecialla yon a mobile phone), the other methods you described are for short time assistance to GPS, but they will not work good for pedestrians, they are made for vehicles (vehicles move straight most of the times, they cannot change its direction so fast like a human does).
Your problem is not the GPS location accuracy, it is the augmented reality projection of droidAR.

How to navigate the user from floor to floor using android application

I have the requirment to navigate the user from floor to floor using wifi and gps. If user have have android tablet with wifi connection and walking to get lattitude and longitude .I have to draw or voice recognition to go left or right to tell to the user.Is it possible? if it is can anybody tell how to dO?
Thanks
First of all GPS doesn't work well/at all in closed spaces. WIFI does give you a location but its not very accurate (above 100 meters radius).
in conclusion i would say its a waste of time trying to do something like that because it will perform poorly and be pretty useless.
if you really want to go on and make it then go google for samples and examples and tutorials on how to implement the location Receiver both for FINE and COARSE location.
for the drawing part you will need the orientation sensor to tell you which way you are facing or get the bearing from the gps provider.
this is pretty general info but it should be enough to get you started.
One solution would be to have people walk around and take wifi measurements at different places on each floor, then you can store this, and then you can tell where they are on that particular floor.
You may want to break the building up into grids so you can state they are in Grid 5 D for example, if that is how you label them, or at least show that on a map.
Indoors the GPS will most likely not be working.
The wifi approach isn't foolproof but if you take multiple measurements by stair entrances and elevators you should get a good idea when they change floors, and perhaps have some people able to correct the database if they know they are in a particular grid but the app tells them it is somewhere else, so you can start to get a fuzzy idea where people are.

Android gps reading

i want to create android app that read the coordinates according to the speed (if the app holder driving ,walking etc.)
if the app want to read the coordinates first check the speed of the holder,if he driving slowly then the app read the coordinates in each 10m and if he driving fast the app read the coordinates in each 1km.
how can i do that?
You can get the speed using getSpeed()
Based on the speed you can choose to get location fixes every x meters

Categories

Resources