Android :: Determining What Number Is Being Dialed
Jun 28, 2010
My question is- with the telephony manager, is there a way to determine what number the phone is off hook with? I thought getLine1Number() might return that phone number that is being dialed, but it is not what I expect. I am working with 2 emulators, and added a log line so that I could see what that method is doing. When dialing another emulator, I expected getLine1Number() to return 5554, but it was 15555218135. Perhaps there is another method I should be using instead? Do I need to be into the source code to get the information I want?
View 1 Replies
Nov 30, 2009
Can anyone call the last number they dialed in less than 5 moves on Motorola Droid without having that contact set as a direct dial shortcut on their Home screen?This is after screen has timed out and phone shotcut is not already open. I currently have to>press power>swipe or use pattern>press phone>press call log> press phone icon next to name. If the answer is no, people really need to think twice when they say how the phone is so easy to use. If it can be done quicker, please show how.
View 2 Replies
View Related
Jun 2, 2010
This is my first Android phone after owning WinMobile phones for the last 5 years or so. Experiencing a frustrating issue with dialing phone numbers from my address book or Exchange GAL that contain extensions - typically preceeded by an "X" or "ext" or "-". Android ignores these delimeters and simply appends the extension to the main number, which then gets interpreted as an international number and the first 3 digits are assumed to be the country code. This renders all phone numbers with extensions unusable. Since I don't have edit capabilities of my company's GAL I can't just go make changes.What character are people using to separate extensions from the main number?
View 13 Replies
View Related
Jul 28, 2010
Well it's 1am, I've taken my phone from my pocket and found that the screen is on and it's two minutes into a call to a friend of mine who called me earlier in the evening! This seems to happen regularly. The calls are always to the person who last called me. I think it happens when I've been playing with the phone and put it back in my pocket having forgot to turn the screen off first. Does anyone have any solutions before my friends start blocking my number?
View 2 Replies
View Related
Apr 15, 2014
So I have tried about 10 apps so far that none seem to do what I am looking to accomplish.
I have a dial in phone system that allows me access to a dial tone. So if want to be able to select a number from my history, contacts or a clickable link and have it prompt which dialer I want to use. If I choose this app it should dial MY number and enter my access code THEN dial the number I was trying to call.
So for example I am trying to call 212-555-1212 and my number is 212-666-1212 it should dial:
212-666-1212[mynumber],,[pause]1234[accesscode],,[pause] 212-555-1212
I have found a few apps that seem to do this, however they have integrated them in such a way where it will only automatically enter into the "Calling card mode" based on dialing rules (Such as area code and country code) there is no way to manually select when to utilize the "calling card mode" and when not to,
I was thinking if there is a Alternative Dialer that supports calling cards, it will add the necessary hooks into the OS and then I can just manually select which app to use to make calls (Either the stock dialer or this new dialer)
View 1 Replies
View Related
May 5, 2009
In the source of Android I found programs written in language C ("dsp_core.c" and "dsp_dtmf.c") which are capable of decode DTMF. I've recorded (amr file) with my phone a conversation in which the one I'm calling dials DTMF tones from his cell and I would like to use the program to detect those tones and that my phone automatically calls the number that he dialed. My problem is I don't know how to use those two programs with the amr file I've recorded. If you need the programs because you haven't downloaded Android code source tell me and I'll send you them
View 4 Replies
View Related
Aug 16, 2010
It was late at night and I couldn't sleep so I decided to listen to some music with the HTC headphones. Then I thought I heard something outside, so I pressed pause on the headphones and then I repeatedly pressed play, I am a really impatient person and the music stopped and the phone started calling someone. After some tests I found out that the phone calls the last person you called if you press play 5 times. Is it a bug? Couse i really dont like the feature and im sure people dont like being called at 3 in the night either.
View 1 Replies
View Related
Dec 4, 2010
How do I dial extensions after the number has been dialed? my 1st smartphone.
View 1 Replies
View Related
Dec 24, 2009
I have a serious problem when making calls without a headset, with the phone in my hand. People I call are telling me that they hear a phone number being dialed loudly while I speak to them, as if I am making a call while speaking to them. Today it happened and the person said she had to shout to be heard over this loud noise-which I cant hear!! I must be touching some button or application with my hand or face, but what?
View 7 Replies
View Related
Aug 25, 2010
How can I tell if a device is using HTC's SenseUI? I thought about using android.os.Build information, but they seem inconsistent. Is there a more definitive way? I need to be able to tell if I can launch the calendar by using com.android.calendar or com.htc.calendar.
View 1 Replies
View Related
Aug 18, 2009
I was wondering if there is a way to determine who passed an intent to my application. For example, I have a service, that I want to act differently depending on who passed the intent (for security reasons). I'm trying to sandbox each calling application, so they only have access to their data stored in my application.
For it to be secure, I cannot trust any application to be truthful about the identifying data it is passing into my service. Therefore, I need some system way of identifying who sent the intent in a way that the calling application cannot change that information. I don't know if it is possible, but I can't find anything in the Intent class, and I was wondering if there may be another structure which does what I want it to. If it is not possible, I would like to get some type of mechanism to do this in the roadmap.
View 13 Replies
View Related
Jul 19, 2010
I'm using a UNIX socket to facilitate communication on and Android device between a system level daemon I've got running in C and an application I've got running in Java. I'm much more of a C coder than a Java coder, so I'm having some issues when trying to read in data from the socket on the Java side. Currently, my code is as follows:
try{//Prepare to write the command and read the ACK
InputStream is = receiver.getInputStream();
OutputStream os = receiver.getOutputStream();
BufferedReader in = new BufferedReader(new InputStreamReader(is));..............................
View 1 Replies
View Related
May 11, 2010
I looked over SensorManager and was still unsure, how do I detect if the phone is looking at true north (or any other direction for that matter).
View 1 Replies
View Related
Aug 6, 2010
How do you determine (programatically) if an Android device is: rooted Running a cracked copy of your software or rom. I have some sensitive information in my database, and I would like to encrypt it when the phone is rooted aka the user has access to the database. How do I detect that?
View 2 Replies
View Related
Nov 15, 2010
Is it possible to determine the unique bluetooth MAC address for an iPhone and an Android (and to a lesser extent, other smartphones) from within an app on said device? Is my assumption that the MAC address is universally unique correct? A general yes or no would be helpful. Example code in the case of an iPhone or an Android would be extremely helpful.
View 2 Replies
View Related
Nov 14, 2010
I have created multiple bitmaps - one for each folder (mdpi, hdpi, ldpi). Can someone show me some code or point me to the appropriate method that will allow me to detect which resource Android decided to load.
View 4 Replies
View Related
Jun 9, 2010
Question: How do you programmatically distinguish between directories and regular files in the assets folder?
When using AssetManager to access files in the assets folder, it seems impossible to determine if a file is in fact a file or a directory. You get the list of files from the list method and then open the file using the open method. I thought perhaps using the openFd method to get the asset file descriptor (and then subsequently requesting the normal file descriptor) would provide me some information. But requesting the file descriptor for a directory results in an IOException (which makes sense since what would it mean for a directory to have a file descriptor...?).
Currently I'm relying on that IOException (resulting from attemptng to open a directory in the assets folder) in order to determine if a file is in fact a directory. (Opening a regular file works just fine). This seems like a bad idea. Any other suggestions to distinguish between a file and a directory?
View 1 Replies
View Related
Apr 21, 2009
I am calling the ZXing scanner from Screen-A using intents. Once the scan is done control of course returns to the code behind Screen-A and I do some other work before calling Screen-B. Problem is the screen is black during this work period and I cannot determine the proper context to use to display a "working..." Toast/msgbox.
View 2 Replies
View Related
Jun 23, 2010
I'm working on an Android App where the user has different options for sorting the displayed data that comes from the database. Currently my orderBy string that I pass to Androids query() method looks like this:
"LOWER("+columnName+") ASC"
The problem with this is that if the data type in the column specified by columnName is integer, calling LOWER() on it will cause it to be sorted alphabetically, i.e. based only on the leftmost digit, which of course doesn't make any sense for numeric data. Hence I only want to apply LOWER() if the data type of the column is not integer. What I have in mind is a statement like this:
"CASE WHEN [data type of columnName is integer] THEN "+columnName+" ASC ELSE LOWER("+columName+") ASC END"
The part in the brackets is what I don't know how to do. Does SQLite provide a function to determine a column's data type?
View 3 Replies
View Related
Apr 4, 2010
I thought I'd share a script that I've been working on: http://www.anddev.org/viewtopic.php?p=30732
It lets you generate parameterizable histograms of Android Market sales by automatically downloading data from Google Checkout.
View 6 Replies
View Related
Jan 30, 2010
I wish to have one application that runs in the background, which knows when any of the built-in applications (messaging, contacts, etc) is running. So my questions are: How I should run my application in the background. How my background application can know what the application currently running in the foreground is.
View 4 Replies
View Related
Sep 10, 2010
Last night I had my phone charging on the nightstand.It had been idle and charging for about 40 minutes when I left the room to get a glass of water.When I came back I found my wife on my phone explaining that I had NOT just dialed the phone.he person who received the call thought I was pranking her at least at first.I looked in my call log - and it had placed a call.The person was not in my contacts it just had a number.The area code and first three digits were the same as my number (probably just a coincidence) Rooted, running Ivans ROM. This Eris was never that buggy - only ever got the 50% idle and 90% camera battery usage indications - but even when those happened the phone was running fine and battery life was reasonable. This latest issue has me concerned.
View 4 Replies
View Related
Jan 30, 2010
I have a number of contacts with a phone number entry like 407-555-1212~Peter. I use it to differentiate between cellphones for husband and wife in the same contact record. It's worked great on my previous phones, but with Contacts on my Nexus One, the entire string is converted into a number like 407555121257259, and the phone announces that the number cannot be dialed. Any suggestions?
View 4 Replies
View Related
Sep 20, 2010
Recently, for no reason apparent to me, my HTC Desire is making no sound whatsoever when I receive or make a call.I can hear calls if I have the speaker on or if I have a headset plugged in. I also have no problem listening to music through the speaker or headphones.My phone is a black orange branded HTC Desire running the 2.1 software. I am using the 3 network.
View 1 Replies
View Related
Jan 21, 2010
When people call me on my google number it says "call can't be completed as dialed" even with 1 and the area code.
View 5 Replies
View Related
Jul 2, 2012
I have an HTC Rezound, with stock OS and everything.
I work for a hospital where I frequently have to dial a 4 digit number to call different zones of the hospital. (every phone number is lets say 212-883-xxxx)
So Instead of always putting in 212-883 before the 4 digit suffix, is there a way I can tell my phone to automatically add that 6 digit prefix, without the use of an app?
View 4 Replies
View Related
Dec 9, 2012
I am trying to build AOSP for my Huawei U8836D, so I am making my own device tree. How do I determine which files in the stock ROM are proprietary, so I can define them in extract-files.sh?
View 1 Replies
View Related
Sep 5, 2010
I am sure this has been asked millions of times but how shitty does it look, my goodness. everytime i dial a friend & see their nice pretty picture but soon as it dials, the picture looks awful & blurry. My pictures are good quality pics that i saved to my sd card & then i just added them while creating contacts etc. is their a easy fix to this? i also have a app that lets you display a full caller id photo when your being called but it does not look good right now.
View 3 Replies
View Related
May 8, 2010
Is there a way to determine the audio format of an audio file in Android? On normal java I do it like this:
File file= new File(...);
AudioInputStream stream = AudioSystem.getAudioInputStream(file);
AudioFormat format= stream.getFormat();
View 2 Replies
View Related
Aug 12, 2010
I would like to forward all calls to my number on to the new predefined number automatically. Is it possible to forward incoming call? Probably it is possible for Froyo at least. I found application called Easy Call Forwarding. But many people reckon it dosen't work actually. We can notice forwarded call by onCallForwardingIndicatorChanged() from PhoneStateListener but I have no idea how to set forwarding mode.
View 1 Replies
View Related