Android :: How To Use Com.android.internal.telephony

Feb 4, 2010

I need to use com.android.internal.telephony package for my development. but i am in a doubt whether i would use android.internal.telephony package or how?

Android :: how to use com.android.internal.telephony


Android :: ClassCastException: Com.android.internal.telephony.PhoneProxy

Apr 8, 2010

I'm programing Instrumentation Tests for SIM ToolKit (STK)

I need to use CommandsInterface which is available only in PhoneBase Interface. Once I have a Phone i'd like to use the following line:

CODE:.......

It compiled successfully, however gives uncaught exception (group=0x4001b188)

View 2 Replies View Related

Android : Possible To Use Com.android.internal.telephony.* API In Application?

Oct 16, 2009

Is it possible to use com.android.internal.telephony.* API in application? I would really need to use some classes from there, since there is no other way I can make my app answer incoming call, send dtmf and etc.

View 2 Replies View Related

Android :: Telephony / Need To Inject DTMF

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

Android :: Get Sms Message From Intent With New Implementation Of Telephony?

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

Android :: Can A Telephony.Phone Object Be Instantiated Through The Sdk

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

Android :: Telephony Manager Functions Don't Work / What To Do?

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

Android :: Telephony Manager & Phone State Listener

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

Android :: Relative Speeds Of Telephony Managers Types?

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

Android :: Testing Telephony Signal Strength Changes In Emulator?

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

Android :: Can A Native Application Use Java Methods In Telephony Manager?

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

Android :: Ways To User Number When Telephony Manager Returns Null?

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

Android :: Telephony Returned Constant Values In Bearer Speed Order?

Mar 8, 2010

TelephonyManager.getNetworkType() returns one of the constant values.It appears that the constant values have an integer order, by possible bearer link speed.I know using constant values used in the following manner is generally bad,however could one use this to determine a basic cutoff for application functionality and have it work between API levels? (in API-v1 there was nothing above 0x03)if( telephonyManager.getNetworkType() > TelephonyManager.NETWORK_TYPE_EDGE ) return "3G! party on!";else if( telephonyManager.getNetworkType() > TelephonyManager.NETWORK_TYPE_UNKNOWN )}

View 1 Replies View Related

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 View Related

Android :: Telephony.SmsManager.s­endTextMessage Throw Exception When Destination Addr Is Email Addr

Feb 3, 2010

This worked in 1.5 but throw an exception in apk 2.0.

CODE:...............

Any one else experience the same? What should I use to send a SMS to an email address?

View 4 Replies View Related

General :: How To Move OBB Data From Internal SD To Internal Storage

Jan 5, 2014

I have a xperia u, which has not external SD card slot..

Data partition is MUCH bigger than what I need (I'm using 500mb of 2gb) and I want to move obb files to data partition to free some space in SD partition..

View 9 Replies View Related

Android :: Get My Phone's Internal Ip

Sep 7, 2010

My phone has an IP. I would like to know how could I retrieve it? After searching in the web, I found that i can get only the current outside ip.(I want the local-perm ip of my phone)

View 3 Replies View Related

Android : SDK Does Not Support Internal.R

Aug 17, 2009

I have read several posts about getting to internal.R but i want to make sure i got it. i understand that the SDK does not support it anymore (not even what is in public.xml?) and of course, that i shouldn't use reflection (i got that Dianne, how can i without taking all the relevant themes and putting them in my res folder get to this resource for example: com.android.internal.R.attr.keyboardViewStyle must i recreate the wheel?

View 2 Replies View Related

Android :: Internal Storage On Emulator

Nov 6, 2010

I have an app that pulls album art from the media store. It works fine on my N1 and other devices with external SD cards. However, I need to get it working on devices with internal storage and I don't have such a device to test on. How can I set up the emulator to reproduce such a device? I did a search on the forums and found info on increasing the size of the internal storage but I'm not sure how the file system should be set up. Is this even possible?

View 4 Replies View Related

Android :: Setting Internal Storage In AVD

Aug 30, 2009

Does anyone know how to set internal storage in the AVD to something other than the default 92M? I have tried setting hw.ramSize in the AVD's .config file, but no change and also tried setting it when creating a AVD with the "android create" command. Same net result. I'm on Windows XP.

View 3 Replies View Related

Android :: Internal Phone Storage Low - What To Do?

Aug 17, 2010

Why do I only Have about 25mb of storage I see others with much more on their Droid and they have 60mb or more. What can I do to add mb?

View 1 Replies View Related

Android :: What Are Limits Of Internal Storage?

Jan 12, 2010

1) Our Android app will store data in a built-in SQLite DB. I see the DB can throw android.database.sqlite.SQLiteFullException, but there's no exact info in API what is the limit. Could anyone tell what are the size limits for a DB in order not to get into the SQLiteFullException? I assume DB will store data in device's internal storage (versus SDCard). Am I right? Given SQLite DB is just a file, probably the DB size is limited with free internal storage space. Again - Am I right? If yes, then what is the internal storage size on Android? How to detect it? Does it vary on a device model basis or OS version basis? 2) We'll also need to save app settings. I think SharedPreferences will fit nicely. However the question is - are SharedPreferences saved to the internal storage too? If yes, then is it the same storage where the DB stores its file?

View 3 Replies View Related

Android :: Internal Links In Webview

Mar 24, 2010

How can we find out when we click an internal link in WebvIew?

View 12 Replies View Related

Android :: Using Internal Class That Is Not Shipped

Mar 8, 2010

I am very much interested and also needed to use an internal class which is not shipped with android sdk.the class is com.android.internal.telephony.Phone. Please if u guys have any idea about how ti use internal class then please let me know.

View 3 Replies View Related

Android :: Writing To Internal SD Card

Aug 28, 2010

Is there any way of accessing the internal SD card on Android devices that have internal flash, internal SD and external SD cards?

View 1 Replies View Related

Android :: Internal Memory Full

Nov 19, 2010

I run on a desire 2.2 froyo. I have enabled apps to sd, and moved all the apps that can be moved?(dunno if i can move all the apps?)well, the problem is, my internal memory gets filled up pretty fast. So my question is:"How to move all the "crap" over to the sd-card?"

View 38 Replies View Related

Android :: 1.6 SDK - Internal File Path

Oct 12, 2010

I am trying to read a csv file from assets/file.csv, but the log keeps spitting out that it doesn't exist. Is my path correct for internal file storage? This is the class file:

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.StringTokenizer;

public class ReadList {

public String[][] mainMenuList() throws IOException {

String [][] arrayList = new String [24][24];

File file = new File("/data/data/com.xxx.view/file.csv");.....................

View 1 Replies View Related

Android :: Move The Internal DB To The SDCard

Aug 8, 2010

As the database in my app grows, it is going to require more and more of the internal phone space. There isn't any sensitive/private data in the DB, so I'm interested in moving it to the SD card.

I'm using SQLiteOpenHelper to assist with the database work. It's my understanding that you can't use this for DB-access on the SD card as you can't define the DB path. However, there are some (very poor) examples on the Internet that suggest you can override this limitation. However I've never gotten one of those code samples to compile.

Is it possible? And if so--HOW! Please note that Froyo's "apps on SD card" feature won't work as it doesn't move internal files.

View 1 Replies View Related

Android :: Internal Memory Space?

Apr 13, 2010

However after getting a bunch of apps from the android market i am getting a warning saying my internal memory card is getting full.when I check under settings, i still have about 20mb left. At what size do i start getting this warning? Its it possible to save apps onto the sd card instead of the internal memory? Also is there a size limit for the number of text messages, i starting getting warning messages for those as well.

View 1 Replies View Related

Android :: All Devices Have An Internal SD Card ?

Nov 7, 2010

On the first run of my app, I am downloading a pretty big file to /sdcard/

I already know this can fail if the internal SD card of the user's phone is full or not mounted (e.g. if the phone is connected to a PC as a mass storage device, or has not been properly disconnected from a PC).

But are there any android devices with NO INTERNAL SD CARD ? (on which my app would definitely be unusable)

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved