Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. How to get mobile internet usage and balance from telecommunication companies

How to get mobile internet usage and balance from telecommunication companies

Scheduled Pinned Locked Moved Mobile
businessjsontutorial
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hoa_ngan_than
    wrote on last edited by
    #1

    Normally, in my country, mobile users have to text the wordy and complex codes to telcos when they want to know their internet usage and balance.

    I'm going to build up an application which allows users can check there information at anytime when they open the app on their mobile. I do not have any clue about the telcos having any API service for that or have to make the business deal with telecommunication companies.

    I did attempt to figure out the way but nothing has come up yet. Does any have any idea for that

    .

    A L D 3 Replies Last reply
    0
    • H hoa_ngan_than

      Normally, in my country, mobile users have to text the wordy and complex codes to telcos when they want to know their internet usage and balance.

      I'm going to build up an application which allows users can check there information at anytime when they open the app on their mobile. I do not have any clue about the telcos having any API service for that or have to make the business deal with telecommunication companies.

      I did attempt to figure out the way but nothing has come up yet. Does any have any idea for that

      .

      A Offline
      A Offline
      Afzaal Ahmad Zeeshan
      wrote on last edited by
      #2

      Then your application would be charged (or would use to send the requests to their server; unless they have an API) and I am not sure whether they would release such information to your application due to privacy and security concerns. So, I would leave this to "Do not do this". :) However a simple way around would be to store the metrics of usage in your application and provide a guess of it from that data. For example, you can ask the users for their data connection details and store each session data sharing. Then provide the users with total bytes being used (KBs or MBs) and user would know how much is left (or ask them to provide a remaining amount by subtracting the amount users from their total volumne). Calculating the balance remaining would take another shape. You should ask them for their total balance, amount charged for activities like SMS or calls. Then calculate the remaining balance. Note: This would not be the same data that network operator would have.

      The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

      H 1 Reply Last reply
      0
      • A Afzaal Ahmad Zeeshan

        Then your application would be charged (or would use to send the requests to their server; unless they have an API) and I am not sure whether they would release such information to your application due to privacy and security concerns. So, I would leave this to "Do not do this". :) However a simple way around would be to store the metrics of usage in your application and provide a guess of it from that data. For example, you can ask the users for their data connection details and store each session data sharing. Then provide the users with total bytes being used (KBs or MBs) and user would know how much is left (or ask them to provide a remaining amount by subtracting the amount users from their total volumne). Calculating the balance remaining would take another shape. You should ask them for their total balance, amount charged for activities like SMS or calls. Then calculate the remaining balance. Note: This would not be the same data that network operator would have.

        The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

        H Offline
        H Offline
        hoa_ngan_than
        wrote on last edited by
        #3

        Thanks Afzaal for your great support. I agree that it's not easy to make a deal with telcos because of charge and privacy; I also do not recognise any API service from those telcos. Your solution is good trick. However, I try to minimise the manipulation of users. just imagine when opening the app, all information has showed up already,it's such great handy. How do you think about following idea. Luckily, mobile users are freecharge of texting the checking message in my country. Firstly, when the app is opened; the requesting messages (by the forms of telcos' codes) + phone number id will be sent to telcos; then the data-usage information will be sent back to the app. The problem is how to let all data jumps into app, not show up in messenger. Is that possible to do ???? i'm stucking

        A 1 Reply Last reply
        0
        • H hoa_ngan_than

          Normally, in my country, mobile users have to text the wordy and complex codes to telcos when they want to know their internet usage and balance.

          I'm going to build up an application which allows users can check there information at anytime when they open the app on their mobile. I do not have any clue about the telcos having any API service for that or have to make the business deal with telecommunication companies.

          I did attempt to figure out the way but nothing has come up yet. Does any have any idea for that

          .

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Your app will need to do the same and send the specific message to the mobile system to get this data. That is unless you can find a short cut message that they will respond to. This is not a programming issue, but one of communication with the service providers.

          H 1 Reply Last reply
          0
          • H hoa_ngan_than

            Thanks Afzaal for your great support. I agree that it's not easy to make a deal with telcos because of charge and privacy; I also do not recognise any API service from those telcos. Your solution is good trick. However, I try to minimise the manipulation of users. just imagine when opening the app, all information has showed up already,it's such great handy. How do you think about following idea. Luckily, mobile users are freecharge of texting the checking message in my country. Firstly, when the app is opened; the requesting messages (by the forms of telcos' codes) + phone number id will be sent to telcos; then the data-usage information will be sent back to the app. The problem is how to let all data jumps into app, not show up in messenger. Is that possible to do ???? i'm stucking

            A Offline
            A Offline
            Afzaal Ahmad Zeeshan
            wrote on last edited by
            #5

            The problem came just back to where it started. You need to ask the operators for details. Which will cost you money, unless you ask them to give you a monthly subscription for these actions. I cannot think of anything else, long story short the answer is same as Richard said, you have to talk about this with a company representative. This is a service-usage issue, not an API or programming related issue. Once you get a solution from there end, we would love to guide you further. :)

            The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

            H 1 Reply Last reply
            0
            • L Lost User

              Your app will need to do the same and send the specific message to the mobile system to get this data. That is unless you can find a short cut message that they will respond to. This is not a programming issue, but one of communication with the service providers.

              H Offline
              H Offline
              hoa_ngan_than
              wrote on last edited by
              #6

              Thanks Richard, I can see how I hit the rock now X|

              1 Reply Last reply
              0
              • A Afzaal Ahmad Zeeshan

                The problem came just back to where it started. You need to ask the operators for details. Which will cost you money, unless you ask them to give you a monthly subscription for these actions. I cannot think of anything else, long story short the answer is same as Richard said, you have to talk about this with a company representative. This is a service-usage issue, not an API or programming related issue. Once you get a solution from there end, we would love to guide you further. :)

                The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

                H Offline
                H Offline
                hoa_ngan_than
                wrote on last edited by
                #7

                Neither do I, can not get any way to go. I see the chance but can not make it come true Thanks Afzaal for your support, will let you know when I have something to tell :thumbsup:

                1 Reply Last reply
                0
                • H hoa_ngan_than

                  Normally, in my country, mobile users have to text the wordy and complex codes to telcos when they want to know their internet usage and balance.

                  I'm going to build up an application which allows users can check there information at anytime when they open the app on their mobile. I do not have any clue about the telcos having any API service for that or have to make the business deal with telecommunication companies.

                  I did attempt to figure out the way but nothing has come up yet. Does any have any idea for that

                  .

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #8

                  hoa_ngan_than wrote:

                  Normally, in my country, mobile users have to text the wordy and complex codes to telcos...

                  Can't you just put those in speed dial? An app just seems like overkill.

                  "One man's wage rise is another man's price increase." - Harold Wilson

                  "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                  "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups