Just add the code to the same places as all the other code in
packages/apps/Phone, add it to the manifest there, and build.  This is
absolutely no different than writing apps in the SDK (you should know how to
do this), except you are using the platform build system to build the app.

On Fri, Apr 24, 2009 at 12:01 AM, Kartic <karti...@gmail.com> wrote:

>
> Hi All,
>
> Can any body help me understand, how do I go about adding a new
> activity to default phone application.
> I need to add a menu to incall connected screen , on press of that
> menu i need to start a new activity which I want to add to system
> image.
>
> Adding menus is ok, i can add it along with currently available menu
> items and when i recompile the code this menu would be visible along
> with other menus.
>
> My concern/query is that if I add a new class file having my activity
> then how would this get compiled and added to system image?
>
> -Kartic
>
> On Apr 22, 8:38 pm, Jey Michael <jey.mich...@gmail.com> wrote:
> > Given that you already have the keyword 'dialtacts', you can search
> usinghttp://
> www.google.com/codesearch?hl=en&lr=&q=dialtacts+package%3Aandr...
> >
> > The packages/apps/Phone.git shows up first, with the path
> > src/com/android/phone/*Dialtacts*Activity.java<
> http://www.google.com/codesearch/p?hl=en#r4Q5vzOJY9U/src/com/android/...>
> >
> > and the resources etc, are in that git project.
> >
> > Someone needs to make the above search tool more visible.  It seems not
> many
> > people are aware of this.
> > -Jey
> >
> >
> >
> > On Wed, Apr 22, 2009 at 5:07 AM, Kartic <karti...@gmail.com> wrote:
> >
> > > Hi,
> >
> > > I am planning to modify existing dialer application in Android source
> > > code. I need to modify the screen which comes after call is connected.
> > > Can i modify this screen/view to add few buttons and menu options to
> > > it?
> > > Where can I find code related to this screen? (in android's source
> > > code)
> >
> > > thanks
> > > kartic- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to