I am very new with Android and i'm trying to get traffic feed from yandex's map service. All i need is getting live feed for Istanbul's general traffic situation as it shown it the map "İstanbul Trafik Durumu 3. derece 12.27 Yer yer yoğun, akıcı trafik".
I don't need to display map or something else. I read the documentation but didn't found something clear for that. Can you give me some advice on it? Or can you recommend another service to accomplish this task?
Seems like i have to answer my own question :s :D
A friend of mine sent an e-mail to Yandex about this issue and reply was:
(Translated from Turkish to English)
Hi!
Thank you for your interest Yandex Map Kit APIs haven't brought to
Turkey (http://api.yandex.ru/mapkit/)
But you can check our GitHub profile for our softwares which may
assist you on iOS and Android development. (
https://github.com/yandexmobile/ )
Related
I would like to open this directly from my program, is it possbile?
I checked this, but cannot found relevant information
https://developers.google.com/maps/documentation/android-api/intents
If it is impossible, is there any alternative way?
You can't do that from your activity.
In the image above you can see a dialog that catches the voice of the user, this is because Google Maps calling an intent ACTION_RECOGNIZE_SPEECH, and you can't start an intent and after calling Maps.
Here is the only documentation that I found on the internet for that question. The Adding Voice Capabilities. Just remember that these voice actions are task-based and are built into the Wear platform. So you need to use Android wear for that, see Maps API on Android wear.
Just read the two documentation to understand more. Also take note, that do not violate any terms of service on the Google Maps. Here is one example question for that.
So far, I have not used this voice capablities, so I'm not sure if it will really help you, but I think I give you a small idea with it. Goodluck and Happy coding :)
I would like to create a navigation application, with mapquest sdk for android, that gives real time turn by turn directions using GPS after a route is created, like when you start a navigation on google maps on button press. Is it possible to implement the feature using just the mapquest sdk or would I require any other api.
Say if there was a possibility, then, is there a way to extract that guidance('turn left/right') cue and use it with in the program?
Yes, it is possible. I'm currently developing my Bachelor Thesis (a mobile navigation service) with the MapQuest API for Android. So as soon as I submitted it I can offer you the source code, too (will be in about a month). However, I can give you some help of course though.
Here is a nice tutorial from MapQuest of how to implement the route functionality. This is not a real time turn by turn guidance but gives you a first impression where to begin!
You can get all instructions from MapQuest here.
If you prefer another API to display the map this is not a problem as the guidance includes all shape points of the route. I chose the MapQuest API for this though as it is a bit easier to display the map for a first glance. However, I recommend you to draw the route yourself on the map though because the implemented method does not always work properly.
Hope I could help you with that and if you are willing to wait a month, I will post here the link to my GitHub repository with the source code.
Best,
Marius
EDIT:
So I submitted my work and can now give you access to my source code. You find my GitHub repository here.
I think the function getGuidance() in the NaviActivity will be a good starting point for your application. It calls the guidance information from MapQuest and converts the information into a JSONObject. The Route class then grabs the required information and sorts them in arrays.
I hope that this will help you with your application. For further questions do not hesitate to ask :)
Best,
Marius
I have been looking to implement a map in my website, and have really hit a brick wall - Have read so much, but am very confused. I just wonder if someone could offer a little help?
I have developed an Android App which generates a list of lat/long pairs and stores them in a remote MySQL DB. All I want to do is mark these points on a map, with a little pop up when clicked, indicating some other information about the user.
I have so far looked at Google Maps API and OpenStreetMap, although I really don't know where to begin! I don't know whether I should use Google Maps, as I'm concerned about the API query limit? Should I be?
Would really appreciate it if someone could point me in the right direction!
Thank you
Showing some markers and popups isn't really complicated with OpenStreetMap and OpenLayers:
simple OpenLayers marker example
dynamic markers from a database (example result)
Use google maps javascript v3 and make the required changes
Please refer
https://developers.google.com/maps/documentation/javascript/
The Google Maps API limit is something like 25k (or was it 250k?) per day - so unless the app you're making proves to be really popular, you won't have to worry about it
I'm a new Android Developer and I have been researching on this topic for over 2 weeks before resorting to asking this question on SO. A lot of the code I've found that does routing are all in KML which is not supported anymore.
I'd be most grateful if someone could provide me examples or working code to go about doing this and please note that I am a beginner android developer.
Thank you so much.
You can see my post here, it shows you how to get Directions from JSON instead of KML since it is not supported anymore.
i want to make an android application, which gets latest updates from wikipedia website and displays it on android home screen using home widget. You can assume it something like weather widget. But, i am unfortunately unable to get updates from wikipedia. I just saw your thread regarding wikipedia, but I am still stuck in my problem.
Can you please send me any sample code, in which something is being brought from wikipedia into my android application. I would be very grateful to you. Please help me, i really need it....
Thanks
Regards,
Wajahat Karim
Android Developer,
Research Assistant (RA),
SMART Machines And Robotics Technology (SMART) Research Lab,
NUST School of Electrical Engineering & Computer Sciences (SEECS),
Islamabad Pakistan
Email: karim_nust#yahoo.com
You can use the API, which lists the most recentchanges on Wikipedia:
http://en.wikipedia.org/w/api.php?action=query&list=recentchanges
Look at the base url for the help page:
http://en.wikipedia.org/w/api.php