After a few requests, I’m creating a new version my SOTALogger App to work on Android Tablets using Spotlite instead of SMS. When I send comments from the app to the spotlite page, any spaces in the comments field are replaced by “%20”. Is there any way to have the spotlite page turn these back into spaces before sending the spot to SOTAWatch?
I suppose the alternative would be to have my app replace all spaces with some other character that Spotlite would pass unchanged.
Maybe I’m not understanding your solution. Whether I send the data to Spotlite with spaces, or with the url encoding, the result is the same; see my previous post.
Try copying and pasting both url’s into your internet browser to see what I mean. If you hit the post button with the “%20” in the comments field, they are passed to the spot as if you typed them in there.
Here is the test spot from the SOTAWatch page:
Thu 01:01 W5SMD/P on W5O/OU-013 -  146.00 cw
*Testing%20SOTA%20Logger.%20Not%20a%20real%20spot. (Posted by W5SMD)
The only other thing that I could think of with regards to the solution you presented is that there is a different url for directly posting a spot to spotlite without using the input screen. Is that the case?
I’ve recently been working with a python mail forwarding bridge to sotalite using python.
I used Firebug to observer how a normal POST from sotalite works. The following urllib2.request(url,data) works and does the right thing in sotalite. Your lanquage may vary: