Android :: Programmaticaly Divert A Call By Sending USSD Command?
Dec 17, 2009
Can any one tell me how to programmaticaly divert a call on particular number by
sending the USSD command.eg, to divert a call on the number-123456789 we dial
*122*123456789#. it divert the call on to the 123456789.
View 2 Replies
May 17, 2009
I want to call a USSD (http://en.wikipedia.org/wiki/USSD) command and have the reply returned as a String. I can make the device automatically dial the USSD - like so
// String encodedHash = Uri.encode("#"); String ussd = "*" + encodedHash + "105" + encodedHash; startActivityForResult(new Intent("android.intent.action.CALL", Uri.parse("tel:" + ussd)), 1); //
This calls the USSD and the result is displayed in an alert menu generated by the OS dialer. There's no way that I can see to intercept the USSD reply, prevent the dialer displaying it, and then use the result as a String. Essentially, all I really want to do is (pseudo code) // String ussdReply = call("*#105#"); // I've tried creating an "onActivityResult" but it never receives anything from the startActivityForResult. So, does anyone know how I can use the reply within an application?
View 3 Replies
View Related
Jul 4, 2010
I want to use SMPP for sms sending rather then standard mechanism. Can I programmatically replace mechanism of SMS sending to my own?
View 1 Replies
View Related
May 5, 2014
I have LG optimus LTE 2 (F160K) and I have got problem while sending USSD code error "Connection problem or invalid MMI code".
As I see from another users it must be working. Tried flashing stock and many other roms but still no luck.
Logcat is included in the atachment.
View 1 Replies
View Related
May 19, 2010
Is there such a thing?
I would like an app that would set the divert to different numbers depending on location.
i work/live in a rural area, so i have a hero on one network which at the moment, when i am out somewhere, diverts to another phone on a different network when there is no signal because the network coverage varies so much!
but, the signal in my house is terrible on both networks so i have to divert the hero (main) phone number to my landline as this is my main contact number for business and the answer machine is attached.
it would make it easier for me if there was something that recognized when i was in or out of the house and set the divert accordingly, most of my appointments are noted in the calendar, so even if it was triggered by an appointment or such, that would be enough, any app suggestions?
View 3 Replies
View Related
Jun 2, 2010
I would like to send some AT commands, from my Android application, to the RIL available on a phone. I read a lot of things about this : - it's not possible - it's possible - There are some API not documented about telephony which allow this
How does it it work exactly? There is a RIL (a sort of library available in library level - related to the Android Anatomy). This RIL provides some information related to telephony connection or data connection. If I need to call this real : - can I do it directly from my Java code? - do I have to implement a C library (using JNI / NDK) calling RIL ?
View 2 Replies
View Related
Oct 5, 2010
I've got the HTC Hero, I want to divert specific numbers to voicemail at all times - is there a way to do this? I'm a total technophobe, so feel free to talk to me like I'm a 5 year old.
View 1 Replies
View Related
Aug 29, 2010
how to programmaticaly lock screen android?
View 1 Replies
View Related
Jul 26, 2010
I have been looking for a method to change the default SMS application's preference programmatically.
I found that those preferences are stored as "shared preferences", probably in data/data/com.android.sms/something.xml, but I am not able to get to that directory since I haven't rooted my phone.
Do you have any clue?
View 2 Replies
View Related
Jan 23, 2009
When I dial a divert number directly from the handset it works. For example: **004*+668190099# sets up my call forwarding to the number +668190099
However, when I try to do the same thing from within an application I get a problem. The number displayed in the dialer is missing the ending #.
CODE:....................
Is this a bug or is there some other reason it wont let me dial a ussd code?
View 5 Replies
View Related
Sep 29, 2010
I have A game to which I recently added a global high score functionality which made a lot of people upset so I want to add the option of disabling it.
What I did was this: in my settings activity view, I added the following code...
What I want to do is to disable the entire "High score specific settings" layout when the user unchecks the enable high score tracking check box.
I tried disabling it by setting the setEnabled to false, but that didnt work at all...
Should I be using a viewgroup or something?
Is there a refresh method I should run to apply the change?
View 2 Replies
View Related
Oct 8, 2010
I am making a android app, and I want it to be so if I call lets say 911 it sends my GPS coordinators to a certain IP, I know everything but how I make it so if I call 911 it sends the info and how I can make it send the info to the IP?
View 2 Replies
View Related
Dec 1, 2012
Running Android 4.0.4 on Emerson EM543 Tablet. Could not install Google Play so had to install Android Market. Market apparently somehow disables the Android system LockScreen. So, now trying to get lockscreen back on boot (downloadable apps, as far as I can see, don't lock screen at system boot, which is what I want). I got a terminal emulator and was wondering if there was a Linux command line argument I could use to start Droid lockscreen at system startup.
I thought I was getting close with this solution, [URL] ....., but it is for an HTC Amaze 4G, and I can locate the AdroidManifest.xml files in the apk files on my system (using ROM Toolbox Pro Root Browser). But, even if I could figure out how to do it there, that file would be changed in the very next update. I am looking for a something similar, just need to know the xml filename or a command line argument that could be used in a startup script.
View 3 Replies
View Related
Jul 23, 2010
I love my EVO and my sprint service so far, but I am having one issue that is almost unbearable. While I am on a call I am not able to send out an sms. Is this how it works with sprint or is there a setting that I need to change?
View 12 Replies
View Related
Sep 8, 2009
I am writing an application that calls IVR Systems. For example a Customer Service line where 3 or 4 options or the telephone number must be sent after the call is made. I don't remember where but I remember that if you were to put in comma's , it would be a pause so I am trying to dial a number such as "tel:555555,0,2,3" which should dial 55555 then it should send 0 with a pause then 2, pause, and then 3. I have seen a discussion similar to what I want to do... http://groups.google.com/group/android-developers/browse_thread/threa... I am testing with a HTC Hero, and when it starts dialing, I can hear the first tone being sent when its dialling, in the above case I hear a 5, and then the dialler crashes and drops back to my application. Code...
View 4 Replies
View Related
Jun 8, 2014
I've just bought an Android phone (JIAYU F1 - link here), and it's really great.
Thing is, I have special SIM from my carrier, that allows me to use only certain models of phones, and not others.
I moved the SIM from the old phone to the new one - and for the first 10 second - it was great.
I could dial numbers, and recive call from other phones. BUT - after like 10 sec's or so - I saw the words "USSD sent" on the screen, some blank message appears, and since I clicked OK (no other choice...) - I couldn't make and receive any calls.
My guess is that this "USSD message" is responsible for the whole mess, reporting to my carrier which phone model using the SIM right now. This is why I want to find a way to prevent it to be sent to my carrier.
View 1 Replies
View Related
Jan 4, 2010
to send an sms, I click "messaging" then "New Message". But I have to enter my friend's phone number on the "to" box. But how if I wanted to find the number from 'contact'? I know I can go to 'contact' at the beginning instead of going to 'messaging'. But, in case if I am sending an SMS to multiple receipients? And how to forward a message to a third people?
Can Milestone 'edit before call'?
View 2 Replies
View Related
Jun 6, 2010
I saw that previous versions of android allowed you to send specific callers directly to voicemail, but I can seem to figure it out for this phone. Can anybody let me know or suggest an app that works with the evo?
View 5 Replies
View Related
Nov 9, 2010
1. I am not able to run USSD codes on my GalaxyS-I9000. Whenever I dial any USSD it says "USSD Code Running" and then it disappears, nothing happens after this.
2. Every time after I hung up a call in my old cell/any other cell it use to show the balance amount I have (prepaid card) and last call cost, but in my GalaxyS its not showing anything after the call.
View 2 Replies
View Related
Mar 1, 2013
I have been trying to send ussd request for balance check and sms bundle but the call disconnects when I do. This problem is really getting annoying I have been trying to fix it but can't do it. I have master rested my phone twice but the problem remains my Android version is 2.2.
View 2 Replies
View Related
Sep 6, 2010
I have a rooted samsung captivate with sideloading enabled. After experimenting with different wifi tethering apps from the unofficial market, I began experiencing difficulties with my wifi connection. Even after uninstalling every app that I thought was changing the wifi state, the problem still persists. I can turn on the wifi and it will act normally for about 30 seconds before turning off without user intervention. In dmesg, the error is as follows: 'mmc1: Got command interrupt 0x00060001 even though no command operation was in progress.' Is this caused by an app or is this a more complicated problem?
View 15 Replies
View Related
Feb 19, 2010
I missed a call from my husband this morning and he said that he immediately received a text from me saying i was busy and would call him later. Well, I had not sent the message and yet there it is. Have looked and looked for a feature that may be causing that. I use Handscent. Any helpful info? I have had this phone 4 months and this has never happened.
View 5 Replies
View Related
Oct 29, 2009
Just talking on the hero when another call beeped in, screen came up showing who was calling. I hit the Decline button which is supposed to send the call directly to VM, but it only made the screen go away. I kept getting the beep notification that another call was trying to get through and then the choppy dial tone hang up signal after the call eventually made it to VM.
View 6 Replies
View Related
Dec 30, 2009
how can i forcefully send data packets over gprs n/w eventhough wifi is on?how to create socket for gprs n/w in android and to know gprs ip?
View 1 Replies
View Related
Jun 24, 2010
I have a friend who is added to my Desire's contact list.
1. He is on my Facebook contact. (His facebook pic appears in my Desire contact list)
2. He is my Gmail contact as well.
3. He is added as a 'Phone Contact' as well.
I sent him a text few days ago but don't remember if it was using facebook or my phone (network provider sms) but now when I go in to 'Messages' and send him a message, I just can't figure out if I am sending him a message via Facebook or to his mobile number.
View 1 Replies
View Related
Feb 11, 2010
I use Google Voice (love it) primarily because of it's visual voicemail on my Droid. I do have a Google Voice number, and I'm trying to decide whether to set the Droid app to "make calls using Google Voice" or not.
I have no problem with giving out a different number, and my placed calls seeing the GV number in caller ID.
My question is, does this affect how the call is actually connected, from a quality standpoint? I tired a call both ways, and the sound quality seemed a little bit different. But then, I am an obsessive compulsive weirdo.
Is there any difference in call quality or routing between making a native Verizon call and a Google Voice call on Droid? (Like, does Google voice actual use 3G to connect to Google server over the internetz, then place the phone call?)
View 3 Replies
View Related
May 17, 2009
I installed android sdk 1.5, but in no where I can find the geo command. Where should I get one?
View 2 Replies
View Related
Aug 28, 2009
I want to use command like "ls","mkdir","cd","./"..etc, in the app, somebody says use Runtime class,
Runtime.getRuntime().exec("ls");
but there is nothing happen.. I also use logcat to observe, but have the same result.
so could app use (linux) command?
View 6 Replies
View Related
Mar 28, 2010
I need to send AT command to modem in android phone. But by searching android i could not find any API to send AT command. Please can any did it or can any one share any idea regarding AT command.
View 3 Replies
View Related
Oct 15, 2009
In android build environment, what is the difference between 'mmm' and 'mm' command?
View 2 Replies
View Related