VirginMobileMinutesChecker
VirginMobileMinutesChecker copied to clipboard
Updated Virgin Mobile URL (complete fix now)
I updated the virgin mobile URL. It required the ww2 instead of ww1. (This is also true if logging in via a web broswer).
While running in the emulator it was not able to correctly pull the
charge date nor did it show the black line in the pie graph. I don't
know if this was somethign with my emulator, or something that will need
fixed. (see update below)
After testing it, if the app still has the problems mentioned I may work on fixing that as part of a class project. I'll have to wait and see though.
i can confirm that the updated url does work at least better than the previous url though it looks like it fails to pull the charged on date. regardless, this change should be accepted and put onto the play store.
When changing the scraper to "You will be charged on" instead of date due, it returns Mo/M/04.
I messed around with the scraper code and told it to import the date from a different location in the page, which returns (displays on screen) Mon Mar 04 00:00:00 CST 2013 . For some reason the page is either not returning the date in the style as shows in the desktop version of the HTML, or the program is converting it. I guess I'll have to keep reading to figure it out.
If I hard code the proper date into the return, it shows the pie chart properly, so at least that works.
See the pull request by @graboszczak for a partial fix (my partial update). https://github.com/poundifdef/VirginMobileMinutesChecker/pull/37
Then I made a small edit to the websiteScraper to match the referenceScraper. It fully works now! Please update it in the play store.