This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Passing values and retrieving the results

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

I am working on a small application that it is suppose to send a zip code and a text to a website, retrieve the resultsand display it in the android application.

I have read about web services and how to retrieve information. I played around with the RSS mobile application and got it working but what I can't figure out if how to send the zip code to a webpage and activate the search button on the page.

Any advice would be appreciated,

Richard.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do you have any sample code?
 
Richard Innamorato
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,

I do not have a sample of the code. However, I have designed the interface that I will be using. Here is the Android interface I will be using and part of the webpage I need to access from the application. The webpage has a field to enter a county, city, or zip code but from the app I will be supplying only the zip code. Also, on the webpage you can see the different options the user can click on after the zip code so a search can be completed.

Once the search is completed, I need to retrieve this information from the webpage and display it on the cell phone on a new activity. I have been working on learning android on my own and I have practice with the RSS feeds but nothing on how I can send the zip code and select an option from the app and how to retrieve the information.

Any help or comments are appreciated,

Richard.
serpro-Interface.JPG
[Thumbnail for serpro-Interface.JPG]
webpage.JPG
[Thumbnail for webpage.JPG]
 
They weren't very bright, but they were very, very big. Ad contrast:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic