First I am not advanced programmer so be charitable ;) I need to create project which display on the map runner's way (in real time). Runner has android application (I've already create) which send latitude and longtitude. There's should be any API which checking new geolocation and another which displaying it on the map, am I right ?
I need to do this is ASP .NET, so any directions, links and tutorials will be very helpful.
Thanks 4 help
If I understand you right, you already have the android application and now you need the server side in Asp.Net?
First you can have a look at the Asp.Net WebApi. Then you can create an API where you send the latitude and longitude from your Android application.
ASP.Net WebAPI
After you have inserted the data into your database you have to fetch the data and visualize it in a map like Google Maps.
Google Maps Javascript API Examples
Here I found a ASP.Net Google Maps tutorial (but I don't tried it myself):
ASP.Net Google Maps Tutorial
Related
I have a project, angularjs webapp (backend java and spring boot) and uses google map too, there is an android app that sends alerts to this webapp and those show location on the webapp’s map. However when I implement spring security it would secure the webapp and REST api, but will prevent the alerts from android showing on the map (can not find resource)….
I want an easy simple way to secure the app without stopping the REST API services, yes I want to secure my API but still want to be able to show the alerts sent from android device, also still accepts new registration from android users....(android users cant access webapp they only register to use android app and will be added to database..they will need to be able to post their info...)
I tried oauth2 using google sing in, but I must be missing something as it wont load,..If you think this is the right approach please confirm...I will further look into it...Or direct me to tutorial or give me any suggestions...
P.S I am using bluemix platform as a service at the moment and CLearDB database service from bluemix
I am a student and all this is new to me...Thanks
I'm currently getting nearby businesses according to a radius around a given position as well as the type of business using the Google WebApp, as shown here: https://developers.google.com/places/web-service/
However, I noticed this on Google documentation :
The Google Places API Web Service is for use in server applications. If you're building a client-side application, take a look at the Google Places API for Android and the Places Library in the Google Maps JavaScript API.
So, I tried to find an equivalent method using only the Android Api, without result. I know my question is a bit borderline, but what should I use in Android? Or is it okay to keep going with the Web Service?
Thank you,
Q
You can actually integrate Web service with Android. Here is a code sample that could help you do this.
The concept of Android web service is that you can store the response from the web service request in a json file then you can manipulate the file programmatically then use the data into your android application, but not restricted to it.
The Sample and Demo u refer as WebService is an Example of Google Places API [Nearby Search Requests]. That one way using the Places API u can search for Places.
Don't get confused Google Places API Web Service is a service that returns information about places and using the APIs u can access the Places data. Well here is the link that will help u to understand it better.
I am working on an android side project where I have set up my website on google Cloud platform, I am also using Google App engine and setup my database on Google Datastore.
My website consists of a map where I can create fences and send the coordinates of the fences to the app. I have maps activity on my android app and I am trying to figure out how to send the GPS location / coordinates of the mobile to the server every few mins.
So that the I can be able to see the location of the mobile on my website map. It is basically how to track a user. Can anyone please let me know if there is a way to do this? Thanks.
You have two options here that are independent of the underlying architecture you are using currently:
Polling
Sending Broadcast
In the first strategy the server (Google App Engine) shall poll the mobile devices at specific time interval. You can find the code for that easily online in the choice of your language. This would fetch the location of the mobile devices which you can store in the datastore and display on the map of your website.
In the second strategy you can put the sendBroadcast() code/method in your android code. This would enable the device to send the location to the server and you can store them in the datastore and display them on the map.
Hope this Helps!!
I have develop an Android app, this app through a Apache Client send latitude and longitude to a web service. In the moment I receive the coordinates, I store the data received on a database. I show this data later on Google Maps with markers.
Rigth now my idea will be to improve my App, but I don´t have seen yet clearly the way. The main idea will be store the track data on mobile device and send to the server when I stop app. (The idea is "save" the track data with My Tracks app, and send to my server, I wanna show the tracks on Google Maps)
Doubts:
How to store data, KML, KMZ? Any other better choice?
Is a good idea to save KML or KMZ on database? or it´ll be better choice use Fusion Tables?
Thanks in advance, any suggestion will be really appreciatted.
I recommend you store the latitude and longitude in the DB of your choice, and then use the google maps api to set up your markers.
Placing your markers with the google api is really easy:
https://developers.google.com/maps/
You can even create flightplans, and add markers for specific position reports.
Just save to database, and then with the server side of your choice, create the js with the proper latlng coordinates.
http://www.instamapper.com/android
I am planning to dive into android dev and i have a pretty good java and web-dev background.
i was planning to develop an InstaMapper type of application and i need to know the challenges in so basically the things involved in gps tracking and displaying the information on web page..
In simple words,
You need a web service.
You need an android app.
Your app will collect the (Latitude,Longitude) pair from your GPS receiver and sends it to your web app.
Your web app will get this values and store them in a database.
To display the path from (Lat,Long) pair, you need to implement Google Maps API inside your web pages. (Google Maps API: http://code.google.com/apis/maps/)