Guys, I've got a multi-sim
http://forum.xda-developers.com/viewtopic.php?p=138594#138594
and would like to make my own today plugin to get operator name (and from there, display my operator logo.
Can you guys tell me how to read the Operator Name (eg Orange), and to simulate flight mode off and then on again, to cause the sim to swap over?
Is this through API or AT commands?
Thanks!
V
I'm about finishing a plugin for Today Screen and Home Screen, where the latest status of prepaid SIM Card (account) is displayed.
As you know, to get this status, you have to send a special code. Mostly, it is *101# and a green phone button. In reply, cellular network responses with a special message. As I could check that replies in a few networks, messages depend from the cellular network. And the language too. Because of that, my plugin just displays a whole message without changes.
My question is: how that reply messages look like in various networks? Could you please post here message you get?
I want to get answer, what is maximum length of such messages, to save the space of screen. Or maybe to use its content and reformat the display style finally (what's - I'm afraid - impossible due to many languages used). Correct me.
If you use prepaid card, please send *101# code (or maybe in some other networks it is different code?), and give the answer you got from cellular network in reply.
"Creditul tau de xxx.xx EURcenti este activ inclusiv pana la dd/mm/yy"
this is how it looks on Orange romania.
hope it helps.
but there is a catch... if i have extra options(like bonus free minutes) when i dial the check credit number(*133#) i also receive a separate sms(from a different number(333) )showing me the free minutes left...
i also have a small question... do you know a good USSD program that is compatible with mio?
In Belgium with provider PROXIMUS, dial code is #121# and result is formatted as Credit: nnn.nn EUR Validite dd/mm/yyyy
Vodafone Germany
Dail code for Vodafone Germany is *100#. The reply is: Ihr Kontostand betraegt xx.xx Euro.
Looking forward to check out the plug-in.
I use another prog - dciBalance - and get a relult ot Today like:
"Balanse: xx$ (-0,5$) 7:34, 07.12.2007 "
where xx$ - balance, (-0,5$) changes by per day, and time\date of cheching
is dciBalance also available in english?
no dciBalance available only on Russian....
But it is not very hard to understand "how to"
Thank for comments.
I don't know the above other program with similar funtions, and I even did not tried it.
That's why my concept is stay as: to leave an original reply message in original language. This will run independently from particular country or cellular network. Certainly, I added options to change the default code *101# to whatever some user will need in some localization or situation.
Have anybody heard, that any network charges for USSD questions?
Currently, my program checks the status: on every wake up, on every midnite, and if user will check the option: on every hour. I can add more options like: after every phone call finished, or after every message sent. But... it consumes battery. I'm already under deeper tests how it works relative to battery reasonably discharging.
User can force the checking any time manually, by selecting this plugin and press Action or Enter button.
when will we see the app?
sounds very interesting. yeah, when can we see this app?
anybody know the ussd code for vodafone nz??
beta version is here
Ok. Here it is a Beta Version. It will expire on the end of year.
This is a version for PPC only (incl. VGA), Smartphone HomeScreen plugin is upcoming... Please, users of Smartphones: give your comments what you see after *101# code and how it is displayed, or similar...
After installation:
- in PPC please check, if it is marked on system Today items list
- in SP please select one of new Home SCreen style with "prepaid..." in name
or build your own Home Screen, this plugin you get with:
<plugin clsid="{6A59C93A-4B8A-46c1-873B-269E93A8CE27}" name="prepaidstatus" height="25"><background><format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/></background></plugin>
Changes:
- added delay of 10sec. in first checking since activate
- added delay of 5 sec. after wake up
- added icon of Settings... in default Programs folder (for future SP version)
- added destroying default notification icons (not sure if it works well in all devices, yet)
- added breaking each sentence for new line
- added "red alert", when your value is below specified limit (background becomes red and text white, do you want sounds?)
- added text "awaiting notification" while the request is running...
- added text "unresponsived" while network did not replied correctly
- reply message length limited do 200 characters
Some possible problems:
- in some devices I observe that after checking the status the phone line is not active till I use default Phone dialog next time. Not sure about it.
- in some devices I still cannot destroy the default notification icon of USSD reply, it is generated after every checking and collect together in status bar. If you use automatically checking, it will become a huge number of icons.
If you uncheck all available options for automatically requesting the status, you can always force it manually by pressing Action or tap the screen on this Today Item.
All comments are welcome and awating...
Files updated on 11 Dec. 2007
hello!
i tested it for a short while and here are first impressions.
Looks amaising, with a minor bug check the pic.
is it normal to show a red background?
A small sugestion....(from my little programing skills...) i believe it is possible to make the program search the ussd for the first set of numbers and display it, so that it will only show the credit. don't you think this will be a nice improvement?
thanks for comments. looks like the problem with "red alert". I will check and fix very soon.
I'm not sure about the concept of "first digit" because I don't know if this rule works in all languages and all network codes. I use this idea to define/determine "red alert" and maybe this is wrong.
there is also a small bug with the settings window... if you open the settings and pop up the keyboard the whole settings moves up, out of the window(first pic)
on Tele2 Sweden its *111#
gives you:
SALDO: xxx.xx Prisplan: Comviq Kontant Kompis. Kortet F n giltigt till 6/12-2008.
that is Prisplan = what sort of card you have
F n giltigt = expires day
I just updated the .cab file, small bug with "red alert" fixed.
If someone will get problem with red background and alert, please set 0 value for its limits. In this case it will not run.
To correctly upload the new version:
- uncheck this item from the list
- remove from default Remove Programs
- make a soft-reset
- re-install the new one
Strange with the Settings dialog. It's not in all my devices already.
Certainly, "last reported..." displays Today's time, and the date if it was not today.
Extend the USSD code
Is it possible to set the program for a longer USSD code?.
Meteor IE is using *#100# for their credit balance USSD code. I have tried inputing the code but it kept cutting of the last #.
ps:- nice work btw
I will try to fix. Thanks for comments.
hmm... after rechecking the settings tab, it seems that sometimes when i open settings the top bar vanishes and the whole settings prog moves up and after a couple of seconds the top bar reapears... that's what happens in the above pic....
unfortunetly i can't test the version very much because, as i told you, at every check i also receive a second sms, showing me the remaining free minutes and it is very annoing to delete them from my sms inbox...
btw, will the next version have the ussd send message balloon hidden?
Thanks for all this great work!
le: seems that most forum folks don't have prepay cards... 3 downloads so far... 2 by me
Both PPC and SP versions are now.
I just updated installation files, PPC and SP versions are available from now.
Several fixes included, also about automaticaly updating.
I'm not sure 100% about SP version, because such devices are very sensive for background proccess while the screen is going black (suspend, not like in PPC turns off). Next days will give answers if I thought correctly.
Hi all,
I have a Touch from Robbers and I use the phone in landscape mode.
My problem is whenever anyone calls me, the name & number is cut off at the bottom of the screen.
Does anyone know how to enlarge the incoming call screen?
I have searched the forums and I have tried a few 3rd party apps, but none work with Robbers name display.
=====================================================================================================
N/M everyone, found the answer myself. All I had to do was edit the bmp in the windows folder.
Hi all,
When you're in a call and you see the screen with the duration, add call, end, dial pad, etc... That's an activity right? Does anyone know which file corresponds to this activity? I'm trying to find it in the source but without success.
Thanks.
Wrong section.
Need some help please.
My area code is 502.
Whenever I dial a local 7 digit number my phone automatically attaches a 616 or 618 area code to the number.
Anyone have an idea where I can change this?
Thanks
Sent from my MB860 using XDA Premium App
found the fix for it if anyone else is having the same problem
Is your phone suddenly defaulting to area code 617 when you only dial 7 digits? This is the fix. (self.Android)
submitted 3 months ago by reddit_account_42
For at least a few weeks now, my phone has been defaulting to area code 617. I assumed I probably broke it trying out some Cyanogenod nighties with the race up to 6.1, and didn't think too much of it. Now that i'm dealing with some new phone numbers, defaulting to 617 instead of my correct area code has been somewhat of a pain. Google didn't help, but it revealed a number of users with the same problems:
I then was lucky enough to find this code snippet with the constant private static final String AREACODE = "617". Looking at the name seems to indicate that it's for testing an intent, and has a bit of additional functionality I hadn't noticed:
* Make default area code 617
* Replace 411 with 1-800-GOOG-411
* Disable calling 555-5555 (Try it, dialer just closes. As the code says, "Note that no UI is displayed to the user -- the call simply does not happen.")
Realizing now that the issue is with the Dialer app, I'd figured I'd just have to find an apk of that somewhere. Instead, I realized I had downloaded Autostarts which lets you review intent handlers. Indeed, if you run Autostarts, you can see that under 'New Outgoing Call' there is an entry by Dialer. Clicking on that and you can see that the intent is handled by com.android.phone.ProcessOutgoingCallTest, which is exactly the code I found above. From here, you can just choose 'Disable' and autostarts will remove the intent, and you'll have your 7 digit phone numbers back without the 617 area code.
Note that I had to restart the Dialer for this change to work (or, rather, it crashed out from under me when I changed it). Though, there are no ill effects.
I can only assume a build of Cyanogenmod had this test facility enabled, and when I didnt' wipe during a ROM upgrade this persisted.
tl;dr: Use Autostarts and remove the Dialer entry from 'New Outgoing Call'
Another redditor has surfaced!
steeler350 said:
found the fix for it if anyone else is having the same problem
Realizing now that the issue is with the Dialer app, I'd figured I'd just have to find an apk of that somewhere. Instead, I realized I had downloaded Autostarts which lets you review intent handlers. Indeed, if you run Autostarts, you can see that under 'New Outgoing Call' there is an entry by Dialer. Clicking on that and you can see that the intent is handled by com.android.phone.ProcessOutgoingCallTest, which is exactly the code I found above. From here, you can just choose 'Disable' and autostarts will remove the intent, and you'll have your 7 digit phone numbers back without the 617 area code.Call'
Click to expand...
Click to collapse
I am using the *Stock* 2.3.5 OEM ROM (no custom rom) on my AT&T Samsung Galaxy S2, and had this exact problem (and I have "autostarts" installed).
Disabling the dialer app in the event "New Outgoing Call" as suggested above fixed the issue for me - no more area code 617 added when I dial with just 7 digits!
Thanks for discovering this
I don't have "dialer" under "new outgoing call". What now?