How to add layout definitions to the built-in applications

9 views
Skip to first unread message

Mauricio Porto

unread,
Apr 22, 2009, 1:19:05 PM4/22/09
to android-...@googlegroups.com
Hi,

I am trying to extend the Camera application by adding a new functionality.

My IDE is Eclipse and I do not know how to include layout definitions (in XML) to an existing application.

When writing a new application (SDK based) it is easy since the "res" directory is under the project directory and Eclipse updates the "R.java" file as soon as I save the XML layout file. However, when extending some built-in application, I could not grasp the way.

Can some one help me? Is there some documentation, steps-to-go, examples or anything else regarding this?

Regards,

Mauricio Porto

Dianne Hackborn

unread,
Apr 22, 2009, 2:09:40 PM4/22/09
to android-...@googlegroups.com
Just put the layout file in, and build the app with the build system.  A quick way to do this is: "mmm packages/apps/Camera"
--
Dianne Hackborn
Android framework engineer
hac...@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.

Reply all
Reply to author
Forward
0 new messages