Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Need to get a GPS string from my Java applet

Posted on 2010-09-22
2
540 Views
Last Modified: 2012-05-10
I have a Java applet which gets the GPS data from a Boost phone, then fills a SOAP envelope and passes it to my ASP.NET 2.0 web service.  but I am looking for a solution that allows me to do away with the SOAP web service.  I'm having trouble hosting the service, getting the SQL Server database running and the NHIbernate working again.

Please tell me if this will work.

I modify the Java applet to package the data in one long string, perhaps 100 characters, for example:
42.245245XXX72.7575757XXX128XX354XX11-32-2010XX13:954:30

Can I send that string as a parameter to a website I have yet to write?

The Java applet could issue a call over HTTP such as:
http://12.32.143.43/42.245245XXX72.7575757XXX128XX354XX11-32-2010XX13:954:30

It's just a string.  What's the format for an optional parameter?

Anyway, you get the point.  I would send it to my simple website which will parse it and write it to a database or file.

Will that work?  If not, why not?  And what technology might allow me to do this?

Thanks,
newbieweb



0
Comment
Question by:newbieweb
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 33740360
you don't need soap at all, just implement a simple asp.net page like: http://12.32.143.43/ReceiveGPS.asp

Then you can invoke it like http://12.32.143.43/ReceiveGPS.asp?read=42.245245XXX72.7575757XXX128XX354XX11-32-2010XX13:954:30

inside ReceiveGPS.asp, you can get the reading with something like:

System.Uri url = Request.UrlReferrer;
String query = url.Query;

have a look to 'query', it should contain: "read=42.245245XXX72.7575757XXX128XX354XX11-32-2010XX13:954:30"
0
 

Author Closing Comment

by:newbieweb
ID: 33740372
Sounds like cake.  Thanks.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is designed to assist GIS (Geographic Information System) and GPS (Global Positioning System) developers using ESRI ArcGIS and other spatial information management systems.   For the uninitiated the concept of projectio…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question