I want to create an application in blackberry that shows Traffic data or live traffic on map from a location......
i searched a lot but did not find any help regarding to this developement..... :(
can anybody help me or guide me to go forward......
Thanx in advance!!!
To begin with you need to break your question down into parts. Then ask for help on each of those parts/tasks. So let me take a quick stab at break this down...
You'll need to get the current geo location.
(java)
http://www.riccomini.name/Topics/Mobile/BlackBerry/BlackBerryStormGPS/
(WebWorks)
http://docs.blackberry.com/en/developers/deliverables/11849/blackberry_location_568404_11.jsp
You'll need some kinda of mapping API to get/create maps:
(Java app)
Either Google Maps :
http://www.blackberryforums.com/developer-forum/143263-heres-how-start-google-maps-landmark.html
OR RIM's Map API (
http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/lbs/maps/package-summary.html
:
http://docs.blackberry.com/en/developers/deliverables/17954/Creating_a_static_image_of_a_map_1205333_11.jsp
)
(WebWorks) -- Just Google for "JavaScript and Google Map API" -- Also, there are a couple of good books out there.
You'll need to be able to overlay/pull the traffic information ( If your using the Google Map API, then you could use a Google map overlay for traffic: http://code.google.com/apis/maps/documentation/javascript/v2/services.html#Traffic_Overlays )
After looking at this I would suggest you build this using the WebWorks SDK (aka blackberry widget app). I think it would be the simplest solution to integrating with Google's MAP APIs. And using WebWorks SDK would also allow your app to run on the Playbook.
Related
Currently was playing around with a robotic process application called Blue Prism and learned you can drop a URL link to a WSDL location to consume api calls. I tested using a free service and it worked great.
My question is in regards to Google Sheets API, a project has come up where this would be very usefull however I'm not able to locate or if one even exists (A WSDL or WADL) for the google sheets api.
If anyone could give me any direction on this that would be fantastic.
Google docs can be automated using REST web services. You can find more information about google docs api at google sheets API page.
BluePrism has an out-of-box tools to work with SOAP request with WSDL, but unfortunately it does not have out-of-box support for REST web services.
If you'd like to use API to interact with google docs, then you can do that, but you'll have to create your own code stages to do that.
Is it possible to open map file at local computer (offline) using google map API? If yes, How?
I have programed an application in delphi. It shows the company cars on the map. but now we need the map to be offline. I have *.map file and may be I can find other map file from internet. I have not a point where to start at all. What do I have to do? tnx.
The google maps works by transferring data asynchronously from Google's servers to a user's computer. So if you are offline there's no way to communicate with Google's servers and retrieve such info. Even if you accomplish store the cached google maps and display offline you must follow the Google Maps API Terms of Service.
(b) No Pre-Fetching, Caching, or Storage of Content. You must not
pre-fetch, cache, or store any Content, except that you may store: (i)
limited amounts of Content for the purpose of improving the
performance of your Maps API Implementation if you do so temporarily,
securely, and in a manner that does not permit use of the Content
outside of the Service; and (ii) any content identifier or key that
the Maps APIs Documentation specifically permits you to store. For
example, you must not use the Content to create an independent
database of "places" or other local listings information.
As alternative you can use the Google Static Maps API V2 service you can retrieve a image, which can be saved to a file, basically you need build a URI like so
http://maps.google.com/maps/api/staticmap?center=40.714728,-73.998672&zoom=12&size=400x400&sensor=false
And the using a GET you save the response in a file, check this article for a delphi sample Using Google maps (Static Maps) without TWebBrowser
Google maps API interact with google servers, online. There is no way to use maps API's. If its a web interface you can try looking at HTML5 projects which have ported maps offline with co-ordinate resolution.
Here is your FAQ related to storing google maps data offline
What I suggested about HTML5 projects, you can take a look at this.
This combined with offline html5 offline data caching should be a good solution for your problem.
I would like to know if someone has got documentation about the Google Maps API, I'm only looking for the traffic live information I would like to implement it on my iOS application.
Does such an API exist?
I don't think Google offers a standlone traffic API as of now. However there are a couple options.
Render the Google Maps element in a WebView and use the Google JavaScript API to enable the traffic layer. The downside of this approach is that the UX likely wont be as nice as native programming. The upside is less coding.
http://code.google.com/apis/maps/documentation/javascript/
http://code.google.com/apis/maps/documentation/javascript/reference.html#TrafficLayer
Call another traffic provider's REST API and overlay on top of the native iOS map component. This overlay is pretty straightforward through code if you get a KML response. The two I know of are MapQuest (yes, they are still around!) and Yahoo (though their API is in transition now).
http://www.mapquestapi.com/traffic/
http://developer.yahoo.com/traffic/rest/V1/index.html
I'd like to use the Google geolocation API in my app, written in Python. My problem is that Google provides a JSON interface (easily useable from Python) but from http://code.google.com/p/gears/wiki/GeolocationAPI I see that the API "is published to allow developers to provide their own network location server for use through the Gears API. Google's network location server is only to be used through the Gears API. See section 5.3 of the Gears Terms of Service at [address]."
It is a very strange thing: there is a very cool JSON but I cannot use it. I have to use it through Google Gears instead. But how can I do it from a Python app?
For example, I see that the geolocation service provided by Firefox calls directly the JSON API. Why is FF able to do that?
Thanks,
Alessio Palmero Aprosio
Google has deprecated Gears entirely, as the geolocation feature is now standard in modern browsers (for certain values of "standard").
The pylocation module may provide the information you need. It can output the geolocation data in text, json, or xml.
I'd like to develop a Ruby on Rails app, specially with a mobile web interface, It's a really simple Google Maps powered app, where the user will go in and get directions for a given Place inside a Complex.
Can anyone point me in the right direction? Regarding tools and what tips/tricks I should keep in mind?
I also have a doubts regarding how to determine the user location from a mobile device. How is this accomplish?
I would start with reading Google's API code here:
http://code.google.com/apis/maps/documentation/javascript/basics.html
Specifically the sections on Geolocation and Developing for mobile devices.
From what I've seen, the rails Google Map API plugins and gems are either outdated (they use v2 of the API), or they limit what you can do with them.
I came to the conclusion I was better off digging into the Google API directly and using jQuery to make the AJAX calls to my rails app. Start with a bare bones rails app and implement some of the samples Google provides so you can play around with the interaction with rails.
There is an Apress book "Google Maps Applications with Rails and Ajax", but it's outdated because the API has changed drastically between v2 and v3. But you can still use it as a starting point. You just have to make your own conversions from v2 to v3 in the samples.
You can get location information from the browser using the HTML5 geolocation API.
The best library I have found that supports this cross-browser is: http://code.google.com/p/geo-location-javascript/
The google maps v3 API is very easy to use, so just go start playing with that: http://code.google.com/apis/maps/documentation/javascript/