1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

google API with android

Discussion in 'Google API' started by endymion, Oct 17, 2010.

  1. #1
    is there any way to use google api with android?

    i am doing a project about listing local businesses based on user's current location in android application. is there any suggestion? how can i get the data from google?

    appreciate for the help.
     
    endymion, Oct 17, 2010 IP
  2. webbmaster

    webbmaster Well-Known Member

    Messages:
    491
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Google API's are provide with JavaScript. Android uses Webkit which support JavaScript. There is WebView you can use to add web content to your app,

    mWebView.loadUrl("javascript:wave()");

    That will call JavaScript function wave()
     
    webbmaster, Oct 18, 2010 IP
  3. endymion

    endymion Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for your quick and valuable reply.
    i want to know if i can make the content formatted and displayed in a list within my app.
    for example: if i want to open a news page(response with a XML or JSON file that i can read), i want the news display in my app in a list, not in a web browser.
    is this possible?

    thanks
     
    endymion, Oct 18, 2010 IP