Android :: Telephony Manager Event Off_hook / Not Giving Calling Number In Emulator
Nov 9, 2010
I am not getting call in number in off_hook state when it is only coming in dialing state. According to documentation it should provide call in number for off_hook state as well. Is it a bug?
View 2 Replies
Apr 10, 2009
Is there a way to look up the user phone number other than TelephonyManager? In my G1, this returns null: // get your phone number TelephonyManager telephonyManager = (TelephonyManager) getSystem Service (Context. TELEPHONY_SERVICE); String tel = telephonyManager.getLine1Number(); Log.i("Telephone Number ==> ", tel+" <=="); Is there any other way of getting user's own phone number? take care, Muthu Ramadoss. http://linkedin.com /in/tellibitz http://androidrocks.googlecode.com - Android Consulting. Emo Philips <http://www.brainyquote.com /quotes/authors/e/emo_philips.html> - "A computer once beat me at chess, but it was no match for me at kick boxing."
View 7 Replies
View Related
May 29, 2009
I have low expectations that this message will get any response as it seems that Google developers do not like to address issues too close to the Android core and to strategic mobility applications. However, as they say, hope is the last to die.
I am really puzzled by the lack of response to queries about issues with some TelephonyManager functions.
Specifically, there have been a number of requests in the past, including mine, about
getNeighboringCellInfo()
As per the link below, getNeighboringCellInfo() is a documented TelephonyManager function available to application developers.
http://developer.android.com/reference/android/telephony/TelephonyMan...()
Yet, getNeighboringCellInfo() does not work. Any attempt to call it in an application results in application failure.
What is the problem here? If Google does not want application developers to use this function (I cannot fathom why that would be the case), then please remove it from TelephonyManager, and save all of us time and frustration.
It's really puzzling that for such an open platform Android has so many secrets and rules.
View 8 Replies
View Related
Sep 7, 2010
I would like to know what are the main differences between TelephonyManager and PhoneStateListener, because you can do (more or less) the same things with both. For example, you could create an incoming calls register implementing a broadcastreceiver and using TelephonyManger API or extending PhoneStateListener class and registering this new listener throughTelephonyManager . Case 1 - BroadcastReceiver (TelephonyManager)
View 13 Replies
View Related
Sep 17, 2009
I am currently working on porting a application written in C in android platform. I need to know that can i invoke/call the getSystemService from the C application using invocation interface by JNI. Meaning using a .java file which will interact with the interace provided by the android.telephony.TelephonyManager.java for using getCallState() and other mehthods.
View 2 Replies
View Related
Mar 29, 2010
I was wondering if there is a way to manipulate the emulator to simulate telephony signal strength changes.
I would like to test code that uses TelephonyManager.listen() with LISTEN_SIGNAL_STRENGTHS.
View 2 Replies
View Related
May 18, 2010
I have this scenario
onResume of an activity:
CODE:............
Adapter has been defined as:
CODE:.............
And the onContentChanged event is not fired, although the onResume and the call to the adapter is issued.
View 1 Replies
View Related
Jun 17, 2010
I've been searching around recently for a widget/app that'd allow me to input events and either pop up on my front screen reminding me (The day of/Before.. or whatever) or that I could have at the top of my following screen as the widget and have had no luck.
I'd like this to remind me of certain events that can go about slipping my mind (Student loans due on this day.. Flight leaving at this/that time) Or the general factor that there are a multitude of things to do and it's nice to stay organized.
View 1 Replies
View Related
Sep 12, 2010
For something like a 'help I can't get up' app -- is there a way for a user to set a contact number, and then for the app to call that number in the future WITHOUT the user initiating the dialout? I've tried the below but there seems to be a problem. Code...
View 1 Replies
View Related
Aug 8, 2010
So ya, there's a phone in my HTC Hero. No surprise.
My problem is this:
I find that the easiest way to call a person is to go to the phone app and scroll through the call history displayed to find the person I wish to call. Once I see their name, I just press on it, and the call begins. Unfortunately, a friend I call often may use their house phone or cell phone when I only ever want to call their cell (Evo ). Often, the situation is that I previously talked to him on his house phone, and I'm calling him in the middle of the night (we're young; we don't sleep rational hours during the summer... or ever). Unfortunately for me, my call usually bugs his parents, and I get reprimanded...
Is there a setting that allows me to only call his cell, or do I just need to break this habit?
View 9 Replies
View Related
Apr 24, 2010
Full disclosure: There are millions of us semi-old guys who need reading glasses, but have perfect sight for everything else. We need the ability to use a larger font for the calling number. Its OK if the caller is in the contact list, but if it's not I really want to read the number quickly and decide yes/no on taking the call. Grabbing the readers takes time, and can be sketchy when driving.
View 7 Replies
View Related
Jun 24, 2010
Is there a way to hide my phone number when calling out? I came over from BlackBerry, where there is simply an option to "hide" my phone number on outgoing calls... but I can't seem to do this with my Eris. Someone once suggested that I prefix my contacts with *69... but that seems to prevent caller id from working properly, which just trades one issue for another.
If possible, I would prefer to be selective with who I do this with (it's okay for personal contacts to see my number... but it's not okay for business contacts to see my number).
View 9 Replies
View Related
Aug 6, 2010
Is it possible to withhold your number on the Desire so that the receiver does not see your number or your ID when you call them? Can't see this option anywhere in the Settings.
View 2 Replies
View Related
Jul 24, 2009
Can you please tell me how can I simulate a TrackBall Event in emulator? I just the left/right black button in the middle of the emulator, but i set break point in dispatchKeyEvent() and dispatchTrackBallEvent() of the View.java. But only dispatchKeyEvent() breakpoint get activated. I want to see 'dispatchTrackBallEvent' get breaks. Can you please tell me how to simulate a TrackBall Event?
View 6 Replies
View Related
Mar 23, 2010
I am developing an application which requires to add Calendar event. I have written the code for inserting event to the calendar. But whenever i run my application, everytime i get error that "Fail to find provider info for Calendar" and it also throws me NullPointerException error. So, what it means and i found that emulator doesn't provide Calendar application in-built.I think if the Android Emulator doesn't have Calender API, so, naturally, it will not have any database URI in the emulator whereas the Contact has URI --"content://contacts/people". I also found the URI for Calendar as "content://calendar/calendars" but it doesn't work and it means that it gives me error cause of missing Calendar application.Can anybody clarify me, with suggestions regarding Calendar Event?
View 4 Replies
View Related
Jul 18, 2010
When anyone calls me it just shows 'unknown' these are not blocked numbers and the the people calling me are in the contacts list (on sim & on phone) so their name should really come up. how do i get their name or just simply a phone number to come up when they call me. what am i missing?
View 3 Replies
View Related
Jun 2, 2010
Looking for a tip here.
How do you look up a local phone number (for calling) or address (for nav).
I have tried Yellow Pages, magnifying glass (search), and a few other apps but nothing is working great for finding the closest Pizza Hut for example (had a gift certificate). What do you use?
View 5 Replies
View Related
Feb 9, 2010
I need to dial a number in Germany which would be +49... now since i can't make that call with my verizon plan i bought a CBS phone card. so i hit 1 for English, 2 for international etc. then when i need to enter the number, on my old phone it worked fine by holding 0 for a while to dial +49. but for some reason that doesn't work with the droid. any ideas?
View 2 Replies
View Related
Nov 14, 2012
I ported miui us over to the att s3. One issue I have is when an incoming call takes place it does not show the "1" like it should 1-555-555-5555 instead it shows +55 55 55555.
SAMSUNG-SGH-I747
View 2 Replies
View Related
Feb 11, 2010
Please point me at the best call manager, whitelist, firewall app that will let me add a specific number and then send them to voicemail.
View 21 Replies
View Related
Aug 12, 2010
I am working on an android application and i want the phone number of the phone i.e the emulator.I know there will be no phone number for emulator.I want to know how to get its phone number. The reason is I want to send sms from the phone.
View 2 Replies
View Related
Nov 1, 2009
It the earlier versions of Android SDK the emulator had the set phone number. Visible in the phone settings and accessible to applications through the Telephony Manager.get Line 1 Number method. In Android SDK 2.0 it is not set. How to set it?
View 3 Replies
View Related
Jul 13, 2010
In Settings it shows a phone number for the device when running the emulator. It shows the same phone number with several different AVD's. Is this number the same across all development systems (i.e., is it hardcoded or random or...)? Can it be set to some specific number and how to do that?
View 3 Replies
View Related
Sep 7, 2009
I am trying to create an app that gets the location and telephone number of the phone. This is the Code I am using to get the telephone number (I am focusing on sdk 1.5) and in the emulator this works.
View 5 Replies
View Related
Nov 16, 2010
I have researched extensively and am pretty sure this is not possible. I want to make a call and then inject DTMF when the far end answers. So 2 questions Is it possible ?
If not, how do I work to get it on the list of upcoming features to be provided on Android. I can say that this is possible on BlackBerry and Symbian, so Android is falling behind in this regard.
View 2 Replies
View Related
Feb 6, 2010
If I run several emulators with -no-window option in one machine. The command "adb devices" shows:
List of devices attached
emulator-5554 device
emulator-5556 device
emulator-5558 device
However, according to this output, I can't tell the difference between each emulator device at all. I need to know which emulator runs on what AVD, then I can install APKs or send commands to the emulator.How can I recognize each emulator device or get the serial number of emulator after it runs?
View 4 Replies
View Related
Apr 12, 2009
I use onLongClick and onClick events of a button to get user inputs. Whenever; the user long click and triggers onLongClick event, the onClick event is also triggered. I couldn't find my problem. The code of two methods are shown in below: Code...
View 2 Replies
View Related
Feb 11, 2009
I am using the Telephony class to get messages ( Telephony.Sms.Intents.getMessageFromIntent(Intent intent)). But I can't find the class Telephony from its package(android.provider), there is an error named "The import android.provider.Telephony cannot be resolved" when import android.provider.Telephony.Sms.Intents, the sdk version I'm using is android-sdk-windows-1.0_r2, how can I use this with the new implementation of Telephony?
View 2 Replies
View Related
Jan 27, 2010
I am trying to get a phone object so that I can call and conference two numbers from within my application.
I have tried using the static PhoneFactory.makeDefaultPhones((Context)this) but have not had any luck.
CODE:.......
Error - Caused by java.lang.RuntimeException: PhoneFactory.getDefaultPhone must be called from Looper thread
View 3 Replies
View Related
Nov 2, 2010
There are a number of network types defined in TelephonyManager:
NETWORK_TYPE_GPRS
NETWORK_TYPE_EDGE
NETWORK_TYPE_UMTS
NETWORK_TYPE_CDMA
NETWORK_TYPE_EVDO_0
NETWORK_TYPE_EVDO_A
NETWORK_TYPE_1xRTT
NETWORK_TYPE_HSDPA
NETWORK_TYPE_HSUPA
NETWORK_TYPE_HSPA
Is there any info out there that describes what range of speeds you can expect on each of these? If that isn't available, it would be nice to be able to order them based on speed.
View 1 Replies
View Related