Widget to check provider for Mins, Texts and network Data


Last Updated:

  1. Dheano

    Dheano Member This Topic's Starter

    Joined:
    Oct 23, 2009
    Messages:
    20
    Likes Received:
    3
    I'm looking into the possibility of creating an Application that can see how many Texts, Minutes and MB on your network data is left for the month.

    I'm on O2, and if I text the word 'Balance' to '20202', O2 send me a text telling me what my allowance is.

    I'm sure you could create a widget that when clicked, sends that text, then reads the text back and pops-up just like your balance does when you've sent a text or had a phone call.

    I was also thinking, it could delete both threads inside 'Messaging' after it receives the text back, so your last text can show up as your wife, best friend or whoever you've been texting and won't clog up 'Messaging' with threads.

    I've looked around and I've asked Martin Adamek (creator of APNdroid) if he could help and also Diogo Juni
     

    Advertisement
  2. tytdfn

    tytdfn Member

    Joined:
    Jul 6, 2010
    Messages:
    20
    Likes Received:
    0
    What provider is o2?
     
  3. Dheano

    Dheano Member This Topic's Starter

    Joined:
    Oct 23, 2009
    Messages:
    20
    Likes Received:
    3
    uhm, O2 is its own provider, in the UK...
     
  4. tytdfn

    tytdfn Member

    Joined:
    Jul 6, 2010
    Messages:
    20
    Likes Received:
    0
    Ok im a super newb at developing but im gonna give this a try. I skimmed the sms section of the api and it doesnt look too difficult. dont hold your breath though. can you tell me which phone you have and which os?
     
  5. nickf77

    nickf77 Well-Known Member

    Joined:
    Jul 16, 2010
    Messages:
    47
    Likes Received:
    3
    This would differ by carrier though. For Verizon Wireless you call #3282 (#DATA) and then they send you a text with the info.
     
  6. Dheano

    Dheano Member This Topic's Starter

    Joined:
    Oct 23, 2009
    Messages:
    20
    Likes Received:
    3
    nickf77: Yeah, but you could include settings - it could read your providor and have the number built in, so it would save the user setting up. At first, I would use O2 as a BETA.

    I'm running 2.2 on HTC Dream/G1(CyanogenMod 6.0.0 RC1), but I would like this to work from 1.5 up, to include all of the android market.

    I would of course do much testing on my phone too, even if it means downgrading to 1.5, 1.6, 2.1 and my current 2.2.

    tytdfn: Sounds fun, I would like to be of service, why not add me on Windows Live Messenger HERE :)
     
  7. mpw

    mpw Well-Known Member

    Joined:
    Jan 1, 2010
    Messages:
    1,143
    Likes Received:
    130
    Good idea. Kind of a shame the network providers aren't producing these sorts of apps.
     
  8. cp1

    cp1 Well-Known Member

    Joined:
    Apr 30, 2010
    Messages:
    375
    Likes Received:
    35
    The personal assistant app will check your verizon account and report this info, but it's not a widget.
     
  9. Dheano

    Dheano Member This Topic's Starter

    Joined:
    Oct 23, 2009
    Messages:
    20
    Likes Received:
    3
    I started making the application in Eclipse today, went horribly wrong. I cant code in XML or anything so this will be difficult, I'm used to handling CSS, HTML and some JS and PHP but none of this!!

    I would contact the likes of O2, Orange, T-Mobile, but it would be better if you could have ONE APP to cover them all.
     
  10. tytdfn

    tytdfn Member

    Joined:
    Jul 6, 2010
    Messages:
    20
    Likes Received:
    0
    Ughh i hate everything M$(cept xp) so wanna just add me on google wave? or just tell me ur google email and ill add u on my contacts and we can chat through the igoogle home page and through the gmail also and throught our phones too

    Edit: Found out how to recieve sms's. That was my roadblock yesterday and i gave up. Turns out the api is moderately disorganized like people said before. Now I'm looking at a website thats a crash course into building widgets.
     
  11. Dheano

    Dheano Member This Topic's Starter

    Joined:
    Oct 23, 2009
    Messages:
    20
    Likes Received:
    3
    Building widgets is easy. Only downside is that getting them to work is slightly tricky...

    And sure, I'll PM you my Gmail :)
     
  12. Dheano

    Dheano Member This Topic's Starter

    Joined:
    Oct 23, 2009
    Messages:
    20
    Likes Received:
    3
    At last!

    As it stands, my application, when clicked, sends a text to the number. I also receive the text. I am currently looking into the UI containing the received SMS.

    So far so good!

    No force closes or anything - API is set for Cupcake (1.5) and I have tested on 1.6 Emulator and my HTC Dream on 2.2 (CyanogenMod - FroYo).
     

Share This Page

Loading...