com.android.phone.InCallScreen activity

by Ruben » Fri, 03 Apr 2009 00:16:22 GMT


Sponsored Links
 Is it possible to intercept the intent of calling and answering and by
doing that replacing the calling/answering screen. I see from the
logcat that right now com.android.phone.InCallScreen activity is been
started. Anyway to overwrite that to have my own activity to show up?

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



com.android.phone.InCallScreen activity

by Ruben » Fri, 03 Apr 2009 00:16:35 GMT


 Is it possible to intercept the intent of calling and answering and by
doing that replacing the calling/answering screen. I see from the
logcat that right now com.android.phone.InCallScreen activity is been
started. Anyway to overwrite that to have my own activity to show up?

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


Sponsored Links


Other Threads

1. Alarm Manager - Cancelling all alarms created by application

Hi All,

In my application I create different alarms as reminders, I want to
give a feature to cancel all active alarms. Is there a way to do this
with one call?

I create alarms in the following way:

PendingIntent sender = PendingIntent.getBroadcast(
                                        getApplicationContext(), 
uniqueCodeForAlarm, intent,
PendingIntent.FLAG_ONE_SHOT);

uniqueCodeForAlarm - is a unique code I give as reqesterCode so that I
can create a separate alarm each time. If I did not use this, Alarm
Manager cancels previous alarm. Other option I could use is to make my
intent unique, but I think effect is same for the issue that I have.

The only way I know to cancel an alarm is to use the same Intent again
in a call to AlarmManager.cancel(PendingIntent) method. Because I made
my PendingIntent unique (by requesterCode or by making intent unique),
I a forced to cancel each alarm.

The main issue I have is that I do not store the created alarm's
uniqueCodeForAlarm in database/store. I do not want to store the alarm
in database just because I want to cancel it. It will be uch easier to
query the AlarmManager to get all pending alarms created by my
application, or atleast filter the intent.

For example if I can create an Intent with only the Receiver class, it
should cancel all alarms that match the receiver.

Is there any way to cancel all alarms or retrieve all alarms created
by my application?

Regards,
Siju Mathew

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

2. WVGA800 and WVGA854 for games

I have developed a game for android that really needs to have a
480x320 resolution.  I have considered trying to alter the game to
work with different resolutions, but this would be very difficult if
even feasible. I know of at least one phone from Motorola that will
have a WVGA screen. I loaded my game in the new 1.6 emulator with a
WVGA screen and the game was scaled up to fill the screen with a black
bar of unfilled space on the right.

I'm happy to see that the application scaled up, but I wish it didn't
have a black bar on the side. I am also anxious to see how the scaling
performs. My game needs every bit of CPU it can get.

I assume others of you have apps that rely on 320x480 screens. They
might rely on them for a reason, like mine, or it may be that you
haven't gotten around to designing for multiple screens yet.  At any
rate, how do you plan to deal with other screen sizes? (There are QVGA
phones coming soon too.)  I'm trying to decide the best way forward.

Thanks,
Warren
--~--~---------~--~----~------------~-------~--~----~

3. How to do some init operation immediately after install

4. How can I can a transparent

5. why getRotationMatrix undefined for the type SensorManager???

6. Fedora Eclipse doesn't let me install Android's ADT plugin

7. Getting the key from a ListPreference