Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Tutorials
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Tutorials Basic4ppc tutorials

working with google

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2011, 09:08 AM
Junior Member
 
Join Date: Jan 2011
Location: Germany
Posts: 29
Send a message via MSN to kustg
Default working with google

I played around a few weeks before with google apis, so i would like to share my small knowledge.
For testing you can copy the url's in your webbrowser.

First of all search in google for „google api“. Very usefull is static maps. With this function you can download a map specialisied by gps-coord or by address.


We can go further with „Directions“. This api provides a simple routing-planner. The request contains two adresses/gps-coord and google responses with an xml/jason -file.
If you like, someone can combine it with the flite-library, so the commands are spoken.

Eg:
http://maps.google.com/maps/api/dire...e&sensor=false

Sometime you need to know an adress, specialized by gps. So ask the geocoding- api (not offical documented). This api can change an adress into coordinats and vice versa.

Eg http://maps.google.com/maps/api/geoc...0&sensor=false
and vice versa:
http://maps.google.com/maps/api/geoc...m&sensor=false

google sends a xml/jason file.



And last but not least google weather( not offical documented): google answers on your request a xml/json file. The request can be made by adress or coordinates, but be carefull, they are multitplicated with 1000000.
http://www.google.com/ig/api?weather...*1000000&hl=de
eg:
http://www.google.com/ig/api?weather...,9948435&hl=de

hl means homelanguage, default is english. You can also use an adress instead of coord.
http://www.google.com/ig/api?weather...-Germany&hl=de

the weather icons can be downloaded. The url is in the file. <icondata=...>
eg:
http://www.google.com/ig/images/weat...stly_sunny.gif

Last edited by kustg : 08-22-2011 at 09:10 AM. Reason: urls are incomplete copied
Reply With Quote
  #2 (permalink)  
Old 08-23-2011, 05:47 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Thank you for sharing this.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google +1 Erel Basic4android Updates and Questions 15 07-31-2011 04:30 PM
Use google map software ? jnbarban Basic4android Updates and Questions 2 06-22-2011 07:35 PM
Get google name NetStorm Basic4android Updates and Questions 0 05-01-2011 10:03 PM
b4a and google api Cor Basic4android Updates and Questions 1 01-19-2011 05:46 AM
Google Maps trckashyap Questions (Windows Mobile) 0 10-31-2008 06:34 AM


All times are GMT. The time now is 01:29 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0