My idea of android application is :
This application would be activated by a calendar
entry, showing that the phone user has an appointment
somewhere (i.e. meeting friends in a town 2 hours away).
The application would track the phones position and register that
the user is on his way to the appointment (by checking if the
user is following the route of Google maps to the destination).
The phone would keep a status of whether the phone owner
will arrive on time or be late
I am quite good at webdesign, but on android platform I am just a rookie
any expert good at android please suggest me good place to start with,
my biggest doubt is
Can i use google maps API to compare mock locations i use in simulator to locations and landmarks in google maps from source point to destination point?
I await some thing useful for me to start my work...
Take a look at glympse.com - they do this almost all of this already. It's also against the T&C of google maps to do routing, so I would very carefully read them and determine if your idea defies the T&C.
Related
How do apps such as
https://play.google.com/store/apps/details?id=com.headupnav.demo
get turn and destination info?
I want the user to use google maps app, and for my app to run in the background but know distance to the next turn, and where the final destination is.
Others do it, but I cannot understand how they are using the api (or which one)
https://developers.google.com/maps/documentation/api-picker
to accomplish the same task?
Please Advise
As far as Google Direction API goes, it is a breach of privacy policies to develop these sort of apps.
As per the documentation goes:
No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; or (b) automatic or autonomous vehicle control.
Also Google does not provide any sort of open source API for developers to build turn by turn navigation. The app developers might have designed there own navigation system which is not coming out well as far as the reviews goes.
I have run into a Problem.
Basically, google web services allows a maximum amount of 1000 requests per day unless you verify your credit card (which I as a student, don't have).
I am building an android application which will help you find food near you and give you tips and whatnot. But heres the problem. I have reached the daily cap multiple times just due to testing the app & debugging it... And that is a serious issue...
I know how SQLite databases & so on work, and how to use them, but is that the way one would go when using google places web services? Is that even allowed?
Here is the basic process of what is happening:
Open App & Get the users location
Search and Mark nearby food sources (restaurants & whatnot)
This is done via getting a HTTP request with "Place Search"
Place search itself deliveres little information, not enough, so I get a "Detail Search" for every place it finds.
All the results (Max. 60) are marked on the map and saved in a DataHolder class storing all the DataModel classes.
this works fine and as intended, also if I close and restart the app, it will "work". But it will redownload all the data and the details. As you can imagine, this busts my 1000 request limit pretty damm fast.
So is there a common practice/structure on how developers persist this "Google API" data? I feel the way im doing it very inefficient both for me and the user...
Thanks.
If you are developing a web based application that only needs to search for places, and does not submit new places, you should use the Places Library of the Google Maps Javascript API rather than the Google Places API Web Service. The Places library assigns a quota to each end user rather than to each key. This means that your available quota increases with your user base rather than being capped at a fixed amount.
You can use Places API for Javascript https://developers.google.com/maps/documentation/javascript/places
It has all features of server version. You could try to use it with invisible WebView, or better with Rhino.
I would like to find an API that allows me to pull a client's current location. I know Google Places and FourSquare have API's available. Basically, I want it to run at all times, as I am eventually going to create a dating app that allows you to see who is at a current bar/restaurant/social setting at any given time.
The fetch for the current location will obviously have to be running at all times, and there are considerations of using too many client resources. With that being said, what are some of my options?
Yes, you can use the Google Places API for this: PlaceDetectionApi.getCurrentPlace(). See https://developers.google.com/places/android-api/current-place (and the Getting Started guide).
Can someone give a suggestion on how I can accomplish this? Basically my company would like to track all of its drivers route last location without having to store it. What I means is as follow.
driver A suppose to deliver 5 items to 5 different locations. So I have android mapped the driving route and off he/she goes. Location 4 called and said, its address has changed and would like someone to reroute the package to new location. So main dispatch, will need to check where Driver A is, so that he/she can be contacted and given the information.
I want the dispatch to be able to see driver A route and last location like this.
How can I accomplish this task without requiring Driver A android device to continuously broadcasting its last location and our server having to store all the devices information in our server. Basically I'd like to be able to find the last location of Driver A on demand and initiated by our server.
Hope I have explained what I wanted clearly. Please advise?
You can try the Google Cloud Messaging (GCM) or android-push-notifications.
What we decided to do at the end is, to store the historical location directly in our server every 5 minutes and write a code in the app to massage the information according to what we need. A reverse of what we didn't want to do before but we find no other way to accomplish what we want via google directly. Unless I'm mistaken. I'm open to comment. Many thanks.
The Google map component (com.google.android.gms.maps.GoogleMap) allows one to render custom tiles (OpenStreetMap or other). These tiles can be on the device and available offline which is what I am doing by extending TileProvider. Doing this in conjunction with a:
mMap.setMapType(GoogleMap.MAP_TYPE_NONE);
I am not pulling any data from Google map servers and the component can reasonably be expected to work without an internet connection.
(I emphasize here that I am not trying to cache Google's data; I am working with offline tiles independently of Google's map servers.)
I thought everything was fine until I realized that the map component won't work if, when it is executed for the first time, the device is offline. In such cases I get a message:
failed to load map. could not contact google servers
I imagine the reason behind this is Google's API keys which require my app to authenticate in order for the component to be allowed to execute.
Can anyone confirm this is correct? What I would really like to be sure of is that provided that the component is executed once online, it will run ok afterwards. I must make sure that there are no time-out issues which would require the component to re-authenticate later on and which would basically make my app useless. That would require that I move on to some other component (such as OS Android).
Any light on this would be greatly appreciated. Even being pointed to the channel through which I could hope to get a reply from the google developers would be useful.
Thanks
As of 3.0.27 of Google Play Services APK it is fixed and the server is required to be contacted just once. You will see error in the logcat every time, but it will work.
More info here:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=4817
and here:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=5017