How to get exact location inside building? - android

Is there any workaround get exact location inside building or still it's not possible..
I've checked few things like
https://developer.foursquare.com/docs/venues/venues
http://www.walkbase.com/
http://www.directionsmag.com/articles/10-things-you-need-to-know-about-indoor-positioning/324602
But didn't able to find what I want!!
I want my app to know weather user in in particular restaurant or not!! I'v also tried http://developer.android.com/training/location/geofencing.html
but not sure how to use it..
It'll be great if someone help me with where to start and which is best?
Thanks :)

no it is not possible. some companies experiment: for some buildings, that have to be measured to the specific technologiy that those companies use, it may work a bit, but not in general case.
if you want to know the restaurant, enable gps before the user enters the restaurant.
that way you get the position via gps when the user stands before the restaurants door.
as long as the restaurant is not inside a huge indoor shopping center, chances are good.

Related

How to implement Location Sensor?

I am working with android studio for last few days, and I am pretty new here with this work. I am trying to implement a location sensor app. The basic idea is if my phone enters into some restricted area (would be predefined in app), some voice message will be popped up, Surely I have to keep the app running on background to test this. I headed with FusedLocationProviderClient and implemented a very basic getmylocation app for now, where my actual obstacle I found. The co-ordinates keep fluctuating all the time for a same place after the decimal points by some values[(xx.xfffff,yy.yfffff) where f are the fluctuating figures,and the app is supposed to work on the truth of that figures], so the sensor can never implemented if the measurement is wrong.
Anyone having idea, how to fix this or may be there are better alternatives to implement this thing? I am pretty new to this work, so I would request you to give explanation or some attachment/article links in support of your answer so that I can get things clear and straight forward.
If any details is required from my work, Please mention , so that I can update this question on next round edit.
Thanks in advance.

How to create a custom Get Location button for a Google Maps App and conduct a search?

I'm new to Android App Development and wanted to create a very simple Google Maps based App.
So far I have created a basic App which immediately shows your location via GPS on a map as soon as you start the App. I have also managed to get the Google location button on screen, which goes to your current location when pressed.
However, I have made a custom button image and wanted to replace the default button with my own. Is that possible, and if so, what is the best way of going about that?
Also, I require my App to conduct a search upon opening using Taxis as the search criteria, is this also possible?
Sorry if these are such noobish questions, I'd appreciated any help I can get.
Many thanks, Bill.
Answer 1 - I have made a custom button image and wanted to replace the default button with my own. Is that possible, and if so, what is the best way of going about that?
Yes. You can change default image to your own custom image.
Put address that saved your image like this pattern "#[package:]drawable/drawable_resource" to android:src= in <ImageView>.
<ImageView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:src="#drawable/myimage" />
Then you should declare your location button, event, method.
If you need more specific information, refer to this Google map for android my location custom button.
In addition, if you need information about custom control, refer to this.
Answer 2 - I require my App to conduct a search upon opening using Taxis as the search criteria, is this also possible?
When you calculate directions, you may specify the transportation mode to use. By default, directions are calculated as driving directions. Refer to this Travel Modes.
You can access additional information for the VehicleType objects as described below.
<VehicleType.SHARE_TAXI>: Share taxi is a kind of bus with the ability to drop off and pick up passengers anywhere on its route.
If you need more specific, Refer to this How to specify “VehicleType”.
Sorry for the delay in getting back to you. Those are great answers and will help a lot.
Now to have fun creating this thing (or at least attempting!).
Thanks again and take care, Billy.

Tracking vehicle app by given GPS coordinates

I am really new for android development and first of all I want to be sure if the approach explained below is possible or not. I have a longitude and attitude data coming from GPS and I want to display an arrow symbol on a Google Map android application. Is it possible? In addition to this, I want to draw line for indicating the road the vehicle passed that I track by GPS. Is there such a kind of implementation samples? I have a look at many videos and Web sites but have not found such a sample exactly performing these requirements. Could you please clarify me regarding to this issue?
Yes possible...see these links..
https://developers.google.com/maps/documentation/android-api/
https://developers.google.com/maps/documentation/android-api/code-samples
https://developers.google.com/android/reference/com/google/android/gms/location/FusedLocationProviderApi
https://developers.google.com/android/reference/com/google/android/gms/maps/MapView
https://github.com/googlemaps/android-maps-utils
https://github.com/googlemaps/android-samples
https://www.pubnub.com/blog/2015-05-12-broadcasting-realtime-location-data-for-android-live-updating-map/
Happy coding!!

Android: Determining the type of the present location using the co-ordinates and address

Sorry if I am unclear as I did not know a better way to put my thoughts. I am working on an android application and I need to find out what kind of place the present location is. Such as is it a school, hospital, bar etc. Is there any way to achieve this? I am able to find the co-ordinates as well as the address of the location but I do not know if there is some easy way to do this.

Creating my maps in android application

Hey guys i am looking for an application that can navigate inside a mall.We can adopt the idea of inputting our current location through a QR code or by taking a snap of any near landmark(like shop,name boards..),Then we can input where we want go?But the actual problem is How to build a map of the indoor?Can u suggest any such tool to create a map for android phones.Because after creating the map by programming the gyroscope sensor in android for proper routing,because application now knows the source and destination,so i think it can display the shortest route(like GPS),then we can start walking through that path with our phone.Whenever we violates route using gyroscope we can track it.I think it is possible,if we turn left instead of taking right then app will direct us it is a wrong way.But i need help to create the map.Can anyone please suggest any idea?
my email:anishubais#gmail.com
please----
I might be wrong, but I think that going off of GPS would be inaccurate. If I remember right, GPS is only accurate up to 10 meters or something like that.
Like I said, I might be horribly wrong, I'm just going off of what I remember

Categories

Resources