Take a long time to make call

by Zhe » Fri, 04 Sep 2009 07:41:25 GMT


Sponsored Links
 Hi
    I am using GV by Evan Charlton(amazing app). But I found that it
is really slow to make a call when unchecking "route all the calls
through GV" and choose "dial out" instead of "call back". I check the
source code and found that he use following code to make a call.

        Intent intent = new Intent(Intent.ACTION_CALL);
        intent.setData(Uri.parse("tel:"+yourphoneNumber));
        activity.startActivity(intent);

The problem is, when you use above and the phone number is really long
( google voice number, 2, actually phone number), it took a long time
to make the call (40 seconds until it connects).
Funny thing is that, if I choose "route all the calls through GV",
then it connects reall fast (10 seconds).

Can any one tell me is there another way to make the call efficiently?
Thank you.

--~--~---------~--~----~------------~-------~--~----~



Take a long time to make call

by Roman ( T-Mobile USA) » Fri, 04 Sep 2009 13:29:35 GMT


 I have to check out this app :-) ...

If you have the source code try to find out how long it actual takes
from switching from ringing to connected. I could imagine that the
phone does the processing in time but the backend processing might be
pretty slow for the case you described.

Any ideas how many messages are send between the phone and the backend
to support GV?

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. glTexImage2D very slow on phones like Nexus one

Hi,
We are developing 2D games. And we found our game works fine except
the snapdragon chips, like Nexus one and Liquid A1. It even runs fine
on G1.

We use GLSurfaceView, and we use glTexImage2D and glTexIsubmage2D to
put on the text and then draw.
The glTexImage2D class take more than 100ms on Nexus one (1024x512 pix
tex). It's very strange, G1 is even faster than this.
If anyone know something about this?

---------------------Code
snip-----------------------------------------------
                                        gl.glClear(GL10.GL_COLOR_BUFFER_BIT | 
GL10.GL_DEPTH_BUFFER_BIT);

                                        gl.glTexSubImage2D(GL10.GL_TEXTURE_2D, 
0, 0, 0, m_width,
m_height, GL10.GL_RGB, GL_UNSIGNED_SHORT_5_6_5, m_byteCanvas);

                                        ((GL11Ext)gl).glDrawTexiOES(0, 0, 0, 
m_width, m_height);

-- 

2. Cancel Alarms / Filtering

Code below creates an Alarm, so far everything is working fine.
But i am a bit lost in the Documentaion how to cancel an Alarm.
I need to cancel only special Alarm(s) depending on
Intent#putExtra(IntentConstants.SELECTED_PRIMARY_KEY,_selectedID);

How can i archive this ?

        public static void createRetryAlarm(final int _selectedID, final
Context _context)
        {
                if (Logging.isLoggingEnabled())
                {
                        Log.d(LOG_TAG, "Creating retry alarm for selected with 
id :" +
_selectedID);
                }
                final long now = System.currentTimeMillis();
                //
                final Intent intent = new Intent(_context,
AlarmBroadcastReciever.class);
                intent.putExtra(IntentConstants.SELECTED_PRIMARY_KEY, 
_selectedID);
                final int requestID = alarmCounter.incrementAndGet();
                final PendingIntent pendingIntent =
PendingIntent.getBroadcast(_context, requestID, intent,
                                PendingIntent.FLAG_ONE_SHOT);
                final AlarmManager alarmManager = (AlarmManager)
_context.getSystemService(Context.ALARM_SERVICE);
                alarmManager.set(AlarmManager.RTC_WAKEUP, now +
(AlarmManager.INTERVAL_HALF_HOUR), pendingIntent);
        }


Many Thanks,
Jens



-- 

3. How to overwrite the default background of List Item in A ListView when the List Item has focus

4. need a callback on clicking a link obtained after using linkify

5. Related Task

6. Google IO Tickets?

7. Cell tower localization broken in Milestone 2.1 update??