poundifdef / VirginMobileMinutesChecker

Android app which allows Virgin Mobile US customers to view how many minutes are remaining, how much they owe on the account, and when payment is due

Home Page:https://market.android.com/details?id=com.jaygoel.virginminuteschecker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virgin Mobile update

opened this issue · comments

Virgin Mobile updated ,Minutes Checker not working!

I noticed it wasn't working as well. I pulled the project into Eclipse (Android ADT) this morning to look at the code. Unfortunately I couldn't get it to it to run. Looking back at the issue list I'm sure there's something I have to change with ant (which I know nothing about), but Google Ads was also giving me a problems when trying to launch/build it.

One thing I did notice though, and I don't know if this makes a difference or not, was that WebsiteScrapper.java uses the URL https://www1.virginmobileusa.com/login/login.do. When I log in via my browser it uses https://www2.virginmobileusa.com/myaccount/home.do The other info it scraps seems to be correctly set up.

I just started learning Android this semester and Java i've had one and half semesters of Java. (i'm a computer science minor) There's still a ton that I don't know, but I'm hoping this helps.

Update: Well, I was able to use ant to build and test it in an emulator. The new url didn't work, though I can't log into my account online now. when I try the second url that I posted it just says " Sorry, we are unable to log you in." and if try the first url it says " whoops, we are doing a system update and you can't see your account". Guess I'll have to try again later. (and it makes me think changing the url won't do much 😦 )

I got the app to work properly on the emulator.

Under WebsiteScraper I changed the url from "https://www1.virginmobileusa.com/login/login.do" to "https://www2.virginmobileusa.com/login/login.do" (The difference being the 1 and the 2 after www). For some reason it was not able to use https://www2.virginmobileusa.com/myaccount/home.do

I'll test it on my actual phone this afternoon (I didn't bring my cable with me to class). Since it is such a simple change I didn't bother to push it to a repository yet.

If someone could update the play store with the updated app, i'm sure it would be appreciated.

Hey, thanks for this! Go ahead and push it to your local repository and make a pull request. I'll test it, and if it works then I'll push it out (and then you can be part of the commit history.) I have been so busy lately with work, i've had trouble finding time to update this app. Cheers!

@poundifdef I think I did it right. I'm still new to the github thing.

@poundifdef The new working code has been submitted. It would be much appreciated if the changes could be accepted and published.
Thanks!