InterceptRadio.com Forums http://www.interceptradio.com/bbs/ |
|
Use database data for an Android app http://www.interceptradio.com/bbs/viewtopic.php?f=20&t=7798 |
Page 1 of 1 |
Author: | kb8pez [ Wed Oct 15, 2014 12:11 pm ] |
Post subject: | Use database data for an Android app |
Hello all, I am new around here. My name is Terry and I am an Android Developer and HAM. I would like to make a free android app that can use your geo location to find frequencies around you and also allow for searching directly. After playing with the intercept radio site, it has proven to be one the best resources available. My question is this, is there a developer API or a way to make queries and get back json responses from the database? Is this something that the site admins would be into? I am not looking to make any money or anything, I just want to build a useful app. I would even be willing to fully brand the app with the Intercept radio logo and copyrights. Thanks! Terry May @kb8pez Detroit Labs |
Author: | Rich [ Wed Oct 15, 2014 6:08 pm ] |
Post subject: | Re: Use database data for an Android app |
I certainly could write an API, but it would probably be a simpler solution to look at the HTTP_USER_AGENT and display a search page formatted for a mobile browser. Same end result and a lot less code to write on both ends. p.s. You might want to renew your ham license, apparently it expired about 11 years ago. |
Author: | kb8pez [ Wed Oct 15, 2014 7:01 pm ] |
Post subject: | Re: Use database data for an Android app |
My license is valid, I just got it back as a vanity call. I have a current printed license with it and everything. I recently passed the general exam an got the call kd8zkl and then immediately applied and got my old call as a vanity. A mobile html site would work but I am a mobile app developer looking a project. I can reverse engineer the search requests the with the chrome inspector and then scrape the results out of the returned html table or possibly use the plain text output if the formatting is consistent enough. I just thought it would be polite if I asked first :) Terry |
Author: | Rich [ Thu Oct 16, 2014 6:15 am ] |
Post subject: | Re: Use database data for an Android app |
kb8pez wrote: My license is valid, I just got it back as a vanity call. I have a current printed license with it and everything. I recently passed the general exam an got the call kd8zkl and then immediately applied and got my old call as a vanity. A mobile html site would work but I am a mobile app developer looking a project. I can reverse engineer the search requests the with the chrome inspector and then scrape the results out of the returned html table or possibly use the plain text output if the formatting is consistent enough. I just thought it would be polite if I asked first :) Terry You have a good idea there with scraping the output. The plain text output uses a fixed width font with padded spacing rather than tabs to accomplish columnized formatting. It would be easier to parse the PSV (pipe separated values) output option as it doesn't have the padded spaces. The formatting is consistent. Our pages are designed to be lightweight and don't include a bunch of hidden junk like other sites so it should be fairly easy to scrape. |
Author: | kb8pez [ Thu Oct 16, 2014 6:56 am ] |
Post subject: | Re: Use database data for an Android app |
Yep, PSV is certainly the way to go. Thanks, I'll post links to my efforts here in the future. |
Page 1 of 1 | All times are UTC - 8 hours |
Copyright © 2013 Interceptradio.com |